Function at 0x402a90
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 0x404458
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call sub.msvcrt.dll_localeconv
mov eax, dword [eax]
mov dword [esp + 0x50], eax
call sub.msvcrt.dll_localeconv
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x402b19
cmp byte [ecx], 0
mov eax, 0
cmovne eax, ecx
mov dword [esp + 0x2c], eax
movzx eax, byte [esi]
test al, al
je 0x404437
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 0x402d00
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
movzx eax, byte [eax]
cmp al, 0x25
je 0x402d78
movzx esi, al
mov dword [esp], esi
call sub.msvcrt.dll_isspace
test eax, eax
jne 0x402c60
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4042d8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402bd3
mov dword [esp], ebx
call sub.msvcrt.dll_isspace
test eax, eax
jne 0x403080
cmp esi, ebx
je 0x402d60
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x1004], 1
je 0x403970
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 0x402c21
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x402c10
mov esi, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test esi, esi
je 0x402c41
mov eax, dword [esi]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esi], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sub.msvcrt.dll_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 0x402b70
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ecx, ecx
je 0x402cd1
lea esi, [esp + 0x78]
lea esi, [esi]
nop
mov edx, esi
mov eax, ebp
call fcn.004029a0
mov dword [esp], eax
mov ebx, eax
call sub.msvcrt.dll_isspace
test eax, eax
jne 0x402c90
cmp ebx, 0xffffffff
je 0x402cd1
test byte [ebp + 0x1004], 1
je 0x405210
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 0x402c21
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x402ce0
jmp 0x402c21
mov esi, dword [esp + 0x10]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
lea edx, [esp + 0x90]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.0040eeb0
test eax, eax
jle 0x402b78
mov edi, dword [esp + 0x10]
lea ebp, [esp + 0x78]
lea esi, [edi + eax]
mov eax, dword [esp + 0x14]
mov edx, ebp
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x403989
movzx eax, byte [edi]
add edi, 1
cmp ebx, eax
jne 0x403989
cmp edi, esi
jne 0x402d36
jmp 0x402d68
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edi
jmp 0x402c6c
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 0x403630
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x402dba
cmp al, 0x27
je 0x402dd0
cmp al, 0x49
jne 0x402e10
movzx eax, byte [edi + 1]
cmp al, 0x36
je 0x402de0
cmp al, 0x33
je 0x402df8
or ebp, 4
add edi, 1
cmp al, 0x2a
jne 0x402da0
movzx eax, byte [edi + 1]
or ebp, 0x80
jmp 0x402db7
mov edx, ebp
movzx eax, byte [edi + 1]
or dh, 1
test ecx, ecx
cmovne ebp, edx
jmp 0x402db7
cmp byte [edi + 2], 0x34
jne 0x402db4
movzx eax, byte [edi + 3]
or ebp, 0xc
add edi, 2
jmp 0x402db7
cmp byte [edi + 2], 0x32
jne 0x402db4
movzx eax, byte [edi + 3]
or ebp, 4
add edi, 2
jmp 0x402db7
movzx edx, al
xor esi, esi
lea ecx, [edx - 0x30]
cmp ecx, 9
ja 0x404136
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 0x402e28
test esi, esi
mov edx, 0xffffffff
cmove esi, edx
test al, al
je 0x404140
sub eax, 0x4c
cmp al, 0x2e
ja case.0x402e5b.1
movzx eax, al
jmp dword [eax*4 + 0x4118a4]
movzx eax, byte [edi]
mov dword [esp + 0x48], edi
mov byte [esp + 0x28], al
lea esi, [esi]
nop
cmp byte [esp + 0x28], 0
je 0x404c6e
mov eax, dword [esp + 0x48]
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x403830
movzx ecx, byte [esp + 0x28]
cmp cl, 0x5b
jne 0x403120
mov eax, ebp
mov ecx, ebp
and eax, 0x80
and ecx, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], ecx
jne 0x403cf1
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x402f67
test ebp, 0x600
je 0x4050e8
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4057d0
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 0x405455
mov dword [esp], 0x64
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [ecx], eax
test eax, eax
je 0x403d4c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x402f35
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x402f51
mov dword [esp], 0x88
call sub.msvcrt.dll_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 0x402fc9
mov dword [esp + 0x7c], 0x100
mov edx, 0x100
test eax, eax
je 0x402fba
mov dword [esp], eax
call sub.msvcrt.dll_free
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call sub.msvcrt.dll_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 0x4048a0
cmp al, 0x2d
je 0x4048a0
add dword [esp + 0x10], 1
test al, al
je 0x403a3b
mov edx, dword [esp + 0x10]
jmp 0x403037
mov ecx, dword [esp + 0x80]
mov byte [ecx + eax], 1
movzx eax, byte [edx - 1]
test al, al
je 0x403a3b
cmp al, 0x5d
je 0x4048be
add edx, 1
cmp al, 0x2d
jne 0x403020
movzx ebx, byte [edx - 1]
cmp bl, 0x5d
je 0x403020
test bl, bl
je 0x403020
movzx ecx, byte [edx - 3]
cmp cl, bl
ja 0x403020
jae 0x405804
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 0x403061
jmp 0x40302f
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], esi
jmp 0x4030a0
mov dword [esp], eax
call sub.msvcrt.dll_isspace
test eax, eax
je 0x40395e
mov edx, ebx
mov eax, ebp
call fcn.004029a0
mov esi, eax
cmp eax, 0xffffffff
jne 0x403090
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4039be
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4030d9
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x4030c8
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test ebx, ebx
je 0x402c41
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebx], 0
jmp 0x402c41
lea eax, [edi + 1]
or ebp, 4
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x402e78
mov eax, ecx
and eax, 0xffffffdf
cmp al, 0x43
je 0x403132
cmp cl, 0x6e
jne 0x403830
movzx eax, byte [esp + 0x28]
cmp al, 0x63
je 0x4036a0
cmp al, 0x73
jne 0x4032a0
mov eax, ebp
and eax, 4
mov dword [esp + 0x18], eax
jne case.0x4032b3.46
mov edi, ebp
and edi, 0x80
jne 0x4031fd
test ebp, 0x600
je 0x404ba4
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405309
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 0x405455
mov dword [esp], 0x64
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [ecx], eax
test eax, eax
je 0x403d4c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4031cb
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x4031e7
mov dword [esp], 0x88
call sub.msvcrt.dll_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 fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4054e8
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 0x403271
mov ecx, dword [esp + 0x20]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
add ecx, edx
cmp eax, ecx
je 0x404b5d
test esi, esi
jle 0x40325b
sub esi, 1
je 0x4044b8
mov eax, dword [esp + 0x14]
mov edx, ebp
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4044b8
mov dword [esp], ebx
call sub.msvcrt.dll_isspace
test eax, eax
jne 0x404ce8
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x40324e
mov edx, dword [esp + 0x48]
mov byte [edi], bl
lea eax, [edi + 1]
test edx, edx
jne 0x403238
mov edi, eax
jmp 0x40324e
movzx eax, byte [esp + 0x28]
sub eax, 0x25
cmp al, 0x53
ja case.0x4032b3.1
movzx eax, al
jmp dword [eax*4 + 0x411960]
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x403364
test ebp, 0x600
je 0x403a5f
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x404c1a
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 0x405455
mov dword [esp], 0xc8
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [ecx], eax
test eax, eax
je 0x403d4c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403332
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x40334e
mov dword [esp], 0x88
call sub.msvcrt.dll_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 fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4053f5
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 sub.msvcrt.dll_isspace
test eax, eax
jne 0x405423
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 fcn.0040ed10
cmp eax, 0xfffffffe
jne 0x404328
mov edx, ebx
mov eax, ebp
call fcn.004029a0
mov edi, eax
cmp eax, 0xffffffff
je 0x40392e
mov byte [esp + 0x8b], al
jmp 0x4033e8
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x4034ee
test ebp, 0x600
je 0x403a06
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x404be2
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 0x405455
cmp esi, 0x400
mov eax, 0x400
cmovle eax, esi
mov dword [esp + 0x40], eax
add eax, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [ecx], eax
test eax, eax
je 0x403d4c
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4034c4
mov edx, dword [ebx]
mov eax, ebx
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x4034e0
mov dword [esp], 0x88
call sub.msvcrt.dll_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 fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x40562e
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 0x4035d0
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4035d0
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 0x4035d0
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 sub.msvcrt.dll_realloc
test eax, eax
je 0x405c72
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 fcn.0040ed10
cmp eax, 0xfffffffe
jne 0x4043d0
mov edx, ebx
mov eax, ebp
call fcn.004029a0
mov edi, eax
cmp eax, 0xffffffff
je 0x4038d6
mov byte [esp + 0x8b], al
jmp 0x4035e6
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 0x403681
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 0x403660
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x10]
mov esi, edx
mov eax, ebp
mov edx, esi
cmp dl, 0x24
je 0x404166
mov dword [esp + 0x44], 0
jmp 0x402d96
test ebp, 4
jne case.0x4032b3.30
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x403f5e
mov edi, ebp
and edi, 0x600
je 0x404c90
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4054cc
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 0x405455
cmp esi, 0x400
mov eax, 0x400
cmovle eax, esi
mov dword [esp], eax
mov dword [esp + 0x40], eax
call sub.msvcrt.dll_malloc
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x405999
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x40373d
mov edx, dword [ebx]
mov eax, ebx
lea ebp, [edx + 1]
cmp edx, 0x1f
jbe 0x403761
mov dword [esp], 0x88
mov ebp, 1
mov dword [esp + 0x28], ecx
call sub.msvcrt.dll_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 fcn.004029a0
mov ecx, dword [esp + 0x44]
cmp eax, 0xffffffff
mov ebx, eax
je 0x4057ec
mov dword [esp + 0x44], edi
mov ebp, dword [esp + 0x14]
mov eax, ecx
jmp 0x4037d0
sub esi, 1
mov byte [eax], bl
lea edi, [eax + 1]
test esi, esi
jle 0x404aee
mov edx, dword [esp + 0x28]
mov eax, ebp
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x404aee
mov eax, edi
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4037a8
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
lea edi, [edx + ecx]
cmp eax, edi
jne 0x4037a8
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 sub.msvcrt.dll_realloc
test eax, eax
je 0x405be4
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 0x4037a8
call sub.msvcrt.dll__errno
mov edi, dword [eax]
call sub.msvcrt.dll__errno
mov dword [esp + 0x18], esi
mov esi, ebx
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
jmp 0x403860
mov dword [esp], eax
call sub.msvcrt.dll_isspace
test eax, eax
je 0x404172
cmp esi, 0xffffffff
je 0x403877
lea edx, [esp + 0x78]
mov eax, ebx
call fcn.004029a0
mov esi, eax
cmp eax, 0xffffffff
jne 0x403850
mov esi, dword [esp + 0x18]
jmp 0x403894
mov dword [esp], 0xffffffff
call sub.msvcrt.dll_isspace
test eax, eax
je 0x404317
call sub.msvcrt.dll__errno
cmp dword [eax], 4
jne 0x403880
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4039be
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4030d9
lea esi, [esi]
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x4038c0
jmp 0x4030d9
call sub.msvcrt.dll__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x403901
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x4038f0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test eax, eax
je 0x402c41
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esi], 0
jmp 0x402c41
call sub.msvcrt.dll__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x4030d9
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x403948
jmp 0x4030d9
mov ebx, esi
mov esi, dword [esp + 0x10]
jmp 0x402bd3
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x402c04
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x1004], 1
je 0x403cd8
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 0x40410f
lea edx, [esp + 0x80]
lea eax, [esp + 0x74]
call fcn.00402810
mov dword [esp + 0x24], 0xffffffff
jmp 0x402c50
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4030d9
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x4039f0
jmp 0x4030d9
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x404c36
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 0x4034ee
jmp 0x403a3b
fstp st(0)
jmp 0x403a3b
fstp st(0)
jmp 0x403a3b
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 fcn.00402910
mov dword [esp + 0x24], eax
jmp 0x402c50
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x404bfe
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 0x403364
jmp 0x403a3b
lea eax, [edi + 1]
or ebp, 0xc
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x402e78
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 fcn.004029a0
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
je 0x4056fc
mov eax, dword [esp + 0x60]
sub eax, 0x2b
and eax, 0xfffffffd
jne 0x404b37
test esi, esi
je 0x403a3b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x403a3b
xor eax, eax
test esi, esi
setg al
sub esi, eax
mov dword [esp], ebx
call sub.msvcrt.dll_tolower
cmp eax, 0x6e
je 0x40557a
cmp eax, 0x69
je 0x405120
mov byte [esp + 0x48], 0x65
mov dword [esp + 0x18], 0
test esi, esi
je 0x403b3d
cmp ebx, 0x30
je 0x405515
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 0x403bd3
cmp byte [esp + 0x54], 0
je 0x404080
mov ecx, dword [esp + 0x80]
movzx eax, byte [esp + 0x48]
cmp byte [ecx + ebp - 1], al
je 0x404306
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 0x4041b1
test al, al
jne 0x4040ea
test esi, esi
jle 0x403bf2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x40451a
mov esi, dword [esp + 0x18]
lea esi, [esi]
lea eax, [ebx - 0x30]
sub esi, 1
cmp eax, 9
ja 0x403b58
mov ecx, dword [esp + 0x80]
mov eax, ebp
lea edx, [esp + 0x7c]
call fcn.00402890
mov dword [esp + 0x80], eax
mov byte [eax + ebp], bl
add ebp, 1
test esi, esi
je 0x40451a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x40451a
test esi, esi
jg 0x403bc8
jmp 0x403b50
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x6c
je 0x4044a1
lea eax, [edi + 1]
or ebp, 4
mov dword [esp + 0x48], eax
jmp 0x402e78
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x6c
je 0x404470
lea eax, [edi + 1]
or ebp, 0x400
mov dword [esp + 0x48], eax
jmp 0x402e78
movzx ecx, byte [edi + 1]
mov eax, ecx
mov byte [esp + 0x28], cl
and eax, 0xfffffff7
cmp al, 0x53
je 0x403c76
cmp cl, 0x73
jne case.0x402e5b.1
lea eax, [edi + 1]
or ebp, 0x200
mov dword [esp + 0x48], eax
jmp 0x402e78
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
cmp al, 0x68
je 0x40448a
lea eax, [edi + 1]
or ebp, 2
mov dword [esp + 0x48], eax
jmp 0x402e78
lea eax, [edi + 1]
or ebp, 8
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 1]
mov byte [esp + 0x28], al
jmp 0x402e78
movzx eax, byte [esp + 0x28]
sub eax, 0x58
cmp al, 0x20
ja case.0x403cd1.1
movzx eax, al
jmp dword [eax*4 + 0x411ab0]
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x4039b2
test eax, eax
jne 0x402f67
test ebp, 0x600
je 0x4051de
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40587c
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 0x405455
mov dword [esp], 0xc8
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [ecx], eax
test eax, eax
jne 0x402f21
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 fcn.00402910
mov dword [esp + 0x24], eax
jmp 0x402c50
mov dword [esp + 0x34], 0x10
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4054e8
lea eax, [eax - 0x2b]
mov dword [esp + 0x54], 0
and eax, 0xfffffffd
je 0x404daa
test esi, esi
setne dl
cmp ebx, 0x30
jne 0x4045ff
test dl, dl
je 0x4045ff
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
lea ebx, [eax + 1]
mov dword [esp + 0x18], ebx
test esi, esi
jle 0x404e75
lea edi, [esp + 0x7c]
mov ebx, eax
sub esi, 1
mov edx, edi
call fcn.00402890
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax + ebx], 0x30
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
test esi, esi
jne 0x404ea0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x54], eax
jne 0x403e34
mov dword [esp + 0x34], 8
cmp dword [esp + 0x54], 1
jne 0x403e50
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
sub eax, 0x2b
test al, 0xfd
je 0x404b52
lea edi, [esp + 0x7c]
cmp ebx, 0xffffffff
je 0x403e86
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x4058ce
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 fcn.00402890
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 0x404b40
test esi, esi
je 0x404f80
call fcn.00405ec0
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x80], ecx
je 0x403a3b
mov ecx, ebp
and ecx, 0x80
mov dword [esp + 0x18], ecx
jne 0x403fdb
test esi, esi
je 0x404f1f
test edi, edi
jne 0x404e44
test ebp, 4
jne 0x405325
test ebp, 2
jne 0x405913
and ebp, 1
je 0x405930
cmp dword [esp + 0x44], 0
jne 0x405b21
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 0x402c6c
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4057ec
mov eax, ebx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
jmp 0x403f9e
mov edx, edi
mov eax, ebx
call fcn.004029a0
cmp eax, 0xffffffff
je 0x403fa5
sub esi, 1
test esi, esi
jg 0x403f90
mov dword [esp + 0x18], 0
mov ebx, eax
jmp 0x402c6c
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4054e8
cmp eax, 0x25
jne 0x4059ad
mov dword [esp + 0x18], 0
jmp 0x402c6c
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x403fdb
mov eax, dword [esp + 0x78]
test ebp, 8
je 0x404ee8
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x4054b4
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 0x402c6c
mov eax, ebp
mov dword [esp + 0x34], 0x10
and eax, 0xfffffff1
or eax, 0x24
mov ebp, eax
jmp case.0x403cd1.1
mov dword [esp + 0x34], 0
or ebp, 0x10
jmp case.0x403cd1.1
mov dword [esp + 0x34], 0xa
or ebp, 0x10
jmp case.0x403cd1.1
mov dword [esp + 0x34], 0xa
jmp case.0x403cd1.1
mov dword [esp + 0x34], 8
jmp case.0x403cd1.1
test byte [esp + 0x58], 0x40
je 0x404097
mov dword [esp], ebx
call sub.msvcrt.dll_isxdigit
test eax, eax
jne 0x403bd3
test ebp, ebp
je 0x403b79
mov dword [esp], ebx
call sub.msvcrt.dll_tolower
cmp byte [esp + 0x48], al
jne 0x403b79
mov ecx, dword [esp + 0x80]
mov eax, ebp
lea edx, [esp + 0x7c]
call fcn.00402890
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 0x403bf2
je 0x405049
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x405229
mov edi, eax
movzx edx, byte [edi]
test dl, dl
jne 0x405229
test esi, esi
cmovg esi, dword [esp + 0x18]
jmp 0x403bf2
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4030d9
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x404120
jmp 0x4030d9
mov esi, 0xffffffff
jmp 0x402e49
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403901
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x404150
jmp 0x403901
movzx eax, byte [ecx + 1]
lea edi, [ecx + 1]
jmp 0x402d96
mov ebx, esi
mov esi, dword [esp + 0x18]
call sub.msvcrt.dll__errno
mov dword [eax], edi
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x404c52
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 0x403132
movzx edx, al
mov edi, dword [esp + 0x50]
cmp edx, ebx
jne 0x404214
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 0x404270
test ebx, ebx
je 0x404e31
mov edx, dword [esp + 0x28]
mov eax, ebp
call fcn.004029a0
cmp eax, 0xffffffff
je 0x404e18
movzx esi, byte [edi]
sub ebx, 1
cmp eax, esi
je 0x4041d0
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 0x40427e
test dword [esp + 0x58], 0x100
je 0x4040ea
mov eax, edi
sub eax, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x4040e4
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x2c]
jmp 0x40425b
add edi, 1
mov ecx, edi
sub ecx, ebp
cmp ecx, eax
jge 0x40503b
movzx edx, byte [edi]
cmp dl, byte [ebx + ecx]
je 0x40424c
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
jmp 0x4040fb
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 0x4042bd
sub eax, ebp
mov ebp, eax
lea esi, [esi]
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x7c]
mov eax, edi
call fcn.00402890
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 0x404290
mov ebp, edi
test esi, esi
jle 0x405c8b
mov byte [esp + 0x5c], 1
mov esi, dword [esp + 0x18]
jmp 0x403bf2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4039be
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403901
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x4042f0
jmp 0x403901
lea eax, [ebx - 0x2b]
and eax, 0xfffffffd
jne 0x403b79
jmp 0x403bda
call sub.msvcrt.dll__errno
mov ebx, 0xffffffff
mov dword [eax], edi
jmp 0x403132
mov ecx, ebx
mov ebx, edi
mov edi, ecx
cmp eax, 1
jne 0x405678
mov eax, dword [esp + 0x18]
add dword [esp + 0x3c], 2
mov esi, dword [esp + 0x3c]
test eax, eax
jne 0x404367
mov eax, dword [esp + 0x54]
test eax, eax
je 0x404367
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 0x405688
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x404378
sub eax, 1
mov dword [esp + 0x48], eax
je 0x40438c
mov edx, edi
mov eax, ebp
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4033be
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x403fdb
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 fcn.004027d0
add dword [esp + 0x24], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], 0
jmp 0x402c6c
mov ecx, ebx
mov ebx, edi
mov edi, ecx
cmp eax, 1
jne 0x405678
sub dword [esp + 0x48], 1
mov eax, dword [esp + 0x48]
add dword [esp + 0x3c], 2
test eax, eax
jle 0x404405
mov edx, ecx
mov eax, ebp
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x403543
cmp dword [esp + 0x18], 0
jne 0x403fdb
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, eax
add ecx, eax
mov eax, dword [esp + 0x20]
call fcn.004027d0
add dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
jmp 0x402c6c
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
test ebx, ebx
jne 0x402ce0
jmp 0x402c41
call sub.msvcrt.dll__errno
mov dword [esp + 0x24], 0xffffffff
mov dword [eax], 0x16
jmp 0x402c50
lea eax, [edi + 2]
or ebp, 0x404
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x402e78
lea eax, [edi + 2]
or ebp, 1
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x402e78
lea eax, [edi + 2]
or ebp, 0xc
mov dword [esp + 0x48], eax
movzx eax, byte [edi + 2]
mov byte [esp + 0x28], al
jmp 0x402e78
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x402c6c
mov eax, dword [esp + 0x4c]
mov byte [eax], 0
mov edi, dword [esp + 0x20]
lea esi, [eax + 1]
test edi, edi
je 0x4044fc
mov eax, dword [edi]
test eax, eax
je 0x4044fc
mov edx, esi
sub edx, eax
cmp dword [esp + 0x40], edx
je 0x4044fc
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x4044fc
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 0x402c6c
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x403a3b
test ebp, 0x40
je 0x404541
cmp dword [esp + 0x18], 2
je 0x403a3b
lea edi, [esp + 0x7c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov edx, edi
mov eax, esi
call fcn.00402890
mov dword [esp + 0x80], eax
mov byte [eax + esi], 0
mov esi, ebp
and esi, 0x80
test ebp, 8
jne 0x404f8a
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x84]
and ebp, 4
mov dword [esp + 4], edx
mov dword [esp], eax
je 0x404feb
call fcn.00405e10
test esi, esi
jne 0x404cc0
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
cmp esi, eax
je 0x403a31
cmp dword [esp + 0x60], 0x2d
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
jne 0x4045ca
fchs
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x4057b7
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp qword [edx]
cmp eax, esi
je 0x403a3b
add dword [esp + 0x24], 1
mov dword [esp + 0x18], 0
jmp 0x402c6c
cmp ebx, 0xffffffff
setne al
and eax, edx
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x404617
mov dword [esp + 0x34], 0xa
test al, al
je 0x4046be
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 0x4046a7
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x404748
lea eax, [ebx - 0x2f]
cmp eax, dword [esp + 0x34]
jg 0x404748
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 fcn.00402890
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 fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4046ba
test edi, edi
je 0x4046ba
cmp dword [esp + 0x34], 0x10
jne 0x404640
mov dword [esp], ebx
call sub.msvcrt.dll_isxdigit
test eax, eax
jne 0x404659
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x403e34
test ebp, 0x20
je 0x404b52
mov dword [esp], ebx
call sub.msvcrt.dll_tolower
cmp al, 0x28
jne 0x404b52
mov esi, 0x411891
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x14]
mov ebp, esi
mov esi, dword [esp + 0x28]
jmp 0x404715
mov dword [esp], eax
call sub.msvcrt.dll_tolower
cmp byte [ebp], al
jne 0x404725
add ebp, 1
cmp byte [ebp], 0
je 0x405361
mov edx, esi
mov eax, edi
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4046fb
mov ebp, edi
mov edi, ebx
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov edx, ebp
mov eax, edi
call fcn.00402a30
jmp 0x403a3b
cmp dword [esp + 0x34], 0xa
jne 0x4046ba
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4046ba
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 0x404e0f
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 0x404880
test ebx, ebx
je 0x4047eb
mov edx, dword [esp + 0x18]
mov eax, ebp
call fcn.004029a0
cmp eax, 0xffffffff
je 0x40488d
movzx esi, byte [edi]
sub ebx, 1
cmp eax, esi
je 0x404790
mov ecx, ebx
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x18]
test al, al
jne 0x405b18
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 0x404666
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0x2c]
jbe 0x4046be
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov eax, ebx
lea ebx, [edi - 1]
mov edx, dword [esp + 0x14]
call fcn.00402a30
cmp dword [esp + 0x2c], ebx
jae 0x4059d9
mov dword [esp + 0x18], edi
mov esi, ebx
mov edi, ebx
mov ebx, dword [esp + 0x14]
jmp 0x404859
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 0x4059c8
movzx ecx, byte [esi]
test byte [ebx + 0x1004], 1
jne 0x404834
mov eax, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x40484c
mov ecx, ebx
mov esi, dword [esp + 0x18]
mov ebx, eax
jmp 0x4047d2
mov edx, esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
mov ebx, eax
movzx eax, byte [edx + 1]
jmp 0x4047ca
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 0x403005
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
test edx, edx
je 0x404a53
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4054e8
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 0x40495d
sub esi, 1
je 0x404d22
mov edx, ebx
mov eax, ebp
call fcn.004029a0
mov edx, eax
cmp eax, 0xffffffff
je 0x404d22
mov eax, dword [esp + 0x80]
movzx ecx, byte [esp + 0x44]
cmp byte [eax + edx], cl
je 0x4052a8
test edi, edi
jne 0x404940
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 fcn.0040ed10
mov edx, dword [esp + 0x18]
cmp eax, 0xfffffffe
je 0x404bd8
mov eax, dword [esp + 0x5c]
add dword [esp + 0x3c], 2
test eax, eax
je 0x404a46
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 0x404940
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 sub.msvcrt.dll_realloc
test eax, eax
je 0x405b51
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 0x404940
mov dword [esp + 0x48], 0
jmp 0x404940
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4054e8
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 0x404ac0
mov ecx, dword [esp + 0x20]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
add ecx, edx
cmp eax, ecx
je 0x4050a1
sub esi, 1
je 0x404dec
mov eax, dword [esp + 0x14]
mov edx, ebp
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x404dec
mov eax, dword [esp + 0x80]
movzx ecx, byte [esp + 0x44]
cmp byte [eax + ebx], cl
je 0x40526c
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x404aa1
mov byte [edi], bl
lea eax, [edi + 1]
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x404a8b
mov edi, eax
jmp 0x404aa1
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edi
test eax, eax
je 0x404425
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
test eax, eax
je 0x404425
mov edx, dword [esp + 0x4c]
sub edx, eax
cmp dword [esp + 0x40], edx
je 0x404425
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x404425
mov dword [esi], eax
jmp 0x404425
mov ebx, dword [esp + 0x60]
jmp 0x403b09
test esi, esi
je 0x404e6b
call sub.msvcrt.dll_strtol
jmp 0x403ee3
mov ebp, dword [esp + 0x14]
mov edi, ebx
jmp 0x404729
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 sub.msvcrt.dll_realloc
test eax, eax
je 0x4059e1
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 0x40324e
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405345
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 0x4031fd
jmp 0x403a3b
add dword [esp + 0x48], 1
jmp 0x404949
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 0x403476
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 0x403a7c
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 0x4032f4
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 0x403a23
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x403132
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x403901
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x404c7a
jmp 0x403901
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x405390
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x38], eax
test ecx, ecx
jne 0x40376f
jmp 0x403a3b
fstp st(0)
jmp 0x404cca
fstp st(0)
jmp 0x404cca
fstp st(0)
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x80], eax
jne 0x403fdb
jmp 0x403a3b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
test byte [eax + 0x1004], 1
je 0x405864
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 0x4044c0
mov ebx, edx
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x405678
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x78]
je 0x403a3b
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], 0
test ecx, ecx
jne 0x402c6c
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 0x404d8c
mov eax, dword [edi]
test eax, eax
je 0x404d8c
mov ecx, dword [esp + 0x40]
mov edx, esi
sub edx, eax
add ecx, ecx
cmp ecx, edx
je 0x404d8c
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x404d8c
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 0x402c6c
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call fcn.00402890
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 fcn.004029a0
mov dword [esp + 0x54], 1
mov ebx, eax
jmp 0x403dba
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x58], eax
je 0x403a3b
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x402c6c
jmp 0x4044c8
mov edi, dword [esp + 0x2c]
jmp 0x4047ca
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 0x404214
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x18], ebx
mov ebx, eax
jmp 0x404218
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x4053dc
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 0x403f54
call sub.msvcrt.dll_strtoul
jmp 0x403ee3
mov ebx, dword [esp + 0x54]
lea edi, [esp + 0x7c]
mov edx, edi
mov eax, ebx
call fcn.00402890
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax + ebx], 0x30
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
mov dword [esp], ebx
call sub.msvcrt.dll_tolower
cmp eax, 0x78
je 0x405477
test esi, esi
mov edi, dword [esp + 0x34]
setne al
cmp ebx, 0xffffffff
setne dl
and eax, edx
test edi, edi
jne 0x404ece
mov dword [esp + 0x34], 8
test al, al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
jne 0x40461f
jmp 0x403e34
mov ecx, ebp
and ecx, 4
mov dword [esp + 0x18], ecx
je 0x4052dc
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x40576b
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 0x402c6c
test edi, edi
jne 0x404e44
test ebp, 4
jne 0x405325
test ebp, 2
jne 0x405913
and ebp, 1
je 0x405b75
cmp dword [esp + 0x44], 0
je 0x403f45
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x404f60
mov ecx, 1
sub edx, 1
jne 0x404f5b
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 0x403f52
call fcn.004061b0
jmp 0x403edf
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00405e10
test esi, esi
jne 0x404cc4
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
cmp esi, eax
je 0x403a35
cmp dword [esp + 0x60], 0x2d
jne 0x404fcb
fchs
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x4058f8
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp xword [edx]
jmp 0x4045e5
call fcn.00405d70
test esi, esi
jne 0x404cc8
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
cmp esi, eax
je 0x403a39
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 0x405750
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
fstp dword [edx]
jmp 0x4045e5
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
jne 0x4040f8
movzx eax, byte [edi]
mov edx, eax
cmp eax, ebx
jne 0x4040fb
mov eax, ebx
mov ebx, esi
mov esi, edi
add edi, 1
cmp byte [edi], 0
je 0x405b6c
mov edx, dword [esp + 0x18]
test edx, edx
je 0x40598a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
cmp eax, 0xffffffff
je 0x40597b
movzx esi, byte [edi]
sub dword [esp + 0x18], 1
mov edx, esi
cmp eax, esi
je 0x40505a
mov esi, ebx
mov ebx, eax
jmp 0x4040fb
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 sub.msvcrt.dll_realloc
test eax, eax
je 0x405b07
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 0x404aa1
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40572b
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 0x402f67
jmp 0x403a3b
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call fcn.00402890
mov dword [esp + 0x18], ebp
mov dword [esp + 0x80], eax
mov byte [eax], bl
mov eax, 1
mov ebp, eax
jmp 0x4051a8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4051ac
mov dword [esp], eax
call sub.msvcrt.dll_tolower
mov edx, eax
movsx eax, byte [ebp + 0x41189a]
cmp edx, eax
jne 0x4051ac
xor eax, eax
test esi, esi
mov ecx, dword [esp + 0x80]
mov edx, edi
setg al
sub esi, eax
mov eax, ebp
call fcn.00402890
cmp byte [ebp + 0x41189b], 0
lea edx, [ebp + 1]
mov dword [esp + 0x80], eax
mov byte [eax + ebp], bl
je 0x40580c
mov ebp, edx
test esi, esi
jne 0x40514a
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4051c5
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x4051b4
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test ebx, ebx
jne 0x4030f1
jmp 0x402c41
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x40565c
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 0x402f67
jmp 0x403a3b
mov eax, dword [ebp]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x402cd1
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x58]
cmp ebx, 0xffffffff
je 0x404522
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x405898
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 0x404522
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
test byte [eax + 0x1004], 1
je 0x4058b0
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 0x404df4
mov eax, dword [esp + 0x14]
mov ebx, edx
test byte [eax + 0x1004], 1
je 0x405784
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 0x404d24
test ebp, 2
je 0x4053a8
mov edx, dword [esp + 0x44]
test edx, edx
jne 0x405b38
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov word [edx], ax
jmp 0x402c6c
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 0x40318d
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x40579c
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
jmp 0x403f54
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 0x404bc1
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov ebp, dword [esp + 0x18]
mov edx, edi
call fcn.00402890
mov dword [esp + 0x54], 1
mov dword [esp + 0x80], eax
mov byte [eax], 0x30
jmp 0x403e86
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 0x404ca9
and ebp, 1
mov dword [esp + 0x18], ebp
je 0x4056dd
cmp dword [esp + 0x44], 0
jne 0x405c95
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 0x402c6c
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x4053ee
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x404e5d
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4039be
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4030d9
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x40540d
jmp 0x4030d9
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x405c48
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 0x40438c
lea eax, [esp + 0x80]
xor ecx, ecx
lea edx, [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call fcn.00402910
mov dword [esp + 0x24], eax
jmp 0x402c50
test byte [esp + 0x34], 0xa
jne 0x4058e6
xor eax, eax
test esi, esi
mov edx, dword [esp + 0x28]
setg al
sub esi, eax
mov eax, dword [esp + 0x14]
call fcn.004029a0
test esi, esi
mov dword [esp + 0x34], 0x10
mov ebx, eax
setne al
cmp ebx, 0xffffffff
setne dl
and eax, edx
jmp 0x404ece
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 0x40401e
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 0x4036f3
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 fcn.00402910
mov dword [esp + 0x24], eax
jmp 0x402c50
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call fcn.00402890
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov byte [eax], 0x30
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
test esi, esi
jle 0x405557
sub esi, 1
mov dword [esp + 0x18], 1
je 0x403b3d
mov dword [esp], ebx
call sub.msvcrt.dll_tolower
cmp eax, 0x78
je 0x405bf9
mov byte [esp + 0x48], 0x65
mov dword [esp + 0x18], 1
jmp 0x403b3d
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x7c]
xor eax, eax
mov edx, edi
call fcn.00402890
mov dword [esp + 0x48], ebp
mov dword [esp + 0x80], eax
mov byte [eax], bl
mov eax, 1
mov ebp, eax
jmp 0x405608
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x40560c
mov dword [esp], eax
call sub.msvcrt.dll_tolower
mov edx, eax
movsx eax, byte [ebp + 0x411896]
cmp edx, eax
jne 0x40560c
xor eax, eax
test esi, esi
mov ecx, dword [esp + 0x80]
mov edx, edi
setg al
sub esi, eax
mov eax, ebp
call fcn.00402890
lea ecx, [ebp + 1]
cmp byte [ebp + 0x411897], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x18], ecx
mov byte [eax + ebp], bl
je 0x405747
mov ebp, dword [esp + 0x18]
test esi, esi
jne 0x4055a4
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4051c5
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x405618
jmp 0x4051c5
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4039be
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x4030d9
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x405646
jmp 0x4030d9
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 0x4051fb
call sub.msvcrt.dll__errno
mov dword [eax], 0x2a
jmp 0x403a3b
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 sub.msvcrt.dll_realloc
test eax, eax
je 0x405cae
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 0x404367
cmp dword [esp + 0x44], 0
jne 0x405bc9
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov dword [edx], eax
jmp 0x402c6c
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 fcn.00402910
mov dword [esp + 0x24], eax
jmp 0x402c50
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 0x405105
mov ebp, dword [esp + 0x48]
jmp 0x404545
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x405762
lea edx, [edi + ecx*4]
mov edx, dword [edx]
fstp dword [edx]
jmp 0x4045e5
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x40577d
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x404f10
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x404d24
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x4057ae
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x403f54
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x4057c9
lea edx, [edi + ecx*4]
mov edx, dword [edx]
jmp 0x4045e3
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 0x402ef7
cmp dword [esp + 0x24], 0
jne 0x403a3b
mov dword [esp + 0x24], 0xffffffff
jmp 0x403a3b
movzx eax, bl
jmp 0x403037
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x18], edx
test esi, esi
je 0x404545
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x404545
mov dword [esp], eax
call sub.msvcrt.dll_tolower
cmp eax, 0x69
je 0x4059f6
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
mov eax, ebx
mov edx, dword [esp + 0x14]
call fcn.00402a30
jmp 0x404545
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x4044c0
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 0x403d22
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x404522
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov eax, dword [esp + 0x78]
sub eax, 1
mov dword [esp + 0x78], eax
jmp 0x404df4
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x403e86
test esi, esi
setne al
cmp ebx, 0xffffffff
setne dl
and eax, edx
jmp 0x404ece
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, edi
sub ecx, 1
je 0x40590a
lea edx, [edi + ecx*4]
mov edx, dword [edx]
fstp xword [edx]
jmp 0x4045e5
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x405965
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x38], ecx
mov word [edx], ax
jmp 0x403f54
cmp dword [esp + 0x44], 0
je 0x405331
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x405948
mov ecx, 1
sub edx, 1
jne 0x405943
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 0x4057b0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405977
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x405928
mov ecx, esi
mov esi, ebx
mov ebx, eax
movzx edx, byte [ecx + 1]
jmp 0x4040fb
mov dword [esp + 0x18], ebp
mov ebx, eax
mov ebp, dword [esp + 0x58]
jmp 0x40523a
mov eax, ebp
test ah, 4
mov eax, 0xffffffff
cmove eax, dword [esp + 0x24]
jmp 0x405707
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [esp], 1
mov edx, ebp
call fcn.00402a30
jmp 0x403a3b
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 0x4046be
cmp edi, ebx
jae 0x405ab2
mov eax, dword [esp + 0x20]
mov ebx, edi
mov edx, dword [eax]
jmp 0x404b71
test esi, esi
jle 0x4059fd
sub esi, 1
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
mov edx, edi
call fcn.00402890
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], 0x41189e
mov ebp, ecx
jmp 0x405a38
mov ebp, dword [esp + 0x18]
test esi, esi
je 0x403a3b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
call fcn.004029a0
mov ebx, eax
cmp eax, 0xffffffff
je 0x403a3b
mov dword [esp], eax
call sub.msvcrt.dll_tolower
mov edx, eax
mov eax, dword [esp + 0x48]
movsx eax, byte [eax + 1]
cmp edx, eax
jne 0x403a3b
test esi, esi
jle 0x405a79
sub esi, 1
mov ecx, dword [esp + 0x80]
mov edx, edi
mov eax, ebp
call fcn.00402890
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 0x405a34
mov ebp, dword [esp + 0x54]
jmp 0x404545
mov eax, dword [esp + 0x4c]
test ah, 4
je 0x405ae7
or eax, 0xffffffff
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x20]
mov dword [esp], edx
lea edx, [esp + 0x74]
call fcn.00402910
mov dword [esp + 0x24], eax
jmp 0x402c50
mov eax, dword [esp + 0x48]
test ah, 4
jne 0x405abb
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 0x405abe
cmp edi, ebx
jae 0x405ade
mov eax, dword [esp + 0x20]
mov ebx, edi
mov edx, dword [eax]
jmp 0x4050b5
mov ebp, dword [esp + 0x5c]
jmp 0x4047f9
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x405b2e
mov ecx, 1
sub edx, 1
jne 0x405b29
jmp 0x404f65
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405b4a
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x405301
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jae 0x405b97
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx]
jmp 0x404a03
mov esi, ebx
mov ebx, eax
jmp 0x404103
cmp dword [esp + 0x44], 0
je 0x405331
mov edx, dword [esp + 0x44]
xor ecx, ecx
jmp 0x405b8d
mov ecx, 1
sub edx, 1
jne 0x405b88
jmp 0x40594d
mov eax, dword [esp + 0x64]
test ah, 4
jne 0x405abb
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 0x405abe
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405bdb
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x402c6c
cmp ebx, edi
jae 0x4039be
mov eax, dword [esp + 0x20]
mov edi, ebx
mov edx, dword [eax]
jmp 0x403801
mov ecx, dword [esp + 0x80]
mov edx, edi
mov eax, 1
call fcn.00402890
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 fcn.004029a0
mov ebx, eax
test esi, esi
jle 0x405c60
mov byte [esp + 0x48], 0x70
sub esi, 1
mov dword [esp + 0x18], 2
jmp 0x403b3d
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
sub dword [esp + 0x78], 1
jmp 0x40438c
mov byte [esp + 0x48], 0x70
mov dword [esp + 0x18], 2
jmp 0x403b3d
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jae 0x4039be
mov eax, dword [esp + 0x20]
mov ebx, ecx
mov eax, dword [eax]
jmp 0x40359d
mov byte [esp + 0x5c], 1
jmp 0x403bf2
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, esi
sub ecx, 1
je 0x405ca7
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x4053cd
cmp ebx, esi
jae 0x405cb9
mov esi, ebx
jmp 0x40569f
mov eax, dword [esp + 0x58]
test ah, 4
je 0x405ba4
jmp 0x405abb