All pastes #128794 Raw Edit

Cody Brocious

public text v1 · immutable
#128794 ·published 2006-08-13 05:38 UTC
rendered paste body
.text:006FB47D ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
.text:006FB47D
.text:006FB47D ; Attributes: library function static bp-based frame fpd=1F8h
.text:006FB47D
.text:006FB47D __output_l      proc near               ; CODE XREF: _sprintf+53p
.text:006FB47D                                         ; __vsprintf_l+54p ...
.text:006FB47D
.text:006FB47D var_278         = dword ptr -278h
.text:006FB47D var_274         = dword ptr -274h
.text:006FB47D var_270         = dword ptr -270h
.text:006FB47D var_26C         = dword ptr -26Ch
.text:006FB47D var_268         = dword ptr -268h
.text:006FB47D var_260         = dword ptr -260h
.text:006FB47D var_25C         = dword ptr -25Ch
.text:006FB47D var_254         = dword ptr -254h
.text:006FB47D var_250         = byte ptr -250h
.text:006FB47D var_24C         = dword ptr -24Ch
.text:006FB47D var_248         = dword ptr -248h
.text:006FB47D var_244         = dword ptr -244h
.text:006FB47D var_240         = dword ptr -240h
.text:006FB47D var_23C         = dword ptr -23Ch
.text:006FB47D var_238         = dword ptr -238h
.text:006FB47D var_234         = dword ptr -234h
.text:006FB47D var_230         = dword ptr -230h
.text:006FB47D var_22C         = dword ptr -22Ch
.text:006FB47D var_228         = dword ptr -228h
.text:006FB47D var_224         = dword ptr -224h
.text:006FB47D var_220         = dword ptr -220h
.text:006FB47D var_21C         = dword ptr -21Ch
.text:006FB47D var_218         = dword ptr -218h
.text:006FB47D var_211         = byte ptr -211h
.text:006FB47D var_210         = dword ptr -210h
.text:006FB47D var_20C         = dword ptr -20Ch
.text:006FB47D var_D           = dword ptr -0Dh
.text:006FB47D var_4           = dword ptr -4
.text:006FB47D arg_0           = dword ptr  8
.text:006FB47D arg_4           = dword ptr  0Ch
.text:006FB47D arg_8           = dword ptr  10h
.text:006FB47D arg_C           = dword ptr  14h
.text:006FB47D
.text:006FB47D                 push    ebp
.text:006FB47E                 lea     ebp, [esp-1F8h]
.text:006FB485                 sub     esp, 278h
.text:006FB48B                 mov     eax, dword_898D08
.text:006FB490                 xor     eax, ebp
.text:006FB492                 mov     [ebp+1F8h+var_4], eax
.text:006FB498                 mov     eax, [ebp+1F8h+arg_0]
.text:006FB49E                 push    ebx
.text:006FB49F                 mov     ebx, [ebp+1F8h+arg_4]
.text:006FB4A5                 push    esi
.text:006FB4A6                 xor     esi, esi
.text:006FB4A8                 push    edi
.text:006FB4A9                 mov     edi, [ebp+1F8h+arg_C]
.text:006FB4AF                 push    [ebp+1F8h+arg_8]
.text:006FB4B5                 lea     ecx, [ebp+1F8h+var_25C]
.text:006FB4B8                 mov     [ebp+1F8h+var_228], eax
.text:006FB4BB                 mov     [ebp+1F8h+var_224], edi
.text:006FB4BE                 mov     [ebp+1F8h+var_244], esi
.text:006FB4C1                 mov     [ebp+1F8h+var_210], esi
.text:006FB4C4                 mov     [ebp+1F8h+var_238], esi
.text:006FB4C7                 mov     [ebp+1F8h+var_218], esi
.text:006FB4CA                 mov     [ebp+1F8h+var_234], esi
.text:006FB4CD                 mov     [ebp+1F8h+var_248], esi
.text:006FB4D0                 mov     [ebp+1F8h+var_23C], esi
.text:006FB4D3                 call    ??0_LocaleUpdate@@QAE@PAUlocaleinfo_struct@@@Z ; _LocaleUpdate::_LocaleUpdate(localeinfo_struct *)
.text:006FB4D8                 cmp     [ebp+1F8h+var_228], esi
.text:006FB4DB                 jnz     short loc_6FB50A
.text:006FB4DD
.text:006FB4DD loc_6FB4DD:                             ; CODE XREF: __output_l+E5j
.text:006FB4DD                                         ; __output_l+138j ...
.text:006FB4DD                 call    __errno
.text:006FB4E2                 push    esi
.text:006FB4E3                 push    esi
.text:006FB4E4                 push    esi
.text:006FB4E5                 push    esi
.text:006FB4E6                 mov     dword ptr [eax], 16h
.text:006FB4EC                 push    esi
.text:006FB4ED
.text:006FB4ED loc_6FB4ED:                             ; CODE XREF: __output_l+948j
.text:006FB4ED                 call    __invalid_parameter
.text:006FB4F2                 add     esp, 14h
.text:006FB4F5                 cmp     [ebp+1F8h+var_250], 0
.text:006FB4F9                 jz      short loc_6FB502
.text:006FB4FB                 mov     eax, [ebp+1F8h+var_254]
.text:006FB4FE                 and     dword ptr [eax+70h], 0FFFFFFFDh
.text:006FB502
.text:006FB502 loc_6FB502:                             ; CODE XREF: __output_l+7Cj
.text:006FB502                 or      eax, 0FFFFFFFFh
.text:006FB505                 jmp     loc_6FBDDA
.text:006FB50A ; ---------------------------------------------------------------------------
.text:006FB50A
.text:006FB50A loc_6FB50A:                             ; CODE XREF: __output_l+5Ej
.text:006FB50A                 mov     eax, [ebp+1F8h+var_228]
.text:006FB50D                 test    byte ptr [eax+0Ch], 40h
.text:006FB511                 jnz     loc_6FB5BB
.text:006FB517                 push    eax             ; FILE *
.text:006FB518                 call    __fileno
.text:006FB51D                 cmp     eax, 0FFFFFFFFh
.text:006FB520                 pop     ecx
.text:006FB521                 jz      short loc_6FB559
.text:006FB523                 push    [ebp+1F8h+var_228] ; FILE *
.text:006FB526                 call    __fileno
.text:006FB52B                 cmp     eax, 0FFFFFFFEh
.text:006FB52E                 pop     ecx
.text:006FB52F                 jz      short loc_6FB559
.text:006FB531                 push    [ebp+1F8h+var_228] ; FILE *
.text:006FB534                 call    __fileno
.text:006FB539                 push    [ebp+1F8h+var_228] ; FILE *
.text:006FB53C                 sar     eax, 5
.text:006FB53F                 lea     esi, dword_2BDBC20[eax*4]
.text:006FB546                 call    __fileno
.text:006FB54B                 and     eax, 1Fh
.text:006FB54E                 imul    eax, 28h
.text:006FB551                 add     eax, [esi]
.text:006FB553                 pop     ecx
.text:006FB554                 pop     ecx
.text:006FB555                 xor     esi, esi
.text:006FB557                 jmp     short loc_6FB55E
.text:006FB559 ; ---------------------------------------------------------------------------
.text:006FB559
.text:006FB559 loc_6FB559:                             ; CODE XREF: __output_l+A4j
.text:006FB559                                         ; __output_l+B2j
.text:006FB559                 mov     eax, offset unk_8998F0
.text:006FB55E
.text:006FB55E loc_6FB55E:                             ; CODE XREF: __output_l+DAj
.text:006FB55E                 test    byte ptr [eax+24h], 7Fh
.text:006FB562                 jnz     loc_6FB4DD
.text:006FB568                 push    [ebp+1F8h+var_228] ; FILE *
.text:006FB56B                 call    __fileno
.text:006FB570                 cmp     eax, 0FFFFFFFFh
.text:006FB573                 pop     ecx
.text:006FB574                 jz      short loc_6FB5AC
.text:006FB576                 push    [ebp+1F8h+var_228] ; FILE *
.text:006FB579                 call    __fileno
.text:006FB57E                 cmp     eax, 0FFFFFFFEh
.text:006FB581                 pop     ecx
.text:006FB582                 jz      short loc_6FB5AC
.text:006FB584                 push    [ebp+1F8h+var_228] ; FILE *
.text:006FB587                 call    __fileno
.text:006FB58C                 push    [ebp+1F8h+var_228] ; FILE *
.text:006FB58F                 sar     eax, 5
.text:006FB592                 lea     esi, dword_2BDBC20[eax*4]
.text:006FB599                 call    __fileno
.text:006FB59E                 and     eax, 1Fh
.text:006FB5A1                 imul    eax, 28h
.text:006FB5A4                 add     eax, [esi]
.text:006FB5A6                 pop     ecx
.text:006FB5A7                 pop     ecx
.text:006FB5A8                 xor     esi, esi
.text:006FB5AA                 jmp     short loc_6FB5B1
.text:006FB5AC ; ---------------------------------------------------------------------------
.text:006FB5AC
.text:006FB5AC loc_6FB5AC:                             ; CODE XREF: __output_l+F7j
.text:006FB5AC                                         ; __output_l+105j
.text:006FB5AC                 mov     eax, offset unk_8998F0
.text:006FB5B1
.text:006FB5B1 loc_6FB5B1:                             ; CODE XREF: __output_l+12Dj
.text:006FB5B1                 test    byte ptr [eax+24h], 80h
.text:006FB5B5                 jnz     loc_6FB4DD
.text:006FB5BB
.text:006FB5BB loc_6FB5BB:                             ; CODE XREF: __output_l+94j
.text:006FB5BB                 cmp     ebx, esi
.text:006FB5BD                 jz      loc_6FB4DD
.text:006FB5C3                 mov     dl, [ebx]
.text:006FB5C5                 xor     ecx, ecx
.text:006FB5C7                 test    dl, dl
.text:006FB5C9                 mov     [ebp+1F8h+var_22C], esi
.text:006FB5CC                 mov     [ebp+1F8h+var_220], esi
.text:006FB5CF                 mov     [ebp+1F8h+var_24C], esi
.text:006FB5D2                 mov     [ebp+1F8h+var_211], dl
.text:006FB5D5                 jz      loc_6FBDCA
.text:006FB5DB
.text:006FB5DB loc_6FB5DB:                             ; CODE XREF: __output_l+931j
.text:006FB5DB                 inc     ebx
.text:006FB5DC                 cmp     [ebp+1F8h+var_22C], 0
.text:006FB5E0                 mov     [ebp+1F8h+var_240], ebx
.text:006FB5E3                 jl      loc_6FBDCA
.text:006FB5E9                 mov     al, dl
.text:006FB5EB                 sub     al, 20h
.text:006FB5ED                 cmp     al, 58h
.text:006FB5EF                 ja      short loc_6FB602
.text:006FB5F1                 movsx   eax, dl
.text:006FB5F4                 movzx   eax, byte ptr ds:(aFlsalloc+4)[eax]
.text:006FB5FB                 and     eax, 0Fh
.text:006FB5FE                 xor     esi, esi
.text:006FB600                 jmp     short loc_6FB606
.text:006FB602 ; ---------------------------------------------------------------------------
.text:006FB602
.text:006FB602 loc_6FB602:                             ; CODE XREF: __output_l+172j
.text:006FB602                 xor     esi, esi
.text:006FB604                 xor     eax, eax
.text:006FB606
.text:006FB606 loc_6FB606:                             ; CODE XREF: __output_l+183j
.text:006FB606                 movsx   eax, ds:byte_77D0E8[ecx+eax*8]
.text:006FB60E                 push    7
.text:006FB610                 sar     eax, 4
.text:006FB613                 pop     ecx
.text:006FB614                 cmp     eax, ecx
.text:006FB616                 mov     [ebp+1F8h+var_26C], eax
.text:006FB619                 ja      loc_6FBD9A
.text:006FB61F                 jmp     ds:off_6FBDF5[eax*4]
.text:006FB626
.text:006FB626 $LN130_0:                               ; DATA XREF: .text:006FBDF9o
.text:006FB626                 or      [ebp+1F8h+var_218], 0FFFFFFFFh
.text:006FB62A                 mov     [ebp+1F8h+var_270], esi
.text:006FB62D                 mov     [ebp+1F8h+var_248], esi
.text:006FB630                 mov     [ebp+1F8h+var_238], esi
.text:006FB633                 mov     [ebp+1F8h+var_234], esi
.text:006FB636                 mov     [ebp+1F8h+var_210], esi
.text:006FB639                 mov     [ebp+1F8h+var_23C], esi
.text:006FB63C                 jmp     loc_6FBD9A
.text:006FB641 ; ---------------------------------------------------------------------------
.text:006FB641
.text:006FB641 $LN129:                                 ; CODE XREF: __output_l+1A2j
.text:006FB641                                         ; DATA XREF: .text:006FBDFDo
.text:006FB641                 movsx   eax, dl
.text:006FB644                 sub     eax, 20h
.text:006FB647                 jz      short loc_6FB687
.text:006FB649                 sub     eax, 3
.text:006FB64C                 jz      short loc_6FB67B
.text:006FB64E                 sub     eax, 8
.text:006FB651                 jz      short loc_6FB672
.text:006FB653                 dec     eax
.text:006FB654                 dec     eax
.text:006FB655                 jz      short loc_6FB669
.text:006FB657                 sub     eax, 3
.text:006FB65A                 jnz     loc_6FBD9A
.text:006FB660                 or      [ebp+1F8h+var_210], 8
.text:006FB664                 jmp     loc_6FBD9A
.text:006FB669 ; ---------------------------------------------------------------------------
.text:006FB669
.text:006FB669 loc_6FB669:                             ; CODE XREF: __output_l+1D8j
.text:006FB669                 or      [ebp+1F8h+var_210], 4
.text:006FB66D                 jmp     loc_6FBD9A
.text:006FB672 ; ---------------------------------------------------------------------------
.text:006FB672
.text:006FB672 loc_6FB672:                             ; CODE XREF: __output_l+1D4j
.text:006FB672                 or      [ebp+1F8h+var_210], 1
.text:006FB676                 jmp     loc_6FBD9A
.text:006FB67B ; ---------------------------------------------------------------------------
.text:006FB67B
.text:006FB67B loc_6FB67B:                             ; CODE XREF: __output_l+1CFj
.text:006FB67B                 or      [ebp+1F8h+var_210], 80h
.text:006FB682                 jmp     loc_6FBD9A
.text:006FB687 ; ---------------------------------------------------------------------------
.text:006FB687
.text:006FB687 loc_6FB687:                             ; CODE XREF: __output_l+1CAj
.text:006FB687                 or      [ebp+1F8h+var_210], 2
.text:006FB68B                 jmp     loc_6FBD9A
.text:006FB690 ; ---------------------------------------------------------------------------
.text:006FB690
.text:006FB690 $LN121:                                 ; CODE XREF: __output_l+1A2j
.text:006FB690                                         ; DATA XREF: .text:006FBE01o
.text:006FB690                 cmp     dl, 2Ah
.text:006FB693                 jnz     short loc_6FB6B5
.text:006FB695                 add     edi, 4
.text:006FB698                 mov     [ebp+1F8h+var_224], edi
.text:006FB69B                 mov     edi, [edi-4]
.text:006FB69E                 cmp     edi, esi
.text:006FB6A0                 mov     [ebp+1F8h+var_238], edi
.text:006FB6A3                 jge     loc_6FBD9A
.text:006FB6A9                 or      [ebp+1F8h+var_210], 4
.text:006FB6AD                 neg     [ebp+1F8h+var_238]
.text:006FB6B0                 jmp     loc_6FBD9A
.text:006FB6B5 ; ---------------------------------------------------------------------------
.text:006FB6B5
.text:006FB6B5 loc_6FB6B5:                             ; CODE XREF: __output_l+216j
.text:006FB6B5                 mov     eax, [ebp+1F8h+var_238]
.text:006FB6B8                 imul    eax, 0Ah
.text:006FB6BB                 movsx   ecx, dl
.text:006FB6BE                 lea     eax, [eax+ecx-30h]
.text:006FB6C2                 mov     [ebp+1F8h+var_238], eax
.text:006FB6C5                 jmp     loc_6FBD9A
.text:006FB6CA ; ---------------------------------------------------------------------------
.text:006FB6CA
.text:006FB6CA $LN117:                                 ; CODE XREF: __output_l+1A2j
.text:006FB6CA                                         ; DATA XREF: .text:006FBE05o
.text:006FB6CA                 mov     [ebp+1F8h+var_218], esi
.text:006FB6CD                 jmp     loc_6FBD9A
.text:006FB6D2 ; ---------------------------------------------------------------------------
.text:006FB6D2
.text:006FB6D2 $LN116_0:                               ; CODE XREF: __output_l+1A2j
.text:006FB6D2                                         ; DATA XREF: .text:006FBE09o
.text:006FB6D2                 cmp     dl, 2Ah
.text:006FB6D5                 jnz     short loc_6FB6F4
.text:006FB6D7                 add     edi, 4
.text:006FB6DA                 mov     [ebp+1F8h+var_224], edi
.text:006FB6DD                 mov     edi, [edi-4]
.text:006FB6E0                 cmp     edi, esi
.text:006FB6E2                 mov     [ebp+1F8h+var_218], edi
.text:006FB6E5                 jge     loc_6FBD9A
.text:006FB6EB                 or      [ebp+1F8h+var_218], 0FFFFFFFFh
.text:006FB6EF                 jmp     loc_6FBD9A
.text:006FB6F4 ; ---------------------------------------------------------------------------
.text:006FB6F4
.text:006FB6F4 loc_6FB6F4:                             ; CODE XREF: __output_l+258j
.text:006FB6F4                 mov     eax, [ebp+1F8h+var_218]
.text:006FB6F7                 imul    eax, 0Ah
.text:006FB6FA                 movsx   ecx, dl
.text:006FB6FD                 lea     eax, [eax+ecx-30h]
.text:006FB701                 mov     [ebp+1F8h+var_218], eax
.text:006FB704                 jmp     loc_6FBD9A
.text:006FB709 ; ---------------------------------------------------------------------------
.text:006FB709
.text:006FB709 $LN112:                                 ; CODE XREF: __output_l+1A2j
.text:006FB709                                         ; DATA XREF: .text:006FBE0Do
.text:006FB709                 cmp     dl, 49h
.text:006FB70C                 jz      short loc_6FB754
.text:006FB70E                 cmp     dl, 68h
.text:006FB711                 jz      short loc_6FB74B
.text:006FB713                 cmp     dl, 6Ch
.text:006FB716                 jz      short loc_6FB72D
.text:006FB718                 cmp     dl, 77h
.text:006FB71B                 jnz     loc_6FBD9A
.text:006FB721                 or      [ebp+1F8h+var_210], 800h
.text:006FB728                 jmp     loc_6FBD9A
.text:006FB72D ; ---------------------------------------------------------------------------
.text:006FB72D
.text:006FB72D loc_6FB72D:                             ; CODE XREF: __output_l+299j
.text:006FB72D                 cmp     byte ptr [ebx], 6Ch
.text:006FB730                 jnz     short loc_6FB742
.text:006FB732                 inc     ebx
.text:006FB733                 or      [ebp+1F8h+var_210], 1000h
.text:006FB73A                 mov     [ebp+1F8h+var_240], ebx
.text:006FB73D                 jmp     loc_6FBD9A
.text:006FB742 ; ---------------------------------------------------------------------------
.text:006FB742
.text:006FB742 loc_6FB742:                             ; CODE XREF: __output_l+2B3j
.text:006FB742                 or      [ebp+1F8h+var_210], 10h
.text:006FB746                 jmp     loc_6FBD9A
.text:006FB74B ; ---------------------------------------------------------------------------
.text:006FB74B
.text:006FB74B loc_6FB74B:                             ; CODE XREF: __output_l+294j
.text:006FB74B                 or      [ebp+1F8h+var_210], 20h
.text:006FB74F                 jmp     loc_6FBD9A
.text:006FB754 ; ---------------------------------------------------------------------------
.text:006FB754
.text:006FB754 loc_6FB754:                             ; CODE XREF: __output_l+28Fj
.text:006FB754                 mov     al, [ebx]
.text:006FB756                 cmp     al, 36h
.text:006FB758                 jnz     short loc_6FB771
.text:006FB75A                 cmp     byte ptr [ebx+1], 34h
.text:006FB75E                 jnz     short loc_6FB771
.text:006FB760                 inc     ebx
.text:006FB761                 inc     ebx
.text:006FB762                 or      [ebp+1F8h+var_210], 8000h
.text:006FB769                 mov     [ebp+1F8h+var_240], ebx
.text:006FB76C                 jmp     loc_6FBD9A
.text:006FB771 ; ---------------------------------------------------------------------------
.text:006FB771
.text:006FB771 loc_6FB771:                             ; CODE XREF: __output_l+2DBj
.text:006FB771                                         ; __output_l+2E1j
.text:006FB771                 cmp     al, 33h
.text:006FB773                 jnz     short loc_6FB78C
.text:006FB775                 cmp     byte ptr [ebx+1], 32h
.text:006FB779                 jnz     short loc_6FB78C
.text:006FB77B                 inc     ebx
.text:006FB77C                 inc     ebx
.text:006FB77D                 and     [ebp+1F8h+var_210], 0FFFF7FFFh
.text:006FB784                 mov     [ebp+1F8h+var_240], ebx
.text:006FB787                 jmp     loc_6FBD9A
.text:006FB78C ; ---------------------------------------------------------------------------
.text:006FB78C
.text:006FB78C loc_6FB78C:                             ; CODE XREF: __output_l+2F6j
.text:006FB78C                                         ; __output_l+2FCj
.text:006FB78C                 cmp     al, 64h
.text:006FB78E                 jz      loc_6FBD9A
.text:006FB794                 cmp     al, 69h
.text:006FB796                 jz      loc_6FBD9A
.text:006FB79C                 cmp     al, 6Fh
.text:006FB79E                 jz      loc_6FBD9A
.text:006FB7A4                 cmp     al, 75h
.text:006FB7A6                 jz      loc_6FBD9A
.text:006FB7AC                 cmp     al, 78h
.text:006FB7AE                 jz      loc_6FBD9A
.text:006FB7B4                 cmp     al, 58h
.text:006FB7B6                 jz      loc_6FBD9A
.text:006FB7BC                 mov     [ebp+1F8h+var_26C], esi
.text:006FB7BF
.text:006FB7BF $NORMAL_STATE$25379:                    ; CODE XREF: __output_l+1A2j
.text:006FB7BF                                         ; DATA XREF: .text:off_6FBDF5o
.text:006FB7BF                 lea     eax, [ebp+1F8h+var_25C]
.text:006FB7C2                 push    eax
.text:006FB7C3                 movzx   eax, dl
.text:006FB7C6                 push    eax
.text:006FB7C7                 mov     [ebp+1F8h+var_23C], esi
.text:006FB7CA                 call    __isleadbyte_l
.text:006FB7CF                 pop     ecx
.text:006FB7D0                 test    eax, eax
.text:006FB7D2                 mov     al, [ebp+1F8h+var_211]
.text:006FB7D5                 pop     ecx
.text:006FB7D6                 jz      short loc_6FB7F1
.text:006FB7D8                 mov     ecx, [ebp+1F8h+var_228]
.text:006FB7DB                 lea     esi, [ebp+1F8h+var_22C]
.text:006FB7DE                 call    _write_char
.text:006FB7E3                 mov     al, [ebx]
.text:006FB7E5                 inc     ebx
.text:006FB7E6                 test    al, al
.text:006FB7E8                 mov     [ebp+1F8h+var_240], ebx
.text:006FB7EB                 jz      loc_6FBDB3
.text:006FB7F1
.text:006FB7F1 loc_6FB7F1:                             ; CODE XREF: __output_l+359j
.text:006FB7F1                 mov     ecx, [ebp+1F8h+var_228]
.text:006FB7F4                 lea     esi, [ebp+1F8h+var_22C]
.text:006FB7F7                 call    _write_char
.text:006FB7FC                 jmp     loc_6FBD9A
.text:006FB801 ; ---------------------------------------------------------------------------
.text:006FB801
.text:006FB801 $LN96_0:                                ; CODE XREF: __output_l+1A2j
.text:006FB801                                         ; DATA XREF: .text:006FBE11o
.text:006FB801                 movsx   eax, dl
.text:006FB804                 cmp     eax, 64h
.text:006FB807                 jg      loc_6FB97F
.text:006FB80D                 jz      loc_6FB9FE
.text:006FB813                 cmp     eax, 53h
.text:006FB816                 jg      loc_6FB8C7
.text:006FB81C                 jz      short loc_6FB878
.text:006FB81E                 sub     eax, 41h
.text:006FB821                 jz      short loc_6FB833
.text:006FB823                 dec     eax
.text:006FB824                 dec     eax
.text:006FB825                 jz      short loc_6FB867
.text:006FB827                 dec     eax
.text:006FB828                 dec     eax
.text:006FB829                 jz      short loc_6FB833
.text:006FB82B                 dec     eax
.text:006FB82C                 dec     eax
.text:006FB82D                 jnz     loc_6FBC82
.text:006FB833
.text:006FB833 loc_6FB833:                             ; CODE XREF: __output_l+3A4j
.text:006FB833                                         ; __output_l+3ACj
.text:006FB833                 add     dl, 20h
.text:006FB836                 mov     [ebp+1F8h+var_270], 1
.text:006FB83D                 mov     [ebp+1F8h+var_211], dl
.text:006FB840
.text:006FB840 loc_6FB840:                             ; CODE XREF: __output_l+459j
.text:006FB840                                         ; __output_l+51Dj
.text:006FB840                 or      [ebp+1F8h+var_210], 40h
.text:006FB844                 cmp     [ebp+1F8h+var_218], esi
.text:006FB847                 lea     ebx, [ebp+1F8h+var_20C]
.text:006FB84A                 mov     eax, 200h
.text:006FB84F                 mov     [ebp+1F8h+var_21C], ebx
.text:006FB852                 mov     [ebp+1F8h+var_260], eax
.text:006FB855                 jge     loc_6FBA22
.text:006FB85B                 mov     [ebp+1F8h+var_218], 6
.text:006FB862                 jmp     loc_6FBA70
.text:006FB867 ; ---------------------------------------------------------------------------
.text:006FB867
.text:006FB867 loc_6FB867:                             ; CODE XREF: __output_l+3A8j
.text:006FB867                 test    word ptr [ebp+1F8h+var_210], 830h
.text:006FB86D                 jnz     short loc_6FB8E4
.text:006FB86F                 or      [ebp+1F8h+var_210], 800h
.text:006FB876                 jmp     short loc_6FB8E4
.text:006FB878 ; ---------------------------------------------------------------------------
.text:006FB878
.text:006FB878 loc_6FB878:                             ; CODE XREF: __output_l+39Fj
.text:006FB878                 test    word ptr [ebp+1F8h+var_210], 830h
.text:006FB87E                 jnz     short loc_6FB887
.text:006FB880                 or      [ebp+1F8h+var_210], 800h
.text:006FB887
.text:006FB887 loc_6FB887:                             ; CODE XREF: __output_l+401j
.text:006FB887                                         ; __output_l+694j
.text:006FB887                 mov     ecx, [ebp+1F8h+var_218]
.text:006FB88A                 cmp     ecx, 0FFFFFFFFh
.text:006FB88D                 jnz     short loc_6FB894
.text:006FB88F                 mov     ecx, 7FFFFFFFh
.text:006FB894
.text:006FB894 loc_6FB894:                             ; CODE XREF: __output_l+410j
.text:006FB894                 add     edi, 4
.text:006FB897                 test    word ptr [ebp+1F8h+var_210], 810h
.text:006FB89D                 mov     [ebp+1F8h+var_224], edi
.text:006FB8A0                 mov     edi, [edi-4]
.text:006FB8A3                 mov     [ebp+1F8h+var_21C], edi
.text:006FB8A6                 jz      loc_6FBC60
.text:006FB8AC                 cmp     edi, esi
.text:006FB8AE                 jnz     short loc_6FB8B8
.text:006FB8B0                 mov     eax, off_898E34
.text:006FB8B5                 mov     [ebp+1F8h+var_21C], eax
.text:006FB8B8
.text:006FB8B8 loc_6FB8B8:                             ; CODE XREF: __output_l+431j
.text:006FB8B8                 mov     eax, [ebp+1F8h+var_21C]
.text:006FB8BB                 mov     [ebp+1F8h+var_23C], 1
.text:006FB8C2                 jmp     loc_6FBC55
.text:006FB8C7 ; ---------------------------------------------------------------------------
.text:006FB8C7
.text:006FB8C7 loc_6FB8C7:                             ; CODE XREF: __output_l+399j
.text:006FB8C7                 sub     eax, 58h
.text:006FB8CA                 jz      loc_6FBB09
.text:006FB8D0                 dec     eax
.text:006FB8D1                 dec     eax
.text:006FB8D2                 jz      short loc_6FB931
.text:006FB8D4                 sub     eax, ecx
.text:006FB8D6                 jz      loc_6FB840
.text:006FB8DC                 dec     eax
.text:006FB8DD                 dec     eax
.text:006FB8DE                 jnz     loc_6FBC82
.text:006FB8E4
.text:006FB8E4 loc_6FB8E4:                             ; CODE XREF: __output_l+3F0j
.text:006FB8E4                                         ; __output_l+3F9j
.text:006FB8E4                 add     edi, 4
.text:006FB8E7                 test    word ptr [ebp+1F8h+var_210], 810h
.text:006FB8ED                 mov     [ebp+1F8h+var_224], edi
.text:006FB8F0                 jz      short loc_6FB919
.text:006FB8F2                 movzx   eax, word ptr [edi-4]
.text:006FB8F6                 push    eax
.text:006FB8F7                 push    200h
.text:006FB8FC                 lea     eax, [ebp+1F8h+var_20C]
.text:006FB8FF                 push    eax
.text:006FB900                 lea     eax, [ebp+1F8h+var_220]
.text:006FB903                 push    eax
.text:006FB904                 call    _wctomb_s
.text:006FB909                 add     esp, 10h
.text:006FB90C                 test    eax, eax
.text:006FB90E                 jz      short loc_6FB926
.text:006FB910                 mov     [ebp+1F8h+var_248], 1
.text:006FB917                 jmp     short loc_6FB926
.text:006FB919 ; ---------------------------------------------------------------------------
.text:006FB919
.text:006FB919 loc_6FB919:                             ; CODE XREF: __output_l+473j
.text:006FB919                 mov     al, [edi-4]
.text:006FB91C                 mov     byte ptr [ebp+1F8h+var_20C], al
.text:006FB91F                 mov     [ebp+1F8h+var_220], 1
.text:006FB926
.text:006FB926 loc_6FB926:                             ; CODE XREF: __output_l+491j
.text:006FB926                                         ; __output_l+49Aj
.text:006FB926                 lea     eax, [ebp+1F8h+var_20C]
.text:006FB929                 mov     [ebp+1F8h+var_21C], eax
.text:006FB92C                 jmp     loc_6FBC82
.text:006FB931 ; ---------------------------------------------------------------------------
.text:006FB931
.text:006FB931 loc_6FB931:                             ; CODE XREF: __output_l+455j
.text:006FB931                 mov     eax, [edi]
.text:006FB933                 add     edi, 4
.text:006FB936                 cmp     eax, esi
.text:006FB938                 mov     [ebp+1F8h+var_224], edi
.text:006FB93B                 jz      short loc_6FB96B
.text:006FB93D                 mov     ecx, [eax+4]
.text:006FB940                 cmp     ecx, esi
.text:006FB942                 jz      short loc_6FB96B
.text:006FB944                 test    word ptr [ebp+1F8h+var_210], 800h
.text:006FB94A                 movsx   eax, word ptr [eax]
.text:006FB94D                 mov     [ebp+1F8h+var_21C], ecx
.text:006FB950                 jz      short loc_6FB963
.text:006FB952                 cdq
.text:006FB953                 sub     eax, edx
.text:006FB955                 sar     eax, 1
.text:006FB957                 mov     [ebp+1F8h+var_23C], 1
.text:006FB95E                 jmp     loc_6FBC7F
.text:006FB963 ; ---------------------------------------------------------------------------
.text:006FB963
.text:006FB963 loc_6FB963:                             ; CODE XREF: __output_l+4D3j
.text:006FB963                 mov     [ebp+1F8h+var_23C], esi
.text:006FB966                 jmp     loc_6FBC7F
.text:006FB96B ; ---------------------------------------------------------------------------
.text:006FB96B
.text:006FB96B loc_6FB96B:                             ; CODE XREF: __output_l+4BEj
.text:006FB96B                                         ; __output_l+4C5j
.text:006FB96B                 mov     eax, off_898E30
.text:006FB970                 mov     [ebp+1F8h+var_21C], eax
.text:006FB973                 push    eax             ; char *
.text:006FB974
.text:006FB974 loc_6FB974:                             ; CODE XREF: __output_l+680j
.text:006FB974                 call    _strlen
.text:006FB979                 pop     ecx
.text:006FB97A                 jmp     loc_6FBC7F
.text:006FB97F ; ---------------------------------------------------------------------------
.text:006FB97F
.text:006FB97F loc_6FB97F:                             ; CODE XREF: __output_l+38Aj
.text:006FB97F                 cmp     eax, 70h
.text:006FB982                 jg      loc_6FBB0E
.text:006FB988                 jz      loc_6FBB02
.text:006FB98E                 cmp     eax, 65h
.text:006FB991                 jl      loc_6FBC82
.text:006FB997                 cmp     eax, 67h
.text:006FB99A                 jle     loc_6FB840
.text:006FB9A0                 cmp     eax, 69h
.text:006FB9A3                 jz      short loc_6FB9FE
.text:006FB9A5                 cmp     eax, 6Eh
.text:006FB9A8                 jz      short loc_6FB9C9
.text:006FB9AA                 cmp     eax, 6Fh
.text:006FB9AD                 jnz     loc_6FBC82
.text:006FB9B3                 test    byte ptr [ebp+1F8h+var_210], 80h
.text:006FB9B7                 mov     [ebp+1F8h+var_220], 8
.text:006FB9BE                 jz      short $COMMON_INT$25533
.text:006FB9C0                 or      [ebp+1F8h+var_210], 200h
.text:006FB9C7                 jmp     short $COMMON_INT$25533
.text:006FB9C9 ; ---------------------------------------------------------------------------
.text:006FB9C9
.text:006FB9C9 loc_6FB9C9:                             ; CODE XREF: __output_l+52Bj
.text:006FB9C9                 mov     esi, [edi]
.text:006FB9CB                 add     edi, 4
.text:006FB9CE                 mov     [ebp+1F8h+var_224], edi
.text:006FB9D1                 call    __get_printf_count_output
.text:006FB9D6                 test    eax, eax
.text:006FB9D8                 jz      loc_6FBDB3
.text:006FB9DE                 test    byte ptr [ebp+1F8h+var_210], 20h
.text:006FB9E2                 jz      short loc_6FB9ED
.text:006FB9E4                 mov     ax, word ptr [ebp+1F8h+var_22C]
.text:006FB9E8                 mov     [esi], ax
.text:006FB9EB                 jmp     short loc_6FB9F2
.text:006FB9ED ; ---------------------------------------------------------------------------
.text:006FB9ED
.text:006FB9ED loc_6FB9ED:                             ; CODE XREF: __output_l+565j
.text:006FB9ED                 mov     eax, [ebp+1F8h+var_22C]
.text:006FB9F0                 mov     [esi], eax
.text:006FB9F2
.text:006FB9F2 loc_6FB9F2:                             ; CODE XREF: __output_l+56Ej
.text:006FB9F2                 mov     [ebp+1F8h+var_248], 1
.text:006FB9F9                 jmp     loc_6FBD87
.text:006FB9FE ; ---------------------------------------------------------------------------
.text:006FB9FE
.text:006FB9FE loc_6FB9FE:                             ; CODE XREF: __output_l+390j
.text:006FB9FE                                         ; __output_l+526j
.text:006FB9FE                 or      [ebp+1F8h+var_210], 40h
.text:006FBA02
.text:006FBA02 loc_6FBA02:                             ; CODE XREF: __output_l+69Cj
.text:006FBA02                 mov     [ebp+1F8h+var_220], 0Ah
.text:006FBA09
.text:006FBA09 $COMMON_INT$25533:                      ; CODE XREF: __output_l+541j
.text:006FBA09                                         ; __output_l+54Aj ...
.text:006FBA09                 mov     ecx, [ebp+1F8h+var_210]
.text:006FBA0C                 test    cx, cx
.text:006FBA0F                 jns     loc_6FBB58
.text:006FBA15
.text:006FBA15 loc_6FBA15:                             ; CODE XREF: __output_l+6E0j
.text:006FBA15                 mov     eax, [edi]
.text:006FBA17                 mov     edx, [edi+4]
.text:006FBA1A                 add     edi, 8
.text:006FBA1D                 jmp     loc_6FBB8D
.text:006FBA22 ; ---------------------------------------------------------------------------
.text:006FBA22
.text:006FBA22 loc_6FBA22:                             ; CODE XREF: __output_l+3D8j
.text:006FBA22                 jnz     short loc_6FBA32
.text:006FBA24                 cmp     dl, 67h
.text:006FBA27                 jnz     short loc_6FBA70
.text:006FBA29                 mov     [ebp+1F8h+var_218], 1
.text:006FBA30                 jmp     short loc_6FBA70
.text:006FBA32 ; ---------------------------------------------------------------------------
.text:006FBA32
.text:006FBA32 loc_6FBA32:                             ; CODE XREF: __output_l:loc_6FBA22j
.text:006FBA32                 cmp     [ebp+1F8h+var_218], eax
.text:006FBA35                 jle     short loc_6FBA3A
.text:006FBA37                 mov     [ebp+1F8h+var_218], eax
.text:006FBA3A
.text:006FBA3A loc_6FBA3A:                             ; CODE XREF: __output_l+5B8j
.text:006FBA3A                 cmp     [ebp+1F8h+var_218], 0A3h
.text:006FBA41                 jle     short loc_6FBA70
.text:006FBA43                 mov     esi, [ebp+1F8h+var_218]
.text:006FBA46                 add     esi, 15Dh
.text:006FBA4C                 push    esi
.text:006FBA4D                 call    __malloc_crt
.text:006FBA52                 test    eax, eax
.text:006FBA54                 mov     dl, [ebp+1F8h+var_211]
.text:006FBA57                 pop     ecx
.text:006FBA58                 mov     [ebp+1F8h+var_24C], eax
.text:006FBA5B                 jz      short loc_6FBA67
.text:006FBA5D                 mov     [ebp+1F8h+var_21C], eax
.text:006FBA60                 mov     [ebp+1F8h+var_260], esi
.text:006FBA63                 mov     ebx, eax
.text:006FBA65                 jmp     short loc_6FBA6E
.text:006FBA67 ; ---------------------------------------------------------------------------
.text:006FBA67
.text:006FBA67 loc_6FBA67:                             ; CODE XREF: __output_l+5DEj
.text:006FBA67                 mov     [ebp+1F8h+var_218], 0A3h
.text:006FBA6E
.text:006FBA6E loc_6FBA6E:                             ; CODE XREF: __output_l+5E8j
.text:006FBA6E                 xor     esi, esi
.text:006FBA70
.text:006FBA70 loc_6FBA70:                             ; CODE XREF: __output_l+3E5j
.text:006FBA70                                         ; __output_l+5AAj ...
.text:006FBA70                 mov     eax, [edi]
.text:006FBA72                 add     edi, 8
.text:006FBA75                 mov     [ebp+1F8h+var_278], eax
.text:006FBA78                 mov     eax, [edi-4]
.text:006FBA7B                 mov     [ebp+1F8h+var_274], eax
.text:006FBA7E                 lea     eax, [ebp+1F8h+var_25C]
.text:006FBA81                 push    eax
.text:006FBA82                 push    [ebp+1F8h+var_270]
.text:006FBA85                 movsx   eax, dl
.text:006FBA88                 push    [ebp+1F8h+var_218]
.text:006FBA8B                 mov     [ebp+1F8h+var_224], edi
.text:006FBA8E                 push    eax
.text:006FBA8F                 push    [ebp+1F8h+var_260]
.text:006FBA92                 lea     eax, [ebp+1F8h+var_278]
.text:006FBA95                 push    ebx
.text:006FBA96                 push    eax
.text:006FBA97                 push    off_898DE8
.text:006FBA9D                 call    __decode_pointer
.text:006FBAA2                 pop     ecx
.text:006FBAA3                 call    eax
.text:006FBAA5                 mov     edi, [ebp+1F8h+var_210]
.text:006FBAA8                 add     esp, 1Ch
.text:006FBAAB                 and     edi, 80h
.text:006FBAB1                 jz      short loc_6FBACD
.text:006FBAB3                 cmp     [ebp+1F8h+var_218], esi
.text:006FBAB6                 jnz     short loc_6FBACD
.text:006FBAB8                 lea     eax, [ebp+1F8h+var_25C]
.text:006FBABB                 push    eax
.text:006FBABC                 push    ebx
.text:006FBABD                 push    off_898DF4
.text:006FBAC3                 call    __decode_pointer
.text:006FBAC8                 pop     ecx
.text:006FBAC9                 call    eax
.text:006FBACB                 pop     ecx
.text:006FBACC                 pop     ecx
.text:006FBACD
.text:006FBACD loc_6FBACD:                             ; CODE XREF: __output_l+634j
.text:006FBACD                                         ; __output_l+639j
.text:006FBACD                 cmp     [ebp+1F8h+var_211], 67h
.text:006FBAD1                 jnz     short loc_6FBAEC
.text:006FBAD3                 cmp     edi, esi
.text:006FBAD5                 jnz     short loc_6FBAEC
.text:006FBAD7                 lea     eax, [ebp+1F8h+var_25C]
.text:006FBADA                 push    eax
.text:006FBADB                 push    ebx
.text:006FBADC                 push    off_898DF0
.text:006FBAE2                 call    __decode_pointer
.text:006FBAE7                 pop     ecx
.text:006FBAE8                 call    eax
.text:006FBAEA                 pop     ecx
.text:006FBAEB                 pop     ecx
.text:006FBAEC
.text:006FBAEC loc_6FBAEC:                             ; CODE XREF: __output_l+654j
.text:006FBAEC                                         ; __output_l+658j
.text:006FBAEC                 cmp     byte ptr [ebx], 2Dh
.text:006FBAEF                 jnz     short loc_6FBAFC
.text:006FBAF1                 or      [ebp+1F8h+var_210], 100h
.text:006FBAF8                 inc     ebx
.text:006FBAF9                 mov     [ebp+1F8h+var_21C], ebx
.text:006FBAFC
.text:006FBAFC loc_6FBAFC:                             ; CODE XREF: __output_l+672j
.text:006FBAFC                 push    ebx
.text:006FBAFD                 jmp     loc_6FB974
.text:006FBB02 ; ---------------------------------------------------------------------------
.text:006FBB02
.text:006FBB02 loc_6FBB02:                             ; CODE XREF: __output_l+50Bj
.text:006FBB02                 mov     [ebp+1F8h+var_218], 8
.text:006FBB09
.text:006FBB09 loc_6FBB09:                             ; CODE XREF: __output_l+44Dj
.text:006FBB09                 mov     [ebp+1F8h+var_244], ecx
.text:006FBB0C                 jmp     short $COMMON_HEX$25540
.text:006FBB0E ; ---------------------------------------------------------------------------
.text:006FBB0E
.text:006FBB0E loc_6FBB0E:                             ; CODE XREF: __output_l+505j
.text:006FBB0E                 sub     eax, 73h
.text:006FBB11                 jz      loc_6FB887
.text:006FBB17                 dec     eax
.text:006FBB18                 dec     eax
.text:006FBB19                 jz      loc_6FBA02
.text:006FBB1F                 sub     eax, 3
.text:006FBB22                 jnz     loc_6FBC82
.text:006FBB28                 mov     [ebp+1F8h+var_244], 27h
.text:006FBB2F
.text:006FBB2F $COMMON_HEX$25540:                      ; CODE XREF: __output_l+68Fj
.text:006FBB2F                 test    byte ptr [ebp+1F8h+var_210], 80h
.text:006FBB33                 mov     [ebp+1F8h+var_220], 10h
.text:006FBB3A                 jz      $COMMON_INT$25533
.text:006FBB40                 mov     al, byte ptr [ebp+1F8h+var_244]
.text:006FBB43                 add     al, 51h
.text:006FBB45                 mov     byte ptr [ebp+1F8h+var_230], 30h
.text:006FBB49                 mov     byte ptr [ebp+1F8h+var_230+1], al
.text:006FBB4C                 mov     [ebp+1F8h+var_234], 2
.text:006FBB53                 jmp     $COMMON_INT$25533
.text:006FBB58 ; ---------------------------------------------------------------------------
.text:006FBB58
.text:006FBB58 loc_6FBB58:                             ; CODE XREF: __output_l+592j
.text:006FBB58                 test    cx, 1000h
.text:006FBB5D                 jnz     loc_6FBA15
.text:006FBB63                 add     edi, 4
.text:006FBB66                 test    cl, 20h
.text:006FBB69                 jz      short loc_6FBB80
.text:006FBB6B                 test    cl, 40h
.text:006FBB6E                 mov     [ebp+1F8h+var_224], edi
.text:006FBB71                 jz      short loc_6FBB79
.text:006FBB73                 movsx   eax, word ptr [edi-4]
.text:006FBB77                 jmp     short loc_6FBB7D
.text:006FBB79 ; ---------------------------------------------------------------------------
.text:006FBB79
.text:006FBB79 loc_6FBB79:                             ; CODE XREF: __output_l+6F4j
.text:006FBB79                 movzx   eax, word ptr [edi-4]
.text:006FBB7D
.text:006FBB7D loc_6FBB7D:                             ; CODE XREF: __output_l+6FAj
.text:006FBB7D                 cdq
.text:006FBB7E                 jmp     short loc_6FBB90
.text:006FBB80 ; ---------------------------------------------------------------------------
.text:006FBB80
.text:006FBB80 loc_6FBB80:                             ; CODE XREF: __output_l+6ECj
.text:006FBB80                 test    cl, 40h
.text:006FBB83                 mov     eax, [edi-4]
.text:006FBB86                 jz      short loc_6FBB8B
.text:006FBB88                 cdq
.text:006FBB89                 jmp     short loc_6FBB8D
.text:006FBB8B ; ---------------------------------------------------------------------------
.text:006FBB8B
.text:006FBB8B loc_6FBB8B:                             ; CODE XREF: __output_l+709j
.text:006FBB8B                 xor     edx, edx
.text:006FBB8D
.text:006FBB8D loc_6FBB8D:                             ; CODE XREF: __output_l+5A0j
.text:006FBB8D                                         ; __output_l+70Cj
.text:006FBB8D                 mov     [ebp+1F8h+var_224], edi
.text:006FBB90
.text:006FBB90 loc_6FBB90:                             ; CODE XREF: __output_l+701j
.text:006FBB90                 test    cl, 40h
.text:006FBB93                 jz      short loc_6FBBAD
.text:006FBB95                 cmp     edx, esi
.text:006FBB97                 jg      short loc_6FBBAD
.text:006FBB99                 jl      short loc_6FBB9F
.text:006FBB9B                 cmp     eax, esi
.text:006FBB9D                 jnb     short loc_6FBBAD
.text:006FBB9F
.text:006FBB9F loc_6FBB9F:                             ; CODE XREF: __output_l+71Cj
.text:006FBB9F                 neg     eax
.text:006FBBA1                 adc     edx, 0
.text:006FBBA4                 neg     edx
.text:006FBBA6                 or      [ebp+1F8h+var_210], 100h
.text:006FBBAD
.text:006FBBAD loc_6FBBAD:                             ; CODE XREF: __output_l+716j
.text:006FBBAD                                         ; __output_l+71Aj ...
.text:006FBBAD                 test    word ptr [ebp+1F8h+var_210], 9000h
.text:006FBBB3                 mov     ebx, edx
.text:006FBBB5                 mov     edi, eax
.text:006FBBB7                 jnz     short loc_6FBBBB
.text:006FBBB9                 xor     ebx, ebx
.text:006FBBBB
.text:006FBBBB loc_6FBBBB:                             ; CODE XREF: __output_l+73Aj
.text:006FBBBB                 cmp     [ebp+1F8h+var_218], 0
.text:006FBBBF                 jge     short loc_6FBBCA
.text:006FBBC1                 mov     [ebp+1F8h+var_218], 1
.text:006FBBC8                 jmp     short loc_6FBBDB
.text:006FBBCA ; ---------------------------------------------------------------------------
.text:006FBBCA
.text:006FBBCA loc_6FBBCA:                             ; CODE XREF: __output_l+742j
.text:006FBBCA                 and     [ebp+1F8h+var_210], 0FFFFFFF7h
.text:006FBBCE                 mov     eax, 200h
.text:006FBBD3                 cmp     [ebp+1F8h+var_218], eax
.text:006FBBD6                 jle     short loc_6FBBDB
.text:006FBBD8                 mov     [ebp+1F8h+var_218], eax
.text:006FBBDB
.text:006FBBDB loc_6FBBDB:                             ; CODE XREF: __output_l+74Bj
.text:006FBBDB                                         ; __output_l+759j
.text:006FBBDB                 mov     eax, edi
.text:006FBBDD                 or      eax, ebx
.text:006FBBDF                 jnz     short loc_6FBBE5
.text:006FBBE1                 and     [ebp+1F8h+var_234], 0
.text:006FBBE5
.text:006FBBE5 loc_6FBBE5:                             ; CODE XREF: __output_l+762j
.text:006FBBE5                 lea     esi, [ebp+1F8h+var_D]
.text:006FBBEB
.text:006FBBEB loc_6FBBEB:                             ; CODE XREF: __output_l+7A0j
.text:006FBBEB                 mov     eax, [ebp+1F8h+var_218]
.text:006FBBEE                 dec     [ebp+1F8h+var_218]
.text:006FBBF1                 test    eax, eax
.text:006FBBF3                 jg      short loc_6FBBFB
.text:006FBBF5                 mov     eax, edi
.text:006FBBF7                 or      eax, ebx
.text:006FBBF9                 jz      short loc_6FBC1F
.text:006FBBFB
.text:006FBBFB loc_6FBBFB:                             ; CODE XREF: __output_l+776j
.text:006FBBFB                 mov     eax, [ebp+1F8h+var_220]
.text:006FBBFE                 cdq
.text:006FBBFF                 push    edx
.text:006FBC00                 push    eax
.text:006FBC01                 push    ebx
.text:006FBC02                 push    edi
.text:006FBC03                 call    __aulldvrm
.text:006FBC08                 add     ecx, 30h
.text:006FBC0B                 cmp     ecx, 39h
.text:006FBC0E                 mov     [ebp+1F8h+var_260], ebx
.text:006FBC11                 mov     edi, eax
.text:006FBC13                 mov     ebx, edx
.text:006FBC15                 jle     short loc_6FBC1A
.text:006FBC17                 add     ecx, [ebp+1F8h+var_244]
.text:006FBC1A
.text:006FBC1A loc_6FBC1A:                             ; CODE XREF: __output_l+798j
.text:006FBC1A                 mov     [esi], cl
.text:006FBC1C                 dec     esi
.text:006FBC1D                 jmp     short loc_6FBBEB
.text:006FBC1F ; ---------------------------------------------------------------------------
.text:006FBC1F
.text:006FBC1F loc_6FBC1F:                             ; CODE XREF: __output_l+77Cj
.text:006FBC1F                 lea     eax, [ebp+1F8h+var_D]
.text:006FBC25                 sub     eax, esi
.text:006FBC27                 inc     esi
.text:006FBC28                 test    word ptr [ebp+1F8h+var_210], 200h
.text:006FBC2E                 mov     [ebp+1F8h+var_220], eax
.text:006FBC31                 mov     [ebp+1F8h+var_21C], esi
.text:006FBC34                 jz      short loc_6FBC82
.text:006FBC36                 test    eax, eax
.text:006FBC38                 jz      short loc_6FBC41
.text:006FBC3A                 mov     ecx, esi
.text:006FBC3C                 cmp     byte ptr [ecx], 30h
.text:006FBC3F                 jz      short loc_6FBC82
.text:006FBC41
.text:006FBC41 loc_6FBC41:                             ; CODE XREF: __output_l+7BBj
.text:006FBC41                 dec     [ebp+1F8h+var_21C]
.text:006FBC44                 mov     ecx, [ebp+1F8h+var_21C]
.text:006FBC47                 mov     byte ptr [ecx], 30h
.text:006FBC4A                 inc     eax
.text:006FBC4B                 jmp     short loc_6FBC7F
.text:006FBC4D ; ---------------------------------------------------------------------------
.text:006FBC4D
.text:006FBC4D loc_6FBC4D:                             ; CODE XREF: __output_l+7DAj
.text:006FBC4D                 dec     ecx
.text:006FBC4E                 cmp     [eax], si
.text:006FBC51                 jz      short loc_6FBC59
.text:006FBC53                 inc     eax
.text:006FBC54                 inc     eax
.text:006FBC55
.text:006FBC55 loc_6FBC55:                             ; CODE XREF: __output_l+445j
.text:006FBC55                 cmp     ecx, esi
.text:006FBC57                 jnz     short loc_6FBC4D
.text:006FBC59
.text:006FBC59 loc_6FBC59:                             ; CODE XREF: __output_l+7D4j
.text:006FBC59                 sub     eax, [ebp+1F8h+var_21C]
.text:006FBC5C                 sar     eax, 1
.text:006FBC5E                 jmp     short loc_6FBC7F
.text:006FBC60 ; ---------------------------------------------------------------------------
.text:006FBC60
.text:006FBC60 loc_6FBC60:                             ; CODE XREF: __output_l+429j
.text:006FBC60                 cmp     edi, esi
.text:006FBC62                 jnz     short loc_6FBC6C
.text:006FBC64                 mov     eax, off_898E30
.text:006FBC69                 mov     [ebp+1F8h+var_21C], eax
.text:006FBC6C
.text:006FBC6C loc_6FBC6C:                             ; CODE XREF: __output_l+7E5j
.text:006FBC6C                 mov     eax, [ebp+1F8h+var_21C]
.text:006FBC6F                 jmp     short loc_6FBC78
.text:006FBC71 ; ---------------------------------------------------------------------------
.text:006FBC71
.text:006FBC71 loc_6FBC71:                             ; CODE XREF: __output_l+7FDj
.text:006FBC71                 dec     ecx
.text:006FBC72                 cmp     byte ptr [eax], 0
.text:006FBC75                 jz      short loc_6FBC7C
.text:006FBC77                 inc     eax
.text:006FBC78
.text:006FBC78 loc_6FBC78:                             ; CODE XREF: __output_l+7F2j
.text:006FBC78                 cmp     ecx, esi
.text:006FBC7A                 jnz     short loc_6FBC71
.text:006FBC7C
.text:006FBC7C loc_6FBC7C:                             ; CODE XREF: __output_l+7F8j
.text:006FBC7C                 sub     eax, [ebp+1F8h+var_21C]
.text:006FBC7F
.text:006FBC7F loc_6FBC7F:                             ; CODE XREF: __output_l+4E1j
.text:006FBC7F                                         ; __output_l+4E9j ...
.text:006FBC7F                 mov     [ebp+1F8h+var_220], eax
.text:006FBC82
.text:006FBC82 loc_6FBC82:                             ; CODE XREF: __output_l+3B0j
.text:006FBC82                                         ; __output_l+461j ...
.text:006FBC82                 cmp     [ebp+1F8h+var_248], 0
.text:006FBC86                 jnz     loc_6FBD87
.text:006FBC8C                 mov     eax, [ebp+1F8h+var_210]
.text:006FBC8F                 test    al, 40h
.text:006FBC91                 jz      short loc_6FBCB8
.text:006FBC93                 test    ax, 100h
.text:006FBC97                 jz      short loc_6FBC9F
.text:006FBC99                 mov     byte ptr [ebp+1F8h+var_230], 2Dh
.text:006FBC9D                 jmp     short loc_6FBCB1
.text:006FBC9F ; ---------------------------------------------------------------------------
.text:006FBC9F
.text:006FBC9F loc_6FBC9F:                             ; CODE XREF: __output_l+81Aj
.text:006FBC9F                 test    al, 1
.text:006FBCA1                 jz      short loc_6FBCA9
.text:006FBCA3                 mov     byte ptr [ebp+1F8h+var_230], 2Bh
.text:006FBCA7                 jmp     short loc_6FBCB1
.text:006FBCA9 ; ---------------------------------------------------------------------------
.text:006FBCA9
.text:006FBCA9 loc_6FBCA9:                             ; CODE XREF: __output_l+824j
.text:006FBCA9                 test    al, 2
.text:006FBCAB                 jz      short loc_6FBCB8
.text:006FBCAD                 mov     byte ptr [ebp+1F8h+var_230], 20h
.text:006FBCB1
.text:006FBCB1 loc_6FBCB1:                             ; CODE XREF: __output_l+820j
.text:006FBCB1                                         ; __output_l+82Aj
.text:006FBCB1                 mov     [ebp+1F8h+var_234], 1
.text:006FBCB8
.text:006FBCB8 loc_6FBCB8:                             ; CODE XREF: __output_l+814j
.text:006FBCB8                                         ; __output_l+82Ej
.text:006FBCB8                 mov     ebx, [ebp+1F8h+var_238]
.text:006FBCBB                 sub     ebx, [ebp+1F8h+var_220]
.text:006FBCBE                 sub     ebx, [ebp+1F8h+var_234]
.text:006FBCC1                 test    byte ptr [ebp+1F8h+var_210], 0Ch
.text:006FBCC5                 jnz     short loc_6FBCD8
.text:006FBCC7                 push    [ebp+1F8h+var_228]
.text:006FBCCA                 lea     eax, [ebp+1F8h+var_22C]
.text:006FBCCD                 push    ebx
.text:006FBCCE                 push    20h
.text:006FBCD0                 call    _write_multi_char
.text:006FBCD5                 add     esp, 0Ch
.text:006FBCD8
.text:006FBCD8 loc_6FBCD8:                             ; CODE XREF: __output_l+848j
.text:006FBCD8                 push    [ebp+1F8h+var_234]
.text:006FBCDB                 mov     edi, [ebp+1F8h+var_228]
.text:006FBCDE                 lea     eax, [ebp+1F8h+var_22C]
.text:006FBCE1                 lea     ecx, [ebp+1F8h+var_230]
.text:006FBCE4                 call    _write_string
.text:006FBCE9                 test    byte ptr [ebp+1F8h+var_210], 8
.text:006FBCED                 pop     ecx
.text:006FBCEE                 jz      short loc_6FBD05
.text:006FBCF0                 test    byte ptr [ebp+1F8h+var_210], 4
.text:006FBCF4                 jnz     short loc_6FBD05
.text:006FBCF6                 push    edi
.text:006FBCF7                 push    ebx
.text:006FBCF8                 push    30h
.text:006FBCFA                 lea     eax, [ebp+1F8h+var_22C]
.text:006FBCFD                 call    _write_multi_char
.text:006FBD02                 add     esp, 0Ch
.text:006FBD05
.text:006FBD05 loc_6FBD05:                             ; CODE XREF: __output_l+871j
.text:006FBD05                                         ; __output_l+877j
.text:006FBD05                 cmp     [ebp+1F8h+var_23C], 0
.text:006FBD09                 mov     eax, [ebp+1F8h+var_220]
.text:006FBD0C                 jz      short loc_6FBD5F
.text:006FBD0E                 test    eax, eax
.text:006FBD10                 jle     short loc_6FBD5F
.text:006FBD12                 mov     esi, [ebp+1F8h+var_21C]
.text:006FBD15                 mov     [ebp+1F8h+var_260], eax
.text:006FBD18
.text:006FBD18 loc_6FBD18:                             ; CODE XREF: __output_l+8D8j
.text:006FBD18                 movzx   eax, word ptr [esi]
.text:006FBD1B                 dec     [ebp+1F8h+var_260]
.text:006FBD1E                 push    eax
.text:006FBD1F                 push    6
.text:006FBD21                 lea     eax, [ebp+1F8h+var_D+1]
.text:006FBD27                 push    eax
.text:006FBD28                 lea     eax, [ebp+1F8h+var_268]
.text:006FBD2B                 inc     esi
.text:006FBD2C                 push    eax
.text:006FBD2D                 inc     esi
.text:006FBD2E                 call    _wctomb_s
.text:006FBD33                 add     esp, 10h
.text:006FBD36                 test    eax, eax
.text:006FBD38                 jnz     short loc_6FBD59
.text:006FBD3A                 cmp     [ebp+1F8h+var_268], eax
.text:006FBD3D                 jz      short loc_6FBD59
.text:006FBD3F                 push    [ebp+1F8h+var_268]
.text:006FBD42                 lea     eax, [ebp+1F8h+var_22C]
.text:006FBD45                 lea     ecx, [ebp+1F8h+var_D+1]
.text:006FBD4B                 call    _write_string
.text:006FBD50                 cmp     [ebp+1F8h+var_260], 0
.text:006FBD54                 pop     ecx
.text:006FBD55                 jnz     short loc_6FBD18
.text:006FBD57                 jmp     short loc_6FBD6C
.text:006FBD59 ; ---------------------------------------------------------------------------
.text:006FBD59
.text:006FBD59 loc_6FBD59:                             ; CODE XREF: __output_l+8BBj
.text:006FBD59                                         ; __output_l+8C0j
.text:006FBD59                 or      [ebp+1F8h+var_22C], 0FFFFFFFFh
.text:006FBD5D                 jmp     short loc_6FBD6C
.text:006FBD5F ; ---------------------------------------------------------------------------
.text:006FBD5F
.text:006FBD5F loc_6FBD5F:                             ; CODE XREF: __output_l+88Fj
.text:006FBD5F                                         ; __output_l+893j
.text:006FBD5F                 mov     ecx, [ebp+1F8h+var_21C]
.text:006FBD62                 push    eax
.text:006FBD63                 lea     eax, [ebp+1F8h+var_22C]
.text:006FBD66                 call    _write_string
.text:006FBD6B                 pop     ecx
.text:006FBD6C
.text:006FBD6C loc_6FBD6C:                             ; CODE XREF: __output_l+8DAj
.text:006FBD6C                                         ; __output_l+8E0j
.text:006FBD6C                 cmp     [ebp+1F8h+var_22C], 0
.text:006FBD70                 jl      short loc_6FBD87
.text:006FBD72                 test    byte ptr [ebp+1F8h+var_210], 4
.text:006FBD76                 jz      short loc_6FBD87
.text:006FBD78                 push    edi
.text:006FBD79                 push    ebx
.text:006FBD7A                 push    20h
.text:006FBD7C                 lea     eax, [ebp+1F8h+var_22C]
.text:006FBD7F                 call    _write_multi_char
.text:006FBD84                 add     esp, 0Ch
.text:006FBD87
.text:006FBD87 loc_6FBD87:                             ; CODE XREF: __output_l+57Cj
.text:006FBD87                                         ; __output_l+809j ...
.text:006FBD87                 cmp     [ebp+1F8h+var_24C], 0
.text:006FBD8B                 jz      short loc_6FBD9A
.text:006FBD8D                 push    [ebp+1F8h+var_24C] ; void *
.text:006FBD90                 call    _free
.text:006FBD95                 and     [ebp+1F8h+var_24C], 0
.text:006FBD99                 pop     ecx
.text:006FBD9A
.text:006FBD9A loc_6FBD9A:                             ; CODE XREF: __output_l+19Cj
.text:006FBD9A                                         ; __output_l+1BFj ...
.text:006FBD9A                 mov     ebx, [ebp+1F8h+var_240]
.text:006FBD9D                 mov     al, [ebx]
.text:006FBD9F                 test    al, al
.text:006FBDA1                 mov     [ebp+1F8h+var_211], al
.text:006FBDA4                 jz      short loc_6FBDCA
.text:006FBDA6                 mov     ecx, [ebp+1F8h+var_26C]
.text:006FBDA9                 mov     edi, [ebp+1F8h+var_224]
.text:006FBDAC                 mov     dl, al
.text:006FBDAE                 jmp     loc_6FB5DB
.text:006FBDB3 ; ---------------------------------------------------------------------------
.text:006FBDB3
.text:006FBDB3 loc_6FBDB3:                             ; CODE XREF: __output_l+36Ej
.text:006FBDB3                                         ; __output_l+55Bj
.text:006FBDB3                 call    __errno
.text:006FBDB8                 mov     dword ptr [eax], 16h
.text:006FBDBE                 xor     eax, eax
.text:006FBDC0                 push    eax
.text:006FBDC1                 push    eax
.text:006FBDC2                 push    eax
.text:006FBDC3                 push    eax
.text:006FBDC4                 push    eax
.text:006FBDC5                 jmp     loc_6FB4ED
.text:006FBDCA ; ---------------------------------------------------------------------------
.text:006FBDCA
.text:006FBDCA loc_6FBDCA:                             ; CODE XREF: __output_l+158j
.text:006FBDCA                                         ; __output_l+166j ...
.text:006FBDCA                 cmp     [ebp+1F8h+var_250], 0
.text:006FBDCE                 jz      short loc_6FBDD7
.text:006FBDD0                 mov     eax, [ebp+1F8h+var_254]
.text:006FBDD3                 and     dword ptr [eax+70h], 0FFFFFFFDh
.text:006FBDD7
.text:006FBDD7 loc_6FBDD7:                             ; CODE XREF: __output_l+951j
.text:006FBDD7                 mov     eax, [ebp+1F8h+var_22C]
.text:006FBDDA
.text:006FBDDA loc_6FBDDA:                             ; CODE XREF: __output_l+88j
.text:006FBDDA                 mov     ecx, [ebp+1F8h+var_4]
.text:006FBDE0                 pop     edi
.text:006FBDE1                 pop     esi
.text:006FBDE2                 xor     ecx, ebp
.text:006FBDE4                 pop     ebx
.text:006FBDE5                 call    sub_6F3B90
.text:006FBDEA                 add     ebp, 1F8h
.text:006FBDF0                 leave
.text:006FBDF1                 retn
.text:006FBDF1 __output_l      endp
.text:006FBDF1
.text:006FBDF1 ; ---------------------------------------------------------------------------