Function at 0x402da0
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 0x404768
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 0x402e29
cmp byte [ecx], 0
mov eax, 0
cmovne eax, ecx
mov dword [esp + 0x2c], eax
movzx eax, byte [esi]
test al, al
je 0x404747
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 0x403010
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
movzx eax, byte [eax]
cmp al, 0x25
je 0x403088
movzx esi, al
mov dword [esp], esi
call sym._isspace
test eax, eax
jne 0x402f70
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 0x4045e8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402ee3
mov dword [esp], ebx
call sym._isspace
test eax, eax
jne 0x403390
cmp esi, ebx
je 0x403070
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x1004], 1
je 0x403c80
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 0x402f31
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x402f20
mov esi, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test esi, esi
je 0x402f51
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 0x402e80
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ecx, ecx
je 0x402fe1
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 0x402fa0
cmp ebx, 0xffffffff
je 0x402fe1
test byte [ebp + 0x1004], 1
je 0x405520
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 0x402f31
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x402ff0
jmp 0x402f31
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 0x402e88
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 0x403c99
movzx eax, byte [edi]
add edi, 1
cmp ebx, eax
jne 0x403c99
cmp edi, esi
jne 0x403046
jmp 0x403078
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edi
jmp 0x402f7c
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 0x403940
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x4030ca
cmp al, 0x27
je 0x4030e0
cmp al, 0x49
jne 0x403120
movzx eax, byte [edi + 1]
cmp al, 0x36
je 0x4030f0
cmp al, 0x33
je 0x403108
or ebp, 4
add edi, 1
cmp al, 0x2a
jne 0x4030b0
movzx eax, byte [edi + 1]
or ebp, 0x80
jmp 0x4030c7
mov edx, ebp
movzx eax, byte [edi + 1]
or dh, 1
test ecx, ecx
cmovne ebp, edx
jmp 0x4030c7
cmp byte [edi + 2], 0x34
jne 0x4030c4
movzx eax, byte [edi + 3]
or ebp, 0xc
add edi, 2
jmp 0x4030c7
cmp byte [edi + 2], 0x32
jne 0x4030c4
movzx eax, byte [edi + 3]
or ebp, 4
add edi, 2
jmp 0x4030c7
movzx edx, al
xor esi, esi
lea ecx, [edx - 0x30]
cmp ecx, 9
ja 0x404446
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 0x403138
test esi, esi
mov edx, 0xffffffff
cmove esi, edx
test al, al
je 0x404450
sub eax, 0x4c
cmp al, 0x2e
ja case.0x40316b.1
movzx eax, al
jmp dword [eax*4 + 0x4118e4]
movzx eax, byte [edi]
mov dword [esp + 0x48], edi
mov byte [esp + 0x28], al
lea esi, [esi]
nop
cmp byte [esp + 0x28], 0
je 0x404f7e
mov eax, dword [esp + 0x48]
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x403b40
movzx ecx, byte [esp + 0x28]
cmp cl, 0x5b
jne 0x403430
mov eax, ebp
mov ecx, ebp
and eax, 0x80
and ecx, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
jne 0x404001
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x403277
test ebp, 0x600
je 0x4053f8
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405ae0
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 0x405765
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 0x40405c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403245
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x403261
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 0x4032d9
mov dword [esp + 0x7c], 0x100
mov edx, 0x100
test eax, eax
je 0x4032ca
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 eax, dword [esp + 0x10]
movzx eax, byte [eax]
cmp al, 0x5d
je 0x404bb0
cmp al, 0x2d
je 0x404bb0
add dword [esp + 0x10], 1
test al, al
je 0x403d4b
mov edx, dword [esp + 0x10]
jmp 0x403347
mov ecx, dword [esp + 0x80]
mov byte [ecx + eax], 1
movzx eax, byte [edx - 1]
test al, al
je 0x403d4b
cmp al, 0x5d
je 0x404bce
add edx, 1
cmp al, 0x2d
jne 0x403330
movzx ebx, byte [edx - 1]
cmp bl, 0x5d
je 0x403330
test bl, bl
je 0x403330
movzx ecx, byte [edx - 3]
cmp cl, bl
ja 0x403330
jae 0x405b14
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 0x403371
jmp 0x40333f
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], esi
jmp 0x4033b0
mov dword [esp], eax
call sym._isspace
test eax, eax
je 0x403c6e
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov esi, eax
cmp eax, 0xffffffff
jne 0x4033a0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x403cce
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4033e9
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x4033d8
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test ebx, ebx
je 0x402f51
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx]
mov dword [esp], eax
call sym._free
mov dword [ebx], 0
jmp 0x402f51
lea eax, [edi + 1]
or ebp, 4
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x403188
mov eax, ecx
and eax, 0xffffffdf
cmp al, 0x43
je 0x403442
cmp cl, 0x6e
jne 0x403b40
movzx eax, byte [esp + 0x28]
cmp al, 0x63
je 0x4039b0
cmp al, 0x73
jne 0x4035b0
mov eax, ebp
and eax, 4
mov dword [esp + 0x18], eax
jne case.0x4035c3.46
mov edi, ebp
and edi, 0x80
jne 0x40350d
test ebp, 0x600
je 0x404eb4
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405619
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 0x405765
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 0x40405c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4034db
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x4034f7
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 0x4057f8
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 0x403581
mov ecx, dword [esp + 0x20]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
add ecx, edx
cmp eax, ecx
je 0x404e6d
test esi, esi
jle 0x40356b
sub esi, 1
je 0x4047c8
mov eax, dword [esp + 0x14]
mov edx, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x4047c8
mov dword [esp], ebx
call sym._isspace
test eax, eax
jne 0x404ff8
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x40355e
mov edx, dword [esp + 0x48]
mov byte [edi], bl
lea eax, [edi + 1]
test edx, edx
jne 0x403548
mov edi, eax
jmp 0x40355e
movzx eax, byte [esp + 0x28]
sub eax, 0x25
cmp al, 0x53
ja case.0x4035c3.1
movzx eax, al
jmp dword [eax*4 + 0x4119a0]
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x403674
test ebp, 0x600
je 0x403d6f
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x404f2a
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 0x405765
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 0x40405c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403642
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x40365e
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 0x405705
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 0x405733
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 0x404638
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov edi, eax
cmp eax, 0xffffffff
je 0x403c3e
mov byte [esp + 0x8b], al
jmp 0x4036f8
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x4037fe
test ebp, 0x600
je 0x403d16
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x404ef2
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 0x405765
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 0x40405c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4037d4
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x4037f0
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 0x40593e
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 0x4038e0
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4038e0
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 0x4038e0
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 0x405f82
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 0x4046e0
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov edi, eax
cmp eax, 0xffffffff
je 0x403be6
mov byte [esp + 0x8b], al
jmp 0x4038f6
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 0x403991
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 0x403970
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x10]
mov esi, edx
mov eax, ebp
mov edx, esi
cmp dl, 0x24
je 0x404476
mov dword [esp + 0x44], 0
jmp 0x4030a6
test ebp, 4
jne case.0x4035c3.30
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x40426e
mov edi, ebp
and edi, 0x600
je 0x404fa0
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4057dc
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 0x405765
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 0x405ca9
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403a4d
mov edx, dword [ebx]
mov eax, ebx
lea ebp, [edx + 1]
cmp edx, 0x1f
jbe 0x403a71
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 0x405afc
mov dword [esp + 0x44], edi
mov ebp, dword [esp + 0x14]
mov eax, ecx
jmp 0x403ae0
sub esi, 1
mov byte [eax], bl
lea edi, [eax + 1]
test esi, esi
jle 0x404dfe
mov edx, dword [esp + 0x28]
mov eax, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x404dfe
mov eax, edi
mov edx, dword [esp + 0x44]
test edx, edx
je 0x403ab8
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
lea edi, [edx + ecx]
cmp eax, edi
jne 0x403ab8
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 0x405ef4
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 0x403ab8
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 0x403b70
mov dword [esp], eax
call sym._isspace
test eax, eax
je 0x404482
cmp esi, 0xffffffff
je 0x403b87
lea edx, [esp + 0x78]
mov eax, ebx
call sym._in_ch
mov esi, eax
cmp eax, 0xffffffff
jne 0x403b60
mov esi, dword [esp + 0x18]
jmp 0x403ba4
mov dword [esp], 0xffffffff
call sym._isspace
test eax, eax
je 0x404627
call sym.__errno
cmp dword [eax], 4
jne 0x403b90
mov edi, dword [esp + 0x24]
test edi, edi
je 0x403cce
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4033e9
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 0x403bd0
jmp 0x4033e9
call sym.__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x403c11
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x403c00
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test eax, eax
je 0x402f51
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp], eax
call sym._free
mov dword [esi], 0
jmp 0x402f51
call sym.__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x4033e9
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x403c58
jmp 0x4033e9
mov ebx, esi
mov esi, dword [esp + 0x10]
jmp 0x402ee3
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x402f14
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x1004], 1
je 0x403fe8
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 0x40441f
lea edx, [esp + 0x80]
lea eax, [esp + 0x74]
call dbg.release_ptrs
mov dword [esp + 0x24], 0xffffffff
jmp 0x402f60
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4033e9
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x403d00
jmp 0x4033e9
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x404f46
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 0x4037fe
jmp 0x403d4b
fstp st(0)
jmp 0x403d4b
fstp st(0)
jmp 0x403d4b
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 0x402f60
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x404f0e
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 0x403674
jmp 0x403d4b
lea eax, [edi + 1]
or ebp, 0xc
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x403188
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 0x405a0c
mov eax, dword [esp + 0x60]
sub eax, 0x2b
and eax, 0xfffffffd
jne 0x404e47
test esi, esi
je 0x403d4b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x403d4b
xor eax, eax
test esi, esi
setg al
sub esi, eax
mov dword [esp], ebx
call sym._tolower
cmp eax, 0x6e
je 0x40588a
cmp eax, 0x69
je 0x405430
mov byte [esp + 0x48], 0x65
mov dword [esp + 0x18], 0
test esi, esi
je 0x403e4d
cmp ebx, 0x30
je 0x405825
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 0x403ee3
cmp byte [esp + 0x54], 0
je 0x404390
mov ecx, dword [esp + 0x80]
movzx eax, byte [esp + 0x48]
cmp byte [ecx + ebp - 1], al
je 0x404616
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 0x4044c1
test al, al
jne 0x4043fa
test esi, esi
jle 0x403f02
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x40482a
mov esi, dword [esp + 0x18]
lea esi, [esi]
lea eax, [ebx - 0x30]
sub esi, 1
cmp eax, 9
ja 0x403e68
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 0x40482a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x40482a
test esi, esi
jg 0x403ed8
jmp 0x403e60
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x6c
je 0x4047b1
lea eax, [edi + 1]
or ebp, 4
mov dword [esp + 0x48], eax
jmp 0x403188
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x6c
je 0x404780
lea eax, [edi + 1]
or ebp, 0x400
mov dword [esp + 0x48], eax
jmp 0x403188
movzx ecx, byte [edi + 1]
mov eax, ecx
mov byte [esp + 0x28], cl
and eax, 0xfffffff7
cmp al, 0x53
je 0x403f86
cmp cl, 0x73
jne case.0x40316b.1
lea eax, [edi + 1]
or ebp, 0x200
mov dword [esp + 0x48], eax
jmp 0x403188
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x68
je 0x40479a
lea eax, [edi + 1]
or ebp, 2
mov dword [esp + 0x48], eax
jmp 0x403188
lea eax, [edi + 1]
or ebp, 8
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x403188
movzx eax, byte [esp + 0x28]
sub eax, 0x58
cmp al, 0x20
ja case.0x403fe1.1
movzx eax, al
jmp dword [eax*4 + 0x411af0]
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x403cc2
test eax, eax
jne 0x403277
test ebp, 0x600
je 0x4054ee
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405b8c
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 0x405765
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 0x403231
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 0x402f60
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 0x4057f8
lea eax, [eax - 0x2b]
mov dword [esp + 0x54], 0
and eax, 0xfffffffd
je 0x4050ba
test esi, esi
setne dl
cmp ebx, 0x30
jne 0x40490f
test dl, dl
je 0x40490f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
lea ebx, [eax + 1]
mov dword [esp + 0x18], ebx
test esi, esi
jle 0x405185
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 0x4051b0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x54], eax
jne 0x404144
mov dword [esp + 0x34], 8
cmp dword [esp + 0x54], 1
jne 0x404160
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
sub eax, 0x2b
test al, 0xfd
je 0x404e62
lea edi, [esp + 0x7c]
cmp ebx, 0xffffffff
je 0x404196
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x405bde
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 0x404e50
test esi, esi
je 0x405290
call sym._strtoimax
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x80], ecx
je 0x403d4b
mov ecx, ebp
and ecx, 0x80
mov dword [esp + 0x18], ecx
jne 0x4042eb
test esi, esi
je 0x40522f
test edi, edi
jne 0x405154
test ebp, 4
jne 0x405635
test ebp, 2
jne 0x405c23
and ebp, 1
je 0x405c40
cmp dword [esp + 0x44], 0
jne 0x405e31
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 0x402f7c
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 0x405afc
mov eax, ebx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
jmp 0x4042ae
mov edx, edi
mov eax, ebx
call sym._in_ch
cmp eax, 0xffffffff
je 0x4042b5
sub esi, 1
test esi, esi
jg 0x4042a0
mov dword [esp + 0x18], 0
mov ebx, eax
jmp 0x402f7c
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 0x4057f8
cmp eax, 0x25
jne 0x405cbd
mov dword [esp + 0x18], 0
jmp 0x402f7c
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x4042eb
mov eax, dword [esp + 0x78]
test ebp, 8
je 0x4051f8
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x4057c4
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 0x402f7c
mov eax, ebp
mov dword [esp + 0x34], 0x10
and eax, 0xfffffff1
or eax, 0x24
mov ebp, eax
jmp case.0x403fe1.1
mov dword [esp + 0x34], 0
or ebp, 0x10
jmp case.0x403fe1.1
mov dword [esp + 0x34], 0xa
or ebp, 0x10
jmp case.0x403fe1.1
mov dword [esp + 0x34], 0xa
jmp case.0x403fe1.1
mov dword [esp + 0x34], 8
jmp case.0x403fe1.1
test byte [esp + 0x58], 0x40
je 0x4043a7
mov dword [esp], ebx
call sym._isxdigit
test eax, eax
jne 0x403ee3
test ebp, ebp
je 0x403e89
mov dword [esp], ebx
call sym._tolower
cmp byte [esp + 0x48], al
jne 0x403e89
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 0x403f02
je 0x405359
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x405539
mov edi, eax
movzx edx, byte [edi]
test dl, dl
jne 0x405539
test esi, esi
cmovg esi, dword [esp + 0x18]
jmp 0x403f02
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4033e9
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x404430
jmp 0x4033e9
mov esi, 0xffffffff
jmp 0x403159
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403c11
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x404460
jmp 0x403c11
movzx eax, byte [ecx + 1]
lea edi, [ecx + 1]
jmp 0x4030a6
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 0x404f62
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 0x403442
movzx edx, al
mov edi, dword [esp + 0x50]
cmp edx, ebx
jne 0x404524
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 0x404580
test ebx, ebx
je 0x405141
mov edx, dword [esp + 0x28]
mov eax, ebp
call sym._in_ch
cmp eax, 0xffffffff
je 0x405128
movzx esi, byte [edi]
sub ebx, 1
cmp eax, esi
je 0x4044e0
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 0x40458e
test dword [esp + 0x58], 0x100
je 0x4043fa
mov eax, edi
sub eax, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x4043f4
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x2c]
jmp 0x40456b
add edi, 1
mov ecx, edi
sub ecx, ebp
cmp ecx, eax
jge 0x40534b
movzx edx, byte [edi]
cmp dl, byte [ebx + ecx]
je 0x40455c
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
jmp 0x40440b
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 0x4045cd
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 0x4045a0
mov ebp, edi
test esi, esi
jle 0x405f9b
mov byte [esp + 0x5c], 1
mov esi, dword [esp + 0x18]
jmp 0x403f02
mov eax, dword [esp + 0x24]
test eax, eax
je 0x403cce
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403c11
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x404600
jmp 0x403c11
lea eax, [ebx - 0x2b]
and eax, 0xfffffffd
jne 0x403e89
jmp 0x403eea
call sym.__errno
mov ebx, 0xffffffff
mov dword [eax], edi
jmp 0x403442
mov ecx, ebx
mov ebx, edi
mov edi, ecx
cmp eax, 1
jne 0x405988
mov eax, dword [esp + 0x18]
add dword [esp + 0x3c], 2
mov esi, dword [esp + 0x3c]
test eax, eax
jne 0x404677
mov eax, dword [esp + 0x54]
test eax, eax
je 0x404677
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 0x405998
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x404688
sub eax, 1
mov dword [esp + 0x48], eax
je 0x40469c
mov edx, edi
mov eax, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4036ce
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x4042eb
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 0x402f7c
mov ecx, ebx
mov ebx, edi
mov edi, ecx
cmp eax, 1
jne 0x405988
sub dword [esp + 0x48], 1
mov eax, dword [esp + 0x48]
add dword [esp + 0x3c], 2
test eax, eax
jle 0x404715
mov edx, ecx
mov eax, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
jne 0x403853
cmp dword [esp + 0x18], 0
jne 0x4042eb
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 0x402f7c
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
test ebx, ebx
jne 0x402ff0
jmp 0x402f51
call sym.__errno
mov dword [esp + 0x24], 0xffffffff
mov dword [eax], 0x16
jmp 0x402f60
lea eax, [edi + 2]
or ebp, 0x404
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x403188
lea eax, [edi + 2]
or ebp, 1
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x403188
lea eax, [edi + 2]
or ebp, 0xc
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x403188
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x402f7c
mov eax, dword [esp + 0x4c]
mov byte [eax], 0
mov edi, dword [esp + 0x20]
lea esi, [eax + 1]
test edi, edi
je 0x40480c
mov eax, dword [edi]
test eax, eax
je 0x40480c
mov edx, esi
sub edx, eax
cmp dword [esp + 0x40], edx
je 0x40480c
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._realloc
test eax, eax
je 0x40480c
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 0x402f7c
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x403d4b
test ebp, 0x40
je 0x404851
cmp dword [esp + 0x18], 2
je 0x403d4b
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 0x40529a
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x84]
and ebp, 4
mov dword [esp + 4], edx
mov dword [esp], eax
je 0x4052fb
call dbg.__strtold
test esi, esi
jne 0x404fd0
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
cmp esi, eax
je 0x403d41
cmp dword [esp + 0x60], 0x2d
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
jne 0x4048da
fchs
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x405ac7
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp qword [edx]
cmp eax, esi
je 0x403d4b
add dword [esp + 0x24], 1
mov dword [esp + 0x18], 0
jmp 0x402f7c
cmp ebx, 0xffffffff
setne al
and eax, edx
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x404927
mov dword [esp + 0x34], 0xa
test al, al
je 0x4049ce
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 0x4049b7
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x404a58
lea eax, [ebx - 0x2f]
cmp eax, dword [esp + 0x34]
jg 0x404a58
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 0x4049ca
test edi, edi
je 0x4049ca
cmp dword [esp + 0x34], 0x10
jne 0x404950
mov dword [esp], ebx
call sym._isxdigit
test eax, eax
jne 0x404969
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x404144
test ebp, 0x20
je 0x404e62
mov dword [esp], ebx
call sym._tolower
cmp al, 0x28
jne 0x404e62
mov esi, 0x4118d1
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x14]
mov ebp, esi
mov esi, dword [esp + 0x28]
jmp 0x404a25
mov dword [esp], eax
call sym._tolower
cmp byte [ebp], al
jne 0x404a35
add ebp, 1
cmp byte [ebp], 0
je 0x405671
mov edx, esi
mov eax, edi
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
jne 0x404a0b
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 0x403d4b
cmp dword [esp + 0x34], 0xa
jne 0x4049ca
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4049ca
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 0x40511f
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 0x404b90
test ebx, ebx
je 0x404afb
mov edx, dword [esp + 0x18]
mov eax, ebp
call sym._in_ch
cmp eax, 0xffffffff
je 0x404b9d
movzx esi, byte [edi]
sub ebx, 1
cmp eax, esi
je 0x404aa0
mov ecx, ebx
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x18]
test al, al
jne 0x405e28
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 0x404976
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0x2c]
jbe 0x4049ce
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 0x405ce9
mov dword [esp + 0x18], edi
mov esi, ebx
mov edi, ebx
mov ebx, dword [esp + 0x14]
jmp 0x404b69
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 0x405cd8
movzx ecx, byte [esi]
test byte [ebx + 0x1004], 1
jne 0x404b44
mov eax, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x404b5c
mov ecx, ebx
mov esi, dword [esp + 0x18]
mov ebx, eax
jmp 0x404ae2
mov edx, esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
mov ebx, eax
movzx eax, byte [edx + 1]
jmp 0x404ada
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
add ecx, 1
mov byte [edx + eax], 1
movzx eax, byte [ecx]
mov dword [esp + 0x10], ecx
jmp 0x403315
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
test edx, edx
je 0x404d63
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 0x4057f8
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 0x404c6d
sub esi, 1
je 0x405032
mov edx, ebx
mov eax, ebp
call sym._in_ch
mov edx, eax
cmp eax, 0xffffffff
je 0x405032
mov eax, dword [esp + 0x80]
movzx ecx, byte [esp + 0x44]
cmp byte [eax + edx], cl
je 0x4055b8
test edi, edi
jne 0x404c50
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 0x404ee8
mov eax, dword [esp + 0x5c]
add dword [esp + 0x3c], 2
test eax, eax
je 0x404d56
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 0x404c50
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 0x405e61
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 0x404c50
mov dword [esp + 0x48], 0
jmp 0x404c50
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 0x4057f8
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 0x404dd0
mov ecx, dword [esp + 0x20]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
add ecx, edx
cmp eax, ecx
je 0x4053b1
sub esi, 1
je 0x4050fc
mov eax, dword [esp + 0x14]
mov edx, ebp
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x4050fc
mov eax, dword [esp + 0x80]
movzx ecx, byte [esp + 0x44]
cmp byte [eax + ebx], cl
je 0x40557c
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x404db1
mov byte [edi], bl
lea eax, [edi + 1]
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x404d9b
mov edi, eax
jmp 0x404db1
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edi
test eax, eax
je 0x404735
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
test eax, eax
je 0x404735
mov edx, dword [esp + 0x4c]
sub edx, eax
cmp dword [esp + 0x40], edx
je 0x404735
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._realloc
test eax, eax
je 0x404735
mov dword [esi], eax
jmp 0x404735
mov ebx, dword [esp + 0x60]
jmp 0x403e19
test esi, esi
je 0x40517b
call sym._strtol
jmp 0x4041f3
mov ebp, dword [esp + 0x14]
mov edi, ebx
jmp 0x404a39
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 0x405cf1
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 0x40355e
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405655
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 0x40350d
jmp 0x403d4b
add dword [esp + 0x48], 1
jmp 0x404c59
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 0x403786
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 0x403d8c
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 0x403604
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 0x403d33
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 0x403442
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403c11
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x404f8a
jmp 0x403c11
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x4056a0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
test ecx, ecx
jne 0x403a7f
jmp 0x403d4b
fstp st(0)
jmp 0x404fda
fstp st(0)
jmp 0x404fda
fstp st(0)
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x80], eax
jne 0x4042eb
jmp 0x403d4b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
test byte [eax + 0x1004], 1
je 0x405b74
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 0x4047d0
mov ebx, edx
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x405988
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x78]
je 0x403d4b
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], 0
test ecx, ecx
jne 0x402f7c
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 0x40509c
mov eax, dword [edi]
test eax, eax
je 0x40509c
mov ecx, dword [esp + 0x40]
mov edx, esi
sub edx, eax
add ecx, ecx
cmp ecx, edx
je 0x40509c
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._realloc
test eax, eax
je 0x40509c
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 0x402f7c
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 0x4040ca
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x58], eax
je 0x403d4b
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x402f7c
jmp 0x4047d8
mov edi, dword [esp + 0x2c]
jmp 0x404ada
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 0x404524
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x18], ebx
mov ebx, eax
jmp 0x404528
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x4056ec
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 0x404264
call sym._strtoul
jmp 0x4041f3
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 0x405787
test esi, esi
mov edi, dword [esp + 0x34]
setne al
cmp ebx, 0xffffffff
setne dl
and eax, edx
test edi, edi
jne 0x4051de
mov dword [esp + 0x34], 8
test al, al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
jne 0x40492f
jmp 0x404144
mov ecx, ebp
and ecx, 4
mov dword [esp + 0x18], ecx
je 0x4055ec
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x405a7b
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 0x402f7c
test edi, edi
jne 0x405154
test ebp, 4
jne 0x405635
test ebp, 2
jne 0x405c23
and ebp, 1
je 0x405e85
cmp dword [esp + 0x44], 0
je 0x404255
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x405270
mov ecx, 1
sub edx, 1
jne 0x40526b
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 0x404262
call sym._strtoumax
jmp 0x4041ef
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 0x404fd4
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
cmp esi, eax
je 0x403d45
cmp dword [esp + 0x60], 0x2d
jne 0x4052db
fchs
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x405c08
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp xword [edx]
jmp 0x4048f5
call dbg.__strtof
test esi, esi
jne 0x404fd8
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
cmp esi, eax
je 0x403d49
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 0x405a60
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp dword [edx]
jmp 0x4048f5
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
jne 0x404408
movzx eax, byte [edi]
mov edx, eax
cmp eax, ebx
jne 0x40440b
mov eax, ebx
mov ebx, esi
mov esi, edi
add edi, 1
cmp byte [edi], 0
je 0x405e7c
mov edx, dword [esp + 0x18]
test edx, edx
je 0x405c9a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
cmp eax, 0xffffffff
je 0x405c8b
movzx esi, byte [edi]
sub dword [esp + 0x18], 1
mov edx, esi
cmp eax, esi
je 0x40536a
mov esi, ebx
mov ebx, eax
jmp 0x40440b
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 0x405e17
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 0x404db1
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405a3b
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 0x403277
jmp 0x403d4b
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 0x4054b8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x4054bc
mov dword [esp], eax
call sym._tolower
mov edx, eax
movsx eax, byte [ebp + 0x4118da]
cmp edx, eax
jne 0x4054bc
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 + 0x4118db], 0
lea edx, [ebp + 1]
mov dword [esp + 0x80], eax
mov byte [eax + ebp], bl
je 0x405b1c
mov ebp, edx
test esi, esi
jne 0x40545a
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4054d5
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x4054c4
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test ebx, ebx
jne 0x403401
jmp 0x402f51
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x40596c
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 0x403277
jmp 0x403d4b
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x402fe1
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x58]
cmp ebx, 0xffffffff
je 0x404832
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x405ba8
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 0x404832
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
test byte [eax + 0x1004], 1
je 0x405bc0
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 0x405104
mov eax, dword [esp + 0x14]
mov ebx, edx
test byte [eax + 0x1004], 1
je 0x405a94
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 0x405034
test ebp, 2
je 0x4056b8
mov edx, dword [esp + 0x44]
test edx, edx
jne 0x405e48
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov word [edx], ax
jmp 0x402f7c
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 0x40349d
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x405aac
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
jmp 0x404264
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 0x404ed1
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 0x404196
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 0x404fb9
and ebp, 1
mov dword [esp + 0x18], ebp
je 0x4059ed
cmp dword [esp + 0x44], 0
jne 0x405fa5
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 0x402f7c
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x4056fe
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x40516d
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x403cce
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4033e9
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x40571d
jmp 0x4033e9
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x405f58
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 0x40469c
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 0x402f60
test byte [esp + 0x34], 0xa
jne 0x405bf6
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
test esi, esi
mov dword [esp + 0x34], 0x10
mov ebx, eax
setne al
cmp ebx, 0xffffffff
setne dl
and eax, edx
jmp 0x4051de
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 0x40432e
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 0x403a03
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 0x402f60
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 0x405867
sub esi, 1
mov dword [esp + 0x18], 1
je 0x403e4d
mov dword [esp], ebx
call sym._tolower
cmp eax, 0x78
je 0x405f09
mov byte [esp + 0x48], 0x65
mov dword [esp + 0x18], 1
jmp 0x403e4d
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 0x405918
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x40591c
mov dword [esp], eax
call sym._tolower
mov edx, eax
movsx eax, byte [ebp + 0x4118d6]
cmp edx, eax
jne 0x40591c
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 + 0x4118d7], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x18], ecx
mov byte [eax + ebp], bl
je 0x405a57
mov ebp, dword [esp + 0x18]
test esi, esi
jne 0x4058b4
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4054d5
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x405928
jmp 0x4054d5
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x403cce
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4033e9
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sym._free
test ebx, ebx
jne 0x405956
jmp 0x4033e9
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 0x40550b
call sym.__errno
mov dword [eax], 0x2a
jmp 0x403d4b
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 0x405fbe
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 0x404677
cmp dword [esp + 0x44], 0
jne 0x405ed9
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
jmp 0x402f7c
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 0x402f60
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 0x405415
mov ebp, dword [esp + 0x48]
jmp 0x404855
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x405a72
lea edx, [edi + ecx*4]
mov edx, dword [edx]
fstp dword [edx]
jmp 0x4048f5
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405a8d
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x405220
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x405034
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405abe
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x404264
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x405ad9
lea edx, [edi + ecx*4]
mov edx, dword [edx]
jmp 0x4048f3
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 0x403207
cmp dword [esp + 0x24], 0
jne 0x403d4b
mov dword [esp + 0x24], 0xffffffff
jmp 0x403d4b
movzx eax, bl
jmp 0x403347
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x18], edx
test esi, esi
je 0x404855
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x404855
mov dword [esp], eax
call sym._tolower
cmp eax, 0x69
je 0x405d06
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov eax, ebx
mov edx, dword [esp + 0x14]
call sym._back_ch
jmp 0x404855
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x4047d0
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 0x404032
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x404832
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 0x405104
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x404196
test esi, esi
setne al
cmp ebx, 0xffffffff
setne dl
and eax, edx
jmp 0x4051de
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x405c1a
lea edx, [edi + ecx*4]
mov edx, dword [edx]
fstp xword [edx]
jmp 0x4048f5
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x405c75
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov word [edx], ax
jmp 0x404264
cmp dword [esp + 0x44], 0
je 0x405641
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x405c58
mov ecx, 1
sub edx, 1
jne 0x405c53
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 0x405ac0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405c87
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x405c38
mov ecx, esi
mov esi, ebx
mov ebx, eax
movzx edx, byte [ecx + 1]
jmp 0x40440b
mov dword [esp + 0x18], ebp
mov ebx, eax
mov ebp, dword [esp + 0x58]
jmp 0x40554a
mov eax, ebp
test ah, 4
mov eax, 0xffffffff
cmove eax, dword [esp + 0x24]
jmp 0x405a17
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [esp], 1
mov edx, ebp
call sym._back_ch
jmp 0x403d4b
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 0x4049ce
cmp edi, ebx
jae 0x405dc2
mov eax, dword [esp + 0x20]
mov ebx, edi
mov edx, dword [eax]
jmp 0x404e81
test esi, esi
jle 0x405d0d
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], 0x4118de
mov ebp, ecx
jmp 0x405d48
mov ebp, dword [esp + 0x18]
test esi, esi
je 0x403d4b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call sym._in_ch
mov ebx, eax
cmp eax, 0xffffffff
je 0x403d4b
mov dword [esp], eax
call sym._tolower
mov edx, eax
mov eax, dword [esp + 0x48]
movsx eax, byte [eax + 1]
cmp edx, eax
jne 0x403d4b
test esi, esi
jle 0x405d89
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 0x405d44
mov ebp, dword [esp + 0x54]
jmp 0x404855
mov eax, dword [esp + 0x4c]
test ah, 4
je 0x405df7
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 0x402f60
mov eax, dword [esp + 0x48]
test ah, 4
jne 0x405dcb
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 0x405dce
cmp edi, ebx
jae 0x405dee
mov eax, dword [esp + 0x20]
mov ebx, edi
mov edx, dword [eax]
jmp 0x4053c5
mov ebp, dword [esp + 0x5c]
jmp 0x404b09
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x405e3e
mov ecx, 1
sub edx, 1
jne 0x405e39
jmp 0x405275
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405e5a
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x405611
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jae 0x405ea7
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx]
jmp 0x404d13
mov esi, ebx
mov ebx, eax
jmp 0x404413
cmp dword [esp + 0x44], 0
je 0x405641
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x405e9d
mov ecx, 1
sub edx, 1
jne 0x405e98
jmp 0x405c5d
mov eax, dword [esp + 0x64]
test ah, 4
jne 0x405dcb
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 0x405dce
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405eeb
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x402f7c
cmp ebx, edi
jae 0x403cce
mov eax, dword [esp + 0x20]
mov edi, ebx
mov edx, dword [eax]
jmp 0x403b11
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 0x405f70
mov byte [esp + 0x48], 0x70
sub esi, 1
mov dword [esp + 0x18], 2
jmp 0x403e4d
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._ungetc
sub dword [esp + 0x78], 1
jmp 0x40469c
mov byte [esp + 0x48], 0x70
mov dword [esp + 0x18], 2
jmp 0x403e4d
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jae 0x403cce
mov eax, dword [esp + 0x20]
mov ebx, ecx
mov eax, dword [eax]
jmp 0x4038ad
mov byte [esp + 0x5c], 1
jmp 0x403f02
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405fb7
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x4056dd
cmp ebx, esi
jae 0x405fc9
mov esi, ebx
jmp 0x4059af
mov eax, dword [esp + 0x58]
test ah, 4
je 0x405eb4
jmp 0x405dcb