Function at 0x579930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
mov esi, edx
push ebx
sub esp, 0xac
mov edx, dword [eax]
mov dword [esp + 0x30], ecx
test edx, edx
mov dword [esp + 0x74], 0
sete dl
test esi, esi
mov dword [esp + 0x78], 0
sete al
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
or dl, al
jne 0x57a2f8
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call sym._localeconv
mov eax, dword [eax]
mov dword [esp + 0x50], eax
call sym._localeconv
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x578999
cmp byte [ecx], 0
mov eax, 0
cmovne eax, ecx
mov dword [esp + 0x2c], eax
movzx eax, byte [esi]
test al, al
je 0x57a2d7
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], 0
xor edi, edi
mov dword [esp + 0x18], 0
mov ebx, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
test al, al
js 0x578b80
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
movzx eax, byte [eax]
cmp al, 0x25
je 0x578bf8
movzx esi, al
mov dword [esp], esi
call sym._isspace
test eax, eax
jne 0x578ae0
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57a178
mov eax, dword [esp + 0x18]
test eax, eax
je 0x578a53
mov dword [esp], ebx
call sym._isspace
test eax, eax
jne 0x578f18
cmp esi, ebx
je 0x578be0
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x1004], 1
je 0x579810
mov eax, dword [ebp + 0x1008]
sub dword [esp + 0x78], 1
mov dword [ebp + eax*4 + 4], ebx
add eax, 1
mov dword [ebp + 0x1008], eax
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578aa1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x578a90
mov esi, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test esi, esi
je 0x578ac1
mov eax, dword [esi]
mov dword [esp], eax
call sym._free
mov dword [esi], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sym._free
mov eax, dword [esp + 0x24]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
jne 0x5789f0
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ecx, ecx
je 0x578b51
lea esi, [esp + 0x78]
lea esi, [esi]
nop
mov edx, esi
mov eax, ebp
call sym._in_ch
mov dword [esp], eax
mov ebx, eax
call sym._isspace
test eax, eax
jne 0x578b10
cmp ebx, 0xffffffff
je 0x578b51
test byte [ebp + 0x1004], 1
je 0x57b0b0
mov eax, dword [ebp + 0x1008]
sub dword [esp + 0x78], 1
mov dword [ebp + eax*4 + 4], ebx
add eax, 1
mov dword [ebp + 0x1008], eax
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578aa1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x578b60
jmp 0x578aa1
mov esi, dword [esp + 0x10]
mov dword [esp], esi
call sym._strlen
lea edx, [esp + 0x90]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dbg.mbrlen
test eax, eax
jle 0x5789f8
mov edi, dword [esp + 0x10]
lea ebp, [esp + 0x78]
lea esi, [edi + eax]
mov eax, dword [esp + 0x14]
mov edx, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x579829
movzx eax, byte [edi]
add edi, 1
cmp ebx, eax
jne 0x579829
cmp edi, esi
jne 0x578bb6
jmp 0x578be8
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edi
jmp 0x578aec
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], 0
movzx edx, byte [eax + 1]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x5794d0
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x578c43
cmp al, 0x27
je 0x578c58
cmp al, 0x49
jne 0x578c90
movzx eax, byte [edi + 1]
cmp al, 0x36
je 0x578c70
or ebp, 4
cmp al, 0x33
je 0x578c80
lea esi, [esi]
nop
add edi, 1
cmp al, 0x2a
jne 0x578c20
movzx eax, byte [edi + 1]
or ebp, 0x80
jmp 0x578c40
mov edx, ebp
movzx eax, byte [edi + 1]
or dh, 1
test ecx, ecx
cmovne ebp, edx
jmp 0x578c40
cmp byte [edi + 2], 0x34
je 0x578ce8
or ebp, 4
jmp 0x578c40
cmp byte [edi + 2], 0x32
jne 0x578c40
movzx eax, byte [edi + 3]
add edi, 2
jmp 0x578c40
movzx edx, al
xor esi, esi
lea ecx, [edx - 0x30]
cmp ecx, 9
ja 0x579fd6
lea esi, [esi]
lea eax, [esi + esi*4]
add edi, 1
lea esi, [edx + eax*2 - 0x30]
movzx edx, byte [edi]
lea ecx, [edx - 0x30]
mov eax, edx
cmp ecx, 9
jbe 0x578ca8
test esi, esi
mov edx, 0xffffffff
cmove esi, edx
test al, al
je 0x579fe0
sub eax, 0x4c
cmp al, 0x2e
ja case.0x578cdb.1
movzx eax, al
jmp dword [eax*4 + 0x58fd40]
movzx eax, byte [edi + 3]
or ebp, 0xc
add edi, 2
jmp 0x578c40
movzx eax, byte [edi]
mov dword [esp + 0x48], edi
mov byte [esp + 0x28], al
lea esi, [esi]
nop
cmp byte [esp + 0x28], 0
je 0x57ab0e
mov eax, dword [esp + 0x48]
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5796d0
movzx ecx, byte [esp + 0x28]
cmp cl, 0x5b
jne 0x578fc0
mov eax, ebp
mov ecx, ebp
and eax, 0x80
and ecx, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
jne 0x579b91
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x578dff
test ebp, 0x600
je 0x57af88
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57b670
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x57b2f5
mov dword [esp], 0x64
call sym._malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [ecx], eax
test eax, eax
je 0x579bec
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578dcd
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x578de9
mov dword [esp], 0x88
call sym._malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], ebx
mov dword [esp + 0x74], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + edx*4 + 8], ecx
mov dword [esp + 0x40], 0x64
mov ebx, dword [esp + 0x48]
movzx eax, byte [ebx + 1]
lea edx, [ebx + 2]
cmp al, 0x5e
mov eax, 0x7fffffff
cmovne edx, dword [esp + 0x10]
sete byte [esp + 0x44]
test esi, esi
cmovs esi, eax
cmp dword [esp + 0x7c], 0xff
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x80]
ja 0x578e61
mov dword [esp + 0x7c], 0x100
mov edx, 0x100
test eax, eax
je 0x578e52
mov dword [esp], eax
call sym._free
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call sym._malloc
mov dword [esp + 0x80], eax
lea edi, [eax + 4]
mov dword [eax], 0
mov dword [eax + 0xfc], 0
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0x100]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
movzx eax, byte [ecx]
cmp al, 0x5d
je 0x57a740
cmp al, 0x2d
je 0x57a740
mov dword [esp + 0x10], edx
test al, al
je 0x5798db
mov edx, dword [esp + 0x10]
jmp 0x578ecf
mov ecx, dword [esp + 0x80]
mov byte [ecx + eax], 1
movzx eax, byte [edx - 1]
test al, al
je 0x5798db
cmp al, 0x5d
je 0x57a75f
add edx, 1
cmp al, 0x2d
jne 0x578eb8
movzx ebx, byte [edx - 1]
cmp bl, 0x5d
je 0x578eb8
test bl, bl
je 0x578eb8
movzx ecx, byte [edx - 3]
cmp cl, bl
ja 0x578eb8
jae 0x57b6a4
mov ebx, dword [esp + 0x80]
movzx eax, cl
add ecx, 1
mov byte [ebx + eax], 1
movzx eax, byte [edx - 1]
cmp al, cl
ja 0x578ef9
jmp 0x578ec7
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], esi
jmp 0x578f40
mov dword [esp], eax
call sym._isspace
test eax, eax
je 0x5797fe
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov esi, eax
cmp eax, 0xffffffff
jne 0x578f30
mov eax, dword [esp + 0x24]
test eax, eax
je 0x57985e
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578f79
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x578f68
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test ebx, ebx
je 0x578ac1
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx]
mov dword [esp], eax
call sym._free
mov dword [ebx], 0
jmp 0x578ac1
lea eax, [edi + 1]
or ebp, 4
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x578d10
mov eax, ecx
and eax, 0xffffffdf
cmp al, 0x43
je 0x578fd2
cmp cl, 0x6e
jne 0x5796d0
movzx eax, byte [esp + 0x28]
cmp al, 0x63
je 0x579540
cmp al, 0x73
jne 0x579140
mov eax, ebp
and eax, 4
mov dword [esp + 0x18], eax
jne case.0x579153.46
mov edi, ebp
and edi, 0x80
jne 0x57909d
test ebp, 0x600
je 0x57aa44
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57b1a9
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x57b2f5
mov dword [esp], 0x64
call sym._malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [ecx], eax
test eax, eax
je 0x579bec
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x57906b
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x579087
mov dword [esp], 0x88
call sym._malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], ebx
mov dword [esp + 0x74], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0x64
mov dword [eax + edx*4 + 8], ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b388
mov eax, ebp
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x4c]
and eax, 0x600
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x48], eax
jmp 0x579111
mov ecx, dword [esp + 0x20]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
add ecx, edx
cmp eax, ecx
je 0x57a9fd
test esi, esi
jle 0x5790fb
sub esi, 1
je 0x57a358
mov eax, dword [esp + 0x14]
mov edx, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57a358
mov dword [esp], ebx
call sym._isspace
test eax, eax
jne 0x57ab88
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x5790ee
mov edx, dword [esp + 0x48]
mov byte [edi], bl
lea eax, [edi + 1]
test edx, edx
jne 0x5790d8
mov edi, eax
jmp 0x5790ee
movzx eax, byte [esp + 0x28]
sub eax, 0x25
cmp al, 0x53
ja case.0x579153.1
movzx eax, al
jmp dword [eax*4 + 0x58fdfc]
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x579204
test ebp, 0x600
je 0x5798ff
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57aaba
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x57b2f5
mov dword [esp], 0xc8
call sym._malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [ecx], eax
test eax, eax
je 0x579bec
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x5791d2
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x5791ee
mov dword [esp], 0x88
call sym._malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], ebx
mov dword [esp + 0x74], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0x64
mov dword [eax + edx*4 + 8], ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b295
mov eax, ebp
mov dword [esp + 0x48], esi
lea edi, [esp + 0x98]
and eax, 0x600
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x28]
mov dword [esp], ebx
call sym._isspace
test eax, eax
jne 0x57b2c3
mov edx, dword [esp + 0x18]
mov byte [esp + 0x8b], bl
test edx, edx
cmove eax, dword [esp + 0x3c]
mov esi, eax
mov eax, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 1
mov dword [esp], esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8b]
mov dword [esp + 4], eax
call dbg.mbrtowc
cmp eax, 0xfffffffe
jne 0x57a1c8
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov edi, eax
cmp eax, 0xffffffff
je 0x5797ce
mov byte [esp + 0x8b], al
jmp 0x579288
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x57938e
test ebp, 0x600
je 0x5798a6
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57aa82
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x57b2f5
cmp esi, 0x400
mov eax, 0x400
cmovle eax, esi
mov dword [esp + 0x40], eax
add eax, eax
mov dword [esp], eax
call sym._malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [ecx], eax
test eax, eax
je 0x579bec
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x579364
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x579380
mov dword [esp], 0x88
call sym._malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], ebx
mov dword [esp + 0x74], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + edx*4 + 8], ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b4ce
lea edi, [esp + 0x98]
mov dword [esp + 0x48], esi
and ebp, 0x600
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x8b], bl
test ecx, ecx
jne 0x579470
mov edx, dword [esp + 0x54]
test edx, edx
je 0x579470
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
lea esi, [ecx + ecx]
lea ecx, [eax + esi]
cmp dword [esp + 0x3c], ecx
jne 0x579470
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x3c], edi
mov edi, ebx
lea edx, [ecx - 1]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x40]
cmp edx, ecx
mov ecx, dword [esp + 0x28]
cmovle ecx, edx
add edx, ecx
mov ecx, dword [esp + 0x40]
mov ebx, edx
add ecx, 1
mov dword [esp + 0x28], ecx
lea ecx, [ebx + ebx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._realloc
test eax, eax
je 0x57bb12
mov ecx, dword [esp + 0x20]
mov edx, ebx
mov ebx, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x40], edx
mov dword [ecx], eax
add eax, esi
mov dword [esp + 0x3c], eax
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov esi, 0
test eax, eax
mov eax, edi
cmove esi, dword [esp + 0x3c]
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 1
mov dword [esp], esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8b]
mov dword [esp + 4], eax
call dbg.mbrtowc
cmp eax, 0xfffffffe
jne 0x57a270
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov edi, eax
cmp eax, 0xffffffff
je 0x579776
mov byte [esp + 0x8b], al
jmp 0x579486
mov esi, dword [esp + 0x10]
mov dword [esp + 0x44], edx
lea ecx, [esi + 2]
movzx esi, byte [esi + 2]
mov edx, esi
movzx edx, dl
lea ebp, [edx - 0x30]
cmp ebp, 9
ja 0x579521
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x44]
mov ebp, eax
lea esi, [esi]
lea esi, [esi]
add ecx, 1
lea eax, [edi + edi*4]
lea edi, [edx + eax*2 - 0x30]
movzx edx, byte [ecx]
lea esi, [edx - 0x30]
cmp esi, 9
jbe 0x579500
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x10]
mov esi, edx
mov eax, ebp
mov edx, esi
cmp dl, 0x24
je 0x57a006
mov dword [esp + 0x44], 0
jmp 0x578c16
test ebp, 4
jne case.0x579153.30
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x579dfe
mov edi, ebp
and edi, 0x600
je 0x57ab30
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57b36c
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x57b2f5
cmp esi, 0x400
mov eax, 0x400
cmovle eax, esi
mov dword [esp], eax
mov dword [esp + 0x40], eax
call sym._malloc
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x57b839
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x5795dd
mov edx, dword [ebx]
mov eax, ebx
lea ebp, [edx + 1]
cmp edx, 0x1f
jbe 0x579601
mov dword [esp], 0x88
mov ebp, 1
mov dword [esp + 0x28], ecx
call sym._malloc
mov ecx, dword [esp + 0x28]
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [eax], ebp
mov dword [eax + edx*4 + 8], ebx
lea eax, [esp + 0x78]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ecx, dword [esp + 0x44]
cmp eax, 0xffffffff
mov ebx, eax
je 0x57b68c
mov dword [esp + 0x44], edi
mov ebp, dword [esp + 0x14]
mov eax, ecx
jmp 0x579670
sub esi, 1
mov byte [eax], bl
lea edi, [eax + 1]
test esi, esi
jle 0x57a98e
mov edx, dword [esp + 0x28]
mov eax, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57a98e
mov eax, edi
mov edx, dword [esp + 0x44]
test edx, edx
je 0x579648
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
lea edi, [edx + ecx]
cmp eax, edi
jne 0x579648
cmp ecx, esi
lea eax, [esi - 1]
mov dword [esp + 0x48], ebp
mov ebp, esi
cmovl eax, ecx
mov esi, ebx
lea edi, [ecx + eax]
add ecx, 1
mov ebx, ecx
mov dword [esp + 4], edi
mov dword [esp], edx
call sym._realloc
test eax, eax
je 0x57ba84
mov ecx, dword [esp + 0x20]
mov ebx, esi
mov esi, ebp
mov ebp, dword [esp + 0x48]
mov dword [ecx], eax
add eax, dword [esp + 0x40]
mov dword [esp + 0x40], edi
jmp 0x579648
call sym.__errno
mov edi, dword [eax]
call sym.__errno
mov dword [esp + 0x18], esi
mov esi, ebx
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
jmp 0x579700
mov dword [esp], eax
call sym._isspace
test eax, eax
je 0x57a012
cmp esi, 0xffffffff
je 0x579717
lea edx, [esp + 0x78]
mov eax, ebx
call sym._in_ch
mov esi, eax
cmp eax, 0xffffffff
jne 0x5796f0
mov esi, dword [esp + 0x18]
jmp 0x579734
mov dword [esp], 0xffffffff
call sym._isspace
test eax, eax
je 0x57a1b7
call sym.__errno
cmp dword [eax], 4
jne 0x579720
mov edi, dword [esp + 0x24]
test edi, edi
je 0x57985e
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578f79
lea esi, [esi]
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x579760
jmp 0x578f79
call sym.__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x5797a1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x579790
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test eax, eax
je 0x578ac1
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp], eax
call sym._free
mov dword [esi], 0
jmp 0x578ac1
call sym.__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x578f79
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x5797e8
jmp 0x578f79
mov ebx, esi
mov esi, dword [esp + 0x10]
jmp 0x578a53
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x578a84
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x1004], 1
je 0x579b78
mov eax, dword [ebp + 0x1008]
sub dword [esp + 0x78], 1
mov dword [ebp + eax*4 + 4], ebx
add eax, 1
mov dword [ebp + 0x1008], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x579faf
lea edx, [esp + 0x80]
lea eax, [esp + 0x74]
call dbg.release_ptrs
mov dword [esp + 0x24], 0xffffffff
jmp 0x578ad0
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578f79
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x579890
jmp 0x578f79
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57aad6
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x57938e
jmp 0x5798db
fstp st(0)
jmp 0x5798db
fstp st(0)
jmp 0x5798db
fstp st(0)
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call sym._cleanup_return
mov dword [esp + 0x24], eax
jmp 0x578ad0
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x57aa9e
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jne 0x579204
jmp 0x5798db
lea eax, [edi + 1]
or ebp, 0xc
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x578d10
xor eax, eax
test esi, esi
setg al
sub esi, eax
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
je 0x57b59c
mov eax, dword [esp + 0x60]
sub eax, 0x2b
and eax, 0xfffffffd
jne 0x57a9d7
test esi, esi
je 0x5798db
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x5798db
xor eax, eax
test esi, esi
setg al
sub esi, eax
mov dword [esp], ebx
call sym._tolower
cmp eax, 0x6e
je 0x57b41a
cmp eax, 0x69
je 0x57afc0
mov byte [esp + 0x48], 0x65
mov dword [esp + 0x18], 0
test esi, esi
je 0x5799dd
cmp ebx, 0x30
je 0x57b3b5
mov byte [esp + 0x54], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x18]
nop
lea eax, [ebx - 0x30]
cmp eax, 9
jbe 0x579a73
cmp byte [esp + 0x54], 0
je 0x579f20
mov ecx, dword [esp + 0x80]
movzx eax, byte [esp + 0x48]
cmp byte [ecx + ebp - 1], al
je 0x57a1a6
test esi, esi
mov eax, 0x7fffffff
cmovg eax, esi
cmp byte [esp + 0x5c], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx eax, byte [eax]
je 0x57a051
test al, al
jne 0x579f8a
test esi, esi
jle 0x579a92
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57a3ba
mov esi, dword [esp + 0x18]
lea esi, [esi]
lea eax, [ebx - 0x30]
sub esi, 1
cmp eax, 9
ja 0x5799f8
mov ecx, dword [esp + 0x80]
mov eax, ebp
lea edx, [esp + 0x7c]
call dbg.resize_wbuf
mov dword [esp + 0x80], eax
mov byte [eax + ebp], bl
add ebp, 1
test esi, esi
je 0x57a3ba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57a3ba
test esi, esi
jg 0x579a68
jmp 0x5799f0
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x6c
je 0x57a341
lea eax, [edi + 1]
or ebp, 4
mov dword [esp + 0x48], eax
jmp 0x578d10
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x6c
je 0x57a310
lea eax, [edi + 1]
or ebp, 0x400
mov dword [esp + 0x48], eax
jmp 0x578d10
movzx ecx, byte [edi + 1]
mov eax, ecx
mov byte [esp + 0x28], cl
and eax, 0xfffffff7
cmp al, 0x53
je 0x579b16
cmp cl, 0x73
jne case.0x578cdb.1
lea eax, [edi + 1]
or ebp, 0x200
mov dword [esp + 0x48], eax
jmp 0x578d10
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x68
je 0x57a32a
lea eax, [edi + 1]
or ebp, 2
mov dword [esp + 0x48], eax
jmp 0x578d10
lea eax, [edi + 1]
or ebp, 8
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x578d10
movzx eax, byte [esp + 0x28]
sub eax, 0x58
cmp al, 0x20
ja case.0x579b71.1
movzx eax, al
jmp dword [eax*4 + 0x58ff4c]
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x579852
test eax, eax
jne 0x578dff
test ebp, 0x600
je 0x57b07e
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57b71c
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x20]
test edi, edi
je 0x57b2f5
mov dword [esp], 0xc8
call sym._malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [ecx], eax
test eax, eax
jne 0x578db9
mov eax, ebp
lea edx, [esp + 0x74]
test ah, 4
mov eax, 0xffffffff
cmove eax, dword [esp + 0x24]
mov ebx, eax
lea eax, [esp + 0x80]
mov dword [esp], eax
mov eax, ebx
call sym._cleanup_return
mov dword [esp + 0x24], eax
jmp 0x578ad0
mov dword [esp + 0x34], 0x10
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b388
lea eax, [eax - 0x2b]
mov dword [esp + 0x54], 0
and eax, 0xfffffffd
je 0x57ac4a
test esi, esi
setne dl
cmp ebx, 0x30
jne 0x57a49f
test dl, dl
je 0x57a49f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
lea ebx, [eax + 1]
mov dword [esp + 0x18], ebx
test esi, esi
jle 0x57ad15
lea edi, [esp + 0x7c]
mov ebx, eax
sub esi, 1
mov edx, edi
call dbg.resize_wbuf
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax + ebx], 0x30
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
test esi, esi
jne 0x57ad40
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x54], eax
jne 0x579cd4
mov dword [esp + 0x34], 8
cmp dword [esp + 0x54], 1
jne 0x579cf0
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
sub eax, 0x2b
test al, 0xfd
je 0x57a9f2
lea edi, [esp + 0x7c]
cmp ebx, 0xffffffff
je 0x579d26
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x57b76e
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x78], 1
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], ebx
add eax, 1
mov dword [ecx + 0x1008], eax
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
mov edx, edi
mov edi, ebp
mov eax, esi
call dbg.resize_wbuf
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x84]
mov dword [esp + 0x80], eax
mov byte [eax + esi], 0
mov eax, dword [esp + 0x80]
mov esi, ebp
mov dword [esp + 8], ecx
and esi, 0x10
mov dword [esp + 4], edx
mov dword [esp], eax
and edi, 8
je 0x57a9e0
test esi, esi
je 0x57ae20
call sym._strtoimax
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x80], ecx
je 0x5798db
mov ecx, ebp
and ecx, 0x80
mov dword [esp + 0x18], ecx
jne 0x579e7b
test esi, esi
je 0x57adbf
test edi, edi
jne 0x57ace4
test ebp, 4
jne 0x57b1c5
test ebp, 2
jne 0x57b7b3
and ebp, 1
je 0x57b7d0
cmp dword [esp + 0x44], 0
jne 0x57b9c1
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov byte [edx], al
add dword [esp + 0x24], 1
jmp 0x578aec
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b68c
mov eax, ebx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
jmp 0x579e3e
mov edx, edi
mov eax, ebx
call sym._in_ch
cmp eax, 0xffffffff
je 0x579e45
sub esi, 1
test esi, esi
jg 0x579e30
mov dword [esp + 0x18], 0
mov ebx, eax
jmp 0x578aec
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b388
cmp eax, 0x25
jne 0x57b84d
mov dword [esp + 0x18], 0
jmp 0x578aec
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x579e7b
mov eax, dword [esp + 0x78]
test ebp, 8
je 0x57ad88
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x57b354
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
mov dword [edx + 4], 0
jmp 0x578aec
mov eax, ebp
mov dword [esp + 0x34], 0x10
and eax, 0xfffffff1
or eax, 0x24
mov ebp, eax
jmp case.0x579b71.1
mov dword [esp + 0x34], 0
or ebp, 0x10
jmp case.0x579b71.1
mov dword [esp + 0x34], 0xa
or ebp, 0x10
jmp case.0x579b71.1
mov dword [esp + 0x34], 0xa
jmp case.0x579b71.1
mov dword [esp + 0x34], 8
jmp case.0x579b71.1
test byte [esp + 0x58], 0x40
je 0x579f37
mov dword [esp], ebx
call sym._isxdigit
test eax, eax
jne 0x579a73
test ebp, ebp
je 0x579a19
mov dword [esp], ebx
call sym._tolower
cmp byte [esp + 0x48], al
jne 0x579a19
mov ecx, dword [esp + 0x80]
mov eax, ebp
lea edx, [esp + 0x7c]
call dbg.resize_wbuf
movzx ecx, byte [esp + 0x48]
mov byte [esp + 0x54], 1
mov dword [esp + 0x80], eax
mov byte [esp + 0x5c], 1
mov byte [eax + ebp], cl
add ebp, 1
jmp 0x579a92
je 0x57aee9
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x57b0c9
mov edi, eax
movzx edx, byte [edi]
test dl, dl
jne 0x57b0c9
test esi, esi
cmovg esi, dword [esp + 0x18]
jmp 0x579a92
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578f79
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x579fc0
jmp 0x578f79
mov esi, 0xffffffff
jmp 0x578cc9
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x5797a1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x579ff0
jmp 0x5797a1
movzx eax, byte [ecx + 1]
lea edi, [ecx + 1]
jmp 0x578c16
mov ebx, esi
mov esi, dword [esp + 0x18]
call sym.__errno
mov dword [eax], edi
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x57aaf2
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x78], 1
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], ebx
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x578fd2
movzx edx, al
mov edi, dword [esp + 0x50]
cmp edx, ebx
jne 0x57a0b4
mov dword [esp + 0x68], esi
mov eax, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x14]
nop
mov esi, edi
add edi, 1
cmp byte [edi], 0
je 0x57a110
test ebx, ebx
je 0x57acd1
mov edx, dword [esp + 0x28]
mov eax, ebp
call sym._in_ch
cmp eax, 0xffffffff
je 0x57acb8
movzx esi, byte [edi]
sub ebx, 1
cmp eax, esi
je 0x57a070
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x64]
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x68]
test al, al
je 0x57a11e
test dword [esp + 0x58], 0x100
je 0x579f8a
mov eax, edi
sub eax, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x579f84
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x2c]
jmp 0x57a0fb
add edi, 1
mov ecx, edi
sub ecx, ebp
cmp ecx, eax
jge 0x57aedb
movzx edx, byte [edi]
cmp dl, byte [ebx + ecx]
je 0x57a0ec
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
jmp 0x579f9b
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x18], ebx
mov ebx, eax
mov eax, dword [esp + 0x50]
mov edi, ebp
cmp byte [eax], 0
je 0x57a15d
sub eax, ebp
mov ebp, eax
lea esi, [esi]
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x7c]
mov eax, edi
call dbg.resize_wbuf
mov edx, edi
add edi, 1
mov dword [esp + 0x80], eax
movzx ecx, byte [ebp + edi - 1]
mov byte [eax + edx], cl
cmp byte [ebp + edi], 0
jne 0x57a130
mov ebp, edi
test esi, esi
jle 0x57bb2b
mov byte [esp + 0x5c], 1
mov esi, dword [esp + 0x18]
jmp 0x579a92
mov eax, dword [esp + 0x24]
test eax, eax
je 0x57985e
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x5797a1
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x57a190
jmp 0x5797a1
lea eax, [ebx - 0x2b]
and eax, 0xfffffffd
jne 0x579a19
jmp 0x579a7a
call sym.__errno
mov ebx, 0xffffffff
mov dword [eax], edi
jmp 0x578fd2
mov ecx, ebx
mov ebx, edi
mov edi, ecx
cmp eax, 1
jne 0x57b518
mov eax, dword [esp + 0x18]
add dword [esp + 0x3c], 2
mov esi, dword [esp + 0x3c]
test eax, eax
jne 0x57a207
mov eax, dword [esp + 0x54]
test eax, eax
je 0x57a207
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax]
mov eax, dword [edx]
add eax, ecx
cmp esi, eax
je 0x57b528
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x57a218
sub eax, 1
mov dword [esp + 0x48], eax
je 0x57a22c
mov edx, edi
mov eax, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
jne 0x57925e
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x579e7b
mov eax, dword [esp + 0x3c]
lea esi, [eax + 2]
mov word [eax], 0
mov eax, dword [esp + 0x40]
mov edx, esi
mov ecx, eax
add ecx, eax
mov eax, dword [esp + 0x20]
call sym._optimize_alloc
add dword [esp + 0x24], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], 0
jmp 0x578aec
mov ecx, ebx
mov ebx, edi
mov edi, ecx
cmp eax, 1
jne 0x57b518
sub dword [esp + 0x48], 1
mov eax, dword [esp + 0x48]
add dword [esp + 0x3c], 2
test eax, eax
jle 0x57a2a5
mov edx, ecx
mov eax, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
jne 0x5793e3
cmp dword [esp + 0x18], 0
jne 0x579e7b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, eax
add ecx, eax
mov eax, dword [esp + 0x20]
call sym._optimize_alloc
add dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
jmp 0x578aec
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
test ebx, ebx
jne 0x578b60
jmp 0x578ac1
call sym.__errno
mov dword [esp + 0x24], 0xffffffff
mov dword [eax], 0x16
jmp 0x578ad0
lea eax, [edi + 2]
or ebp, 0x404
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x578d10
lea eax, [edi + 2]
or ebp, 1
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x578d10
lea eax, [edi + 2]
or ebp, 0xc
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x578d10
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x578aec
mov eax, dword [esp + 0x4c]
mov byte [eax], 0
mov edi, dword [esp + 0x20]
lea esi, [eax + 1]
test edi, edi
je 0x57a39c
mov eax, dword [edi]
test eax, eax
je 0x57a39c
mov edx, esi
sub edx, eax
cmp dword [esp + 0x40], edx
je 0x57a39c
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._realloc
test eax, eax
je 0x57a39c
mov dword [edi], eax
add dword [esp + 0x24], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x20], 0
jmp 0x578aec
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5798db
test ebp, 0x40
je 0x57a3e1
cmp dword [esp + 0x18], 2
je 0x5798db
lea edi, [esp + 0x7c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov edx, edi
mov eax, esi
call dbg.resize_wbuf
mov dword [esp + 0x80], eax
mov byte [eax + esi], 0
mov esi, ebp
and esi, 0x80
test ebp, 8
jne 0x57ae2a
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x84]
and ebp, 4
mov dword [esp + 4], edx
mov dword [esp], eax
je 0x57ae8b
call dbg.__strtold
test esi, esi
jne 0x57ab60
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
cmp eax, esi
je 0x5798d1
cmp dword [esp + 0x60], 0x2d
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
jne 0x57a46a
fchs
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x57b657
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp qword [edx]
cmp eax, esi
je 0x5798db
add dword [esp + 0x24], 1
mov dword [esp + 0x18], 0
jmp 0x578aec
cmp ebx, 0xffffffff
setne al
and eax, edx
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x57a4b7
mov dword [esp + 0x34], 0xa
test al, al
je 0x57a55e
mov eax, ebp
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x14]
and eax, 0x100
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x58], eax
jmp 0x57a547
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x57a5e8
lea eax, [ebx - 0x2f]
cmp eax, dword [esp + 0x34]
jg 0x57a5e8
mov eax, dword [esp + 0x54]
mov edi, eax
add eax, 1
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x7c]
mov eax, edi
call dbg.resize_wbuf
mov edx, esi
mov dword [esp + 0x80], eax
mov byte [eax + edi], bl
mov edi, dword [esp + 0x48]
xor eax, eax
test edi, edi
setg al
sub edi, eax
mov eax, ebp
mov dword [esp + 0x48], edi
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57a55a
test edi, edi
je 0x57a55a
cmp dword [esp + 0x34], 0x10
jne 0x57a4e0
mov dword [esp], ebx
call sym._isxdigit
test eax, eax
jne 0x57a4f9
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x579cd4
test ebp, 0x20
je 0x57a9f2
mov dword [esp], ebx
call sym._tolower
cmp al, 0x28
jne 0x57a9f2
mov esi, 0x58fd2d
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x14]
mov ebp, esi
mov esi, dword [esp + 0x28]
jmp 0x57a5b5
mov dword [esp], eax
call sym._tolower
cmp byte [ebp], al
jne 0x57a5c5
add ebp, 1
cmp byte [ebp], 0
je 0x57b201
mov edx, esi
mov eax, edi
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
jne 0x57a59b
mov ebp, edi
mov edi, ebx
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov edx, ebp
mov eax, edi
call sym._back_ch
jmp 0x5798db
cmp dword [esp + 0x34], 0xa
jne 0x57a55a
mov eax, dword [esp + 0x58]
test eax, eax
je 0x57a55a
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov ecx, 0x7fffffff
movzx edx, byte [edi]
test eax, eax
cmovg ecx, eax
mov eax, edx
cmp ebx, edx
jne 0x57acaf
mov dword [esp + 0x18], esi
mov eax, ebx
mov ebx, ecx
lea esi, [esi]
lea esi, [esi]
mov esi, edi
add edi, 1
cmp byte [edi], 0
je 0x57a720
test ebx, ebx
je 0x57a68b
mov edx, dword [esp + 0x18]
mov eax, ebp
call sym._in_ch
cmp eax, 0xffffffff
je 0x57a72d
movzx esi, byte [edi]
sub ebx, 1
cmp eax, esi
je 0x57a630
mov ecx, ebx
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x18]
test al, al
jne 0x57b9b8
mov eax, dword [esp + 0x48]
test eax, eax
cmovle ecx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], ecx
lea edi, [eax - 1]
jmp 0x57a506
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0x2c]
jbe 0x57a55e
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov eax, ebx
lea ebx, [edi - 1]
mov edx, dword [esp + 0x14]
call sym._back_ch
cmp dword [esp + 0x2c], ebx
jae 0x57b879
mov dword [esp + 0x18], edi
mov esi, ebx
mov edi, ebx
mov ebx, dword [esp + 0x14]
jmp 0x57a6f9
mov eax, dword [ebx + 0x1008]
sub dword [esp + 0x78], 1
mov dword [ebx + eax*4 + 4], ecx
add eax, 1
mov dword [ebx + 0x1008], eax
sub esi, 1
cmp esi, dword [esp + 0x2c]
je 0x57b868
movzx ecx, byte [esi]
test byte [ebx + 0x1004], 1
jne 0x57a6d4
mov eax, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x57a6ec
mov ecx, ebx
mov esi, dword [esp + 0x18]
mov ebx, eax
jmp 0x57a672
mov edx, esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
mov ebx, eax
movzx eax, byte [edx + 1]
jmp 0x57a66a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
add ecx, 2
mov byte [edx + eax], 1
movzx eax, byte [ecx - 1]
mov dword [esp + 0x10], ecx
jmp 0x578ea4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
test edx, edx
je 0x57a8f3
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b388
mov eax, ebp
lea edi, [esp + 0x98]
mov dword [esp + 0x64], ebp
mov edx, ebx
and eax, 0x600
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x98], 0
mov edi, dword [esp + 0x54]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], eax
jmp 0x57a7fd
sub esi, 1
je 0x57abc2
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov edx, eax
cmp eax, 0xffffffff
je 0x57abc2
mov eax, dword [esp + 0x80]
movzx ecx, byte [esp + 0x44]
cmp byte [eax + edx], cl
je 0x57b148
test edi, edi
jne 0x57a7e0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 1
mov byte [esp + 0x8b], dl
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8b]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov dword [esp], eax
call dbg.mbrtowc
mov edx, dword [esp + 0x18]
cmp eax, 0xfffffffe
je 0x57aa78
mov eax, dword [esp + 0x5c]
add dword [esp + 0x3c], 2
test eax, eax
je 0x57a8e6
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], 0
mov ecx, dword [ecx]
add eax, eax
mov dword [esp + 0x60], eax
add eax, ecx
cmp dword [esp + 0x3c], eax
jne 0x57a7e0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], ebx
mov ebx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
add eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov dword [esp], ecx
add eax, eax
mov dword [esp + 4], eax
call sym._realloc
test eax, eax
je 0x57b9f1
mov ecx, dword [esp + 0x20]
mov edx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [ecx], eax
add eax, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
jmp 0x57a7e0
mov dword [esp + 0x48], 0
jmp 0x57a7e0
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b388
mov edi, ebp
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x28]
and edi, 0x600
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x4c]
jmp 0x57a960
mov ecx, dword [esp + 0x20]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
add ecx, edx
cmp eax, ecx
je 0x57af41
sub esi, 1
je 0x57ac8c
mov eax, dword [esp + 0x14]
mov edx, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57ac8c
mov eax, dword [esp + 0x80]
movzx ecx, byte [esp + 0x44]
cmp byte [eax + ebx], cl
je 0x57b10c
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x57a941
mov byte [edi], bl
lea eax, [edi + 1]
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x57a92b
mov edi, eax
jmp 0x57a941
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edi
test eax, eax
je 0x57a2c5
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
test eax, eax
je 0x57a2c5
mov edx, dword [esp + 0x4c]
sub edx, eax
cmp dword [esp + 0x40], edx
je 0x57a2c5
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._realloc
test eax, eax
je 0x57a2c5
mov dword [esi], eax
jmp 0x57a2c5
mov ebx, dword [esp + 0x60]
jmp 0x5799a9
test esi, esi
je 0x57ad0b
call sym._strtol
jmp 0x579d83
mov ebp, dword [esp + 0x14]
mov edi, ebx
jmp 0x57a5c9
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ebp
mov ebp, esi
mov esi, ebx
lea ecx, [eax + eax]
lea edi, [eax + 1]
mov ebx, ecx
mov dword [esp + 4], ebx
mov dword [esp], edx
call sym._realloc
test eax, eax
je 0x57b881
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, ebx
mov ebx, esi
mov dword [esp + 0x40], ecx
mov esi, ebp
mov ebp, dword [esp + 0x28]
mov dword [edx], eax
add edi, eax
jmp 0x5790ee
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57b1e5
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jne 0x57909d
jmp 0x5798db
add dword [esp + 0x48], 1
jmp 0x57a7e9
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x579316
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
jmp 0x57991c
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x579194
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
jmp 0x5798c3
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x578fd2
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x5797a1
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x57ab1a
jmp 0x5797a1
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x57b230
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
test ecx, ecx
jne 0x57960f
jmp 0x5798db
fstp st(0)
jmp 0x57ab6a
fstp st(0)
jmp 0x57ab6a
fstp st(0)
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x80], eax
jne 0x579e7b
jmp 0x5798db
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
test byte [eax + 0x1004], 1
je 0x57b704
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x78], 1
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], ebx
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x57a360
mov ebx, edx
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x57b518
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x78], eax
je 0x5798db
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], 0
test ecx, ecx
jne 0x578aec
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
xor edx, edx
mov word [eax], dx
lea esi, [eax + 2]
test edi, edi
je 0x57ac2c
mov eax, dword [edi]
test eax, eax
je 0x57ac2c
mov ecx, dword [esp + 0x40]
mov edx, esi
sub edx, eax
add ecx, ecx
cmp ecx, edx
je 0x57ac2c
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._realloc
test eax, eax
je 0x57ac2c
mov dword [edi], eax
add dword [esp + 0x24], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], 0
jmp 0x578aec
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call dbg.resize_wbuf
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax], bl
xor eax, eax
test esi, esi
setg al
sub esi, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov dword [esp + 0x54], 1
mov ebx, eax
jmp 0x579c5a
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x58]
je 0x5798db
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x578aec
jmp 0x57a368
mov edi, dword [esp + 0x2c]
jmp 0x57a66a
mov dword [esp + 0x18], ebx
mov ebx, eax
mov eax, esi
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
movzx eax, byte [eax + 1]
jmp 0x57a0b4
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x18], ebx
mov ebx, eax
jmp 0x57a0b8
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x57b27c
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 4], eax
jmp 0x579df4
call sym._strtoul
jmp 0x579d83
mov ebx, dword [esp + 0x54]
lea edi, [esp + 0x7c]
mov edx, edi
mov eax, ebx
call dbg.resize_wbuf
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax + ebx], 0x30
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
mov dword [esp], ebx
call sym._tolower
cmp eax, 0x78
je 0x57b317
cmp ebx, 0xffffffff
mov edi, dword [esp + 0x34]
setne al
test esi, esi
setne dl
and eax, edx
test edi, edi
jne 0x57ad6e
mov dword [esp + 0x34], 8
test al, al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
jne 0x57a4bf
jmp 0x579cd4
mov ecx, ebp
and ecx, 4
mov dword [esp + 0x18], ecx
je 0x57b17c
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x57b60b
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
mov dword [esp + 0x18], 0
jmp 0x578aec
test edi, edi
jne 0x57ace4
test ebp, 4
jne 0x57b1c5
test ebp, 2
jne 0x57b7b3
and ebp, 1
je 0x57ba15
cmp dword [esp + 0x44], 0
je 0x579de5
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x57ae00
mov ecx, 1
sub edx, 1
jne 0x57adfb
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
test cl, cl
lea edx, [esi + edx*4 - 4]
cmove edx, esi
mov edx, dword [edx]
jmp 0x579df2
call sym._strtoumax
jmp 0x579d7f
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call dbg.__strtold
test esi, esi
jne 0x57ab64
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
cmp eax, esi
je 0x5798d5
cmp dword [esp + 0x60], 0x2d
jne 0x57ae6b
fchs
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x57b798
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp xword [edx]
jmp 0x57a485
call dbg.__strtof
test esi, esi
jne 0x57ab68
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
cmp eax, esi
je 0x5798d9
fld st(0)
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x60], 0x2d
fchs
fcmovne st(0), st(1)
fstp st(1)
test edx, edx
jne 0x57b5f0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp dword [edx]
jmp 0x57a485
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
jne 0x579f98
movzx eax, byte [edi]
mov edx, eax
cmp eax, ebx
jne 0x579f9b
mov eax, ebx
mov ebx, esi
mov esi, edi
add edi, 1
cmp byte [edi], 0
je 0x57ba0c
mov edx, dword [esp + 0x18]
test edx, edx
je 0x57b82a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
cmp eax, 0xffffffff
je 0x57b81b
movzx esi, byte [edi]
sub dword [esp + 0x18], 1
mov edx, esi
cmp eax, esi
je 0x57aefa
mov esi, ebx
mov ebx, eax
jmp 0x579f9b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], ebp
mov ebp, esi
mov esi, ebx
lea ecx, [eax + eax]
lea edi, [eax + 1]
mov ebx, ecx
mov dword [esp + 4], ebx
mov dword [esp], edx
call sym._realloc
test eax, eax
je 0x57b9a7
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, ebx
mov ebx, esi
mov dword [esp + 0x40], ecx
mov esi, ebp
mov ebp, dword [esp + 0x4c]
mov dword [edx], eax
add edi, eax
jmp 0x57a941
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x57b5cb
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x578dff
jmp 0x5798db
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call dbg.resize_wbuf
mov dword [esp + 0x18], ebp
mov dword [esp + 0x80], eax
mov byte [eax], bl
mov eax, 1
mov ebp, eax
jmp 0x57b048
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b04c
mov dword [esp], eax
call sym._tolower
mov edx, eax
movsx eax, byte [ebp + 0x58fd36]
cmp edx, eax
jne 0x57b04c
xor eax, eax
test esi, esi
mov ecx, dword [esp + 0x80]
mov edx, edi
setg al
sub esi, eax
mov eax, ebp
call dbg.resize_wbuf
cmp byte [ebp + 0x58fd37], 0
lea edx, [ebp + 1]
mov dword [esp + 0x80], eax
mov byte [eax + ebp], bl
je 0x57b6ac
mov ebp, edx
test esi, esi
jne 0x57afea
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x57b065
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x57b054
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test ebx, ebx
jne 0x578f91
jmp 0x578ac1
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x57b4fc
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x578dff
jmp 0x5798db
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x578b51
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x58]
cmp ebx, 0xffffffff
je 0x57a3c2
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x57b738
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x78], 1
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], ebx
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x57a3c2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
test byte [eax + 0x1004], 1
je 0x57b750
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
mov edx, dword [ecx + 0x1008]
sub eax, 1
mov dword [esp + 0x78], eax
mov dword [ecx + edx*4 + 4], ebx
add edx, 1
mov dword [ecx + 0x1008], edx
jmp 0x57ac94
mov eax, dword [esp + 0x14]
mov ebx, edx
test byte [eax + 0x1004], 1
je 0x57b624
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x78], 1
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edx
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x57abc4
test ebp, 2
je 0x57b248
mov edx, dword [esp + 0x44]
test edx, edx
jne 0x57b9d8
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov word [edx], ax
jmp 0x578aec
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x57902d
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x57b63c
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
jmp 0x579df4
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
jmp 0x57aa61
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov ebp, dword [esp + 0x18]
mov edx, edi
call dbg.resize_wbuf
mov dword [esp + 0x54], 1
mov dword [esp + 0x80], eax
mov byte [eax], 0x30
jmp 0x579d26
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov ecx, dword [eax]
jmp 0x57ab49
and ebp, 1
mov dword [esp + 0x18], ebp
je 0x57b57d
cmp dword [esp + 0x44], 0
jne 0x57bb35
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov byte [edx], al
mov dword [esp + 0x18], 0
jmp 0x578aec
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x57b28e
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x57acfd
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x57985e
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578f79
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x57b2ad
jmp 0x578f79
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x57bae8
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x78], 1
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], ebx
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x57a22c
lea eax, [esp + 0x80]
xor ecx, ecx
lea edx, [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call sym._cleanup_return
mov dword [esp + 0x24], eax
jmp 0x578ad0
test byte [esp + 0x34], 0xa
jne 0x57b786
xor eax, eax
test esi, esi
mov edx, dword [esp + 0x28]
setg al
sub esi, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov dword [esp + 0x34], 0x10
cmp eax, 0xffffffff
mov ebx, eax
setne al
test esi, esi
setne dl
and eax, edx
jmp 0x57ad6e
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
sub ecx, 1
lea edx, [esi + ecx*4]
cmove edx, esi
mov edx, dword [edx]
jmp 0x579ebe
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x579593
mov eax, dword [esp + 0x24]
mov edi, ebx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x74]
test eax, eax
cmovne edi, eax
lea eax, [esp + 0x80]
mov dword [esp], eax
mov eax, edi
call sym._cleanup_return
mov dword [esp + 0x24], eax
jmp 0x578ad0
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call dbg.resize_wbuf
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax], 0x30
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
test esi, esi
jle 0x57b3f7
sub esi, 1
mov dword [esp + 0x18], 1
je 0x5799dd
mov dword [esp], ebx
call sym._tolower
cmp eax, 0x78
je 0x57ba99
mov byte [esp + 0x48], 0x65
mov dword [esp + 0x18], 1
jmp 0x5799dd
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call dbg.resize_wbuf
mov dword [esp + 0x48], ebp
mov dword [esp + 0x80], eax
mov byte [eax], bl
mov eax, 1
mov ebp, eax
jmp 0x57b4a8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57b4ac
mov dword [esp], eax
call sym._tolower
mov edx, eax
movsx eax, byte [ebp + 0x58fd32]
cmp edx, eax
jne 0x57b4ac
xor eax, eax
test esi, esi
mov ecx, dword [esp + 0x80]
mov edx, edi
setg al
sub esi, eax
mov eax, ebp
call dbg.resize_wbuf
lea ecx, [ebp + 1]
cmp byte [ebp + 0x58fd33], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x18], ecx
mov byte [eax + ebp], bl
je 0x57b5e7
mov ebp, dword [esp + 0x18]
test esi, esi
jne 0x57b444
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x57b065
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x57b4b8
jmp 0x57b065
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x57985e
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x578f79
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x57b4e6
jmp 0x578f79
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
jmp 0x57b09b
call sym.__errno
mov dword [eax], 0x2a
jmp 0x5798db
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ebp
mov esi, ecx
mov ebp, ebx
mov dword [esp + 0x3c], edi
mov edi, ecx
lea edx, [eax + 1]
mov ebx, edx
lea eax, [esi + esi]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp], eax
call sym._realloc
test eax, eax
je 0x57bb4e
mov edx, dword [esp + 0x20]
mov ecx, edi
mov ebx, ebp
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov ebp, dword [esp + 0x28]
mov dword [edx], eax
add eax, ecx
mov dword [esp + 0x3c], eax
jmp 0x57a207
cmp dword [esp + 0x44], 0
jne 0x57ba69
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
jmp 0x578aec
mov eax, dword [esp + 0x24]
test eax, eax
cmove eax, dword [esp + 0x60]
mov ebx, eax
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
lea edx, [esp + 0x74]
mov eax, ebx
call sym._cleanup_return
mov dword [esp + 0x24], eax
jmp 0x578ad0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
jmp 0x57afa5
mov ebp, dword [esp + 0x48]
jmp 0x57a3e5
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x57b602
lea edx, [edi + ecx*4]
mov edx, dword [edx]
fstp dword [edx]
jmp 0x57a485
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x57b61d
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x57adb0
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x57abc4
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x57b64e
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x579df4
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x57b669
lea edx, [edi + ecx*4]
mov edx, dword [edx]
jmp 0x57a483
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x578d8f
cmp dword [esp + 0x24], 0
jne 0x5798db
mov dword [esp + 0x24], 0xffffffff
jmp 0x5798db
movzx eax, bl
jmp 0x578ecf
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x18], edx
test esi, esi
je 0x57a3e5
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x57a3e5
mov dword [esp], eax
call sym._tolower
cmp eax, 0x69
je 0x57b896
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov eax, ebx
mov edx, dword [esp + 0x14]
call sym._back_ch
jmp 0x57a3e5
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x57a360
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub edx, 1
lea eax, [ecx + edx*4]
cmove eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x579bc2
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x57a3c2
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
mov eax, dword [esp + 0x78]
sub eax, 1
mov dword [esp + 0x78], eax
jmp 0x57ac94
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x579d26
cmp ebx, 0xffffffff
setne al
test esi, esi
setne dl
and eax, edx
jmp 0x57ad6e
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x57b7aa
lea edx, [edi + ecx*4]
mov edx, dword [edx]
fstp xword [edx]
jmp 0x57a485
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x57b805
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov word [edx], ax
jmp 0x579df4
cmp dword [esp + 0x44], 0
je 0x57b1d1
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x57b7e8
mov ecx, 1
sub edx, 1
jne 0x57b7e3
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
test cl, cl
lea edx, [esi + edx*4 - 4]
cmove edx, esi
mov edx, dword [edx]
jmp 0x57b650
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x57b817
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x57b7c8
mov ecx, esi
mov esi, ebx
mov ebx, eax
movzx edx, byte [ecx + 1]
jmp 0x579f9b
mov dword [esp + 0x18], ebp
mov ebx, eax
mov ebp, dword [esp + 0x58]
jmp 0x57b0da
mov eax, ebp
test ah, 4
mov eax, 0xffffffff
cmove eax, dword [esp + 0x24]
jmp 0x57b5a7
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [esp], 1
mov edx, ebp
call sym._back_ch
jmp 0x5798db
mov eax, dword [esp + 0x2c]
mov ebx, edi
mov edi, dword [esp + 0x18]
add eax, 1
sub eax, edi
add ebx, eax
movzx ebx, byte [ebx]
jmp 0x57a55e
cmp edi, ebx
jae 0x57b952
mov eax, dword [esp + 0x20]
mov ebx, edi
mov edx, dword [eax]
jmp 0x57aa11
test esi, esi
jle 0x57b89d
sub esi, 1
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
mov edx, edi
call dbg.resize_wbuf
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x80], eax
add ecx, 2
mov byte [eax + edx], bl
mov dword [esp + 0x48], 0x58fd3a
mov ebp, ecx
jmp 0x57b8d8
mov ebp, dword [esp + 0x18]
test esi, esi
je 0x5798db
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x5798db
mov dword [esp], eax
call sym._tolower
mov edx, eax
mov eax, dword [esp + 0x48]
movsx eax, byte [eax + 1]
cmp edx, eax
jne 0x5798db
test esi, esi
jle 0x57b919
sub esi, 1
mov ecx, dword [esp + 0x80]
mov edx, edi
mov eax, ebp
call dbg.resize_wbuf
add dword [esp + 0x48], 1
lea ecx, [ebp + 1]
mov dword [esp + 0x80], eax
mov byte [eax + ebp], bl
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
cmp byte [eax + 1], 0
jne 0x57b8d4
mov ebp, dword [esp + 0x54]
jmp 0x57a3e5
mov eax, dword [esp + 0x4c]
test ah, 4
je 0x57b987
or eax, 0xffffffff
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x20]
mov dword [esp], edx
lea edx, [esp + 0x74]
call sym._cleanup_return
mov dword [esp + 0x24], eax
jmp 0x578ad0
mov eax, dword [esp + 0x48]
test ah, 4
jne 0x57b95b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
mov byte [eax + ecx - 1], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
add eax, 1
jmp 0x57b95e
cmp edi, ebx
jae 0x57b97e
mov eax, dword [esp + 0x20]
mov ebx, edi
mov edx, dword [eax]
jmp 0x57af55
mov ebp, dword [esp + 0x5c]
jmp 0x57a699
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x57b9ce
mov ecx, 1
sub edx, 1
jne 0x57b9c9
jmp 0x57ae05
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x57b9ea
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x57b1a1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jae 0x57ba37
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx]
jmp 0x57a8a3
mov esi, ebx
mov ebx, eax
jmp 0x579fa3
cmp dword [esp + 0x44], 0
je 0x57b1d1
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x57ba2d
mov ecx, 1
sub edx, 1
jne 0x57ba28
jmp 0x57b7ed
mov eax, dword [esp + 0x64]
test ah, 4
jne 0x57b95b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
mov word [eax + ecx*2 - 2], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
add eax, 1
jmp 0x57b95e
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x57ba7b
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x578aec
cmp ebx, edi
jae 0x57985e
mov eax, dword [esp + 0x20]
mov edi, ebx
mov edx, dword [eax]
jmp 0x5796a1
mov ecx, dword [esp + 0x80]
mov edx, edi
mov eax, 1
call dbg.resize_wbuf
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax + 1], bl
mov eax, ebp
and ah, 0xfe
or eax, 0x40
mov ebp, eax
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
test esi, esi
jle 0x57bb00
mov byte [esp + 0x48], 0x70
sub esi, 1
mov dword [esp + 0x18], 2
jmp 0x5799dd
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x57a22c
mov byte [esp + 0x48], 0x70
mov dword [esp + 0x18], 2
jmp 0x5799dd
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jae 0x57985e
mov eax, dword [esp + 0x20]
mov ebx, ecx
mov eax, dword [eax]
jmp 0x57943d
mov byte [esp + 0x5c], 1
jmp 0x579a92
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x57bb47
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x57b26d
cmp ebx, esi
jae 0x57bb59
mov esi, ebx
jmp 0x57b53f
mov eax, dword [esp + 0x58]
test ah, 4
je 0x57ba44
jmp 0x57b95b