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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x40e5e2
mov esi, edx
test edx, edx
je 0x40e5e2
cmp dword [ecx], 0
je 0x40e5e2
mov dword [esp + 4], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
call sub.msvcrt.dll_localeconv
mov edi, dword [eax]
call sub.msvcrt.dll_localeconv
mov eax, dword [eax + 4]
mov edx, 0
test eax, eax
je 0x40ad74
xor edx, edx
cmp byte [eax], 0
cmovne edx, eax
movzx eax, byte [esi]
test al, al
mov ecx, dword [esp + 4]
je 0x40e5f7
mov dword [esp + 0x34], esi
lea ebx, [ecx + 0x1008]
mov ecx, edx
sub ecx, edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x6c], edx
lea ecx, [edx + 1]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x7c], edi
lea ecx, [edi + 1]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 0
xor edi, edi
mov dword [esp + 0x48], 0
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x20], esi
mov edi, edx
test al, al
jns 0x40aee1
push edi
call sub.msvcrt.dll_strlen
add esp, 4
lea ecx, [esp + 0xa8]
push ecx
push eax
push edi
call fcn.00416a40
add esp, 0xc
test eax, eax
jle 0x40aede
mov esi, eax
add eax, edi
mov dword [esp + 0x34], eax
inc esi
mov edx, dword [esp + 4]
nop
mov eax, dword [ebx]
test eax, eax
je 0x40ae50
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x40aeb0
jmp 0x40e618
mov eax, dword [edx + 0x100c]
mov ecx, 0xffffffff
test al, 1
jne 0x40e61d
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40ae8e
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e601
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
jmp 0x40aeb0
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40e60b
mov edx, ebx
inc ecx
inc dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x1c]
mov eax, edx
mov edx, ebx
mov ebx, ecx
movzx ecx, byte [edi]
cmp eax, ecx
jne 0x40e5fd
inc edi
dec esi
cmp esi, 1
jg 0x40ae30
mov dword [esp + 8], eax
mov edi, dword [esp + 0x34]
movzx eax, byte [edi]
test al, al
jne 0x40adf7
jmp 0x40e684
movzx eax, byte [edi]
lea esi, [edi + 1]
cmp al, 0x25
je 0x40b038
mov dword [esp + 0x34], esi
movzx esi, al
push esi
call sub.msvcrt.dll_isspace
mov edx, dword [esp + 8]
add esp, 4
mov ecx, 1
test eax, eax
jne 0x40afa2
mov dword [esp + 0x50], esi
mov eax, dword [ebx]
test eax, eax
je 0x40af36
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov esi, dword [edx + eax*4]
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
cmp esi, 0xffffffff
jne 0x40af89
jmp 0x40e779
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40e779
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40af72
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e766
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov edx, dword [esp + 4]
jmp 0x40af89
movzx esi, byte [ecx]
test esi, esi
je 0x40e770
inc ecx
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
cmp dword [esp + 0x20], 0
jne 0x40afd4
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
cmp esi, eax
jne 0x40e79a
mov edi, edx
mov edx, dword [esp + 0x34]
movzx eax, byte [edx]
mov esi, ecx
test al, al
jne 0x40adf1
jmp 0x40e68a
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov esi, dword [edx + eax*4]
inc edi
mov dword [esp + 0x10], edi
cmp esi, 0xffffffff
je 0x40e779
push esi
call sub.msvcrt.dll_isspace
mov edx, dword [esp + 8]
add esp, 4
test eax, eax
je 0x40af90
mov eax, dword [ebx]
test eax, eax
jne 0x40afba
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40e779
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40b023
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e766
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
jmp 0x40afd4
movzx esi, byte [ecx]
test esi, esi
je 0x40e770
inc ecx
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
jmp 0x40afd4
movzx eax, byte [esi]
add eax, 0xffffffd0
xor ebx, ebx
cmp eax, 9
ja 0x40b093
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 2]
add edi, 2
lea ecx, [eax - 0x30]
cmp ecx, 9
mov edx, dword [esp + 0x6c]
ja 0x40b07b
mov edx, dword [esp + 0x24]
lea eax, [edx + edx*4]
lea edx, [ecx + eax*2]
movzx eax, byte [edi + 1]
inc edi
lea ecx, [eax - 0x30]
cmp ecx, 0xa
jb 0x40b060
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x6c]
inc edi
cmp al, 0x24
mov eax, 0
mov ecx, dword [esp + 0x24]
cmovne ecx, eax
mov dword [esp + 0x24], ecx
cmove esi, edi
jmp 0x40b0a8
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x6c]
jmp 0x40b0a8
or ebx, 0x80
inc esi
movzx eax, byte [esi]
cmp eax, 0x27
je 0x40b0d7
cmp eax, 0x2a
je 0x40b0a1
cmp eax, 0x49
jne 0x40b0f5
movzx eax, byte [esi + 1]
cmp eax, 0x33
je 0x40b0e6
cmp eax, 0x36
jne 0x40b0ef
cmp byte [esi + 2], 0x34
jne 0x40b0ef
add esi, 2
or ebx, 0xc
inc esi
jmp 0x40b0a8
mov eax, ebx
or eax, 0x100
test edx, edx
cmovne ebx, eax
inc esi
jmp 0x40b0a8
cmp byte [esi + 2], 0x32
jne 0x40b0ef
add esi, 2
or ebx, 4
inc esi
jmp 0x40b0a8
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x40b120
xor ecx, ecx
lea eax, [ecx + ecx*4]
lea ecx, [edx + eax*2]
movzx eax, byte [esi + 1]
inc esi
lea edx, [eax - 0x30]
cmp edx, 0xa
jb 0x40b0ff
cmp ecx, 1
mov edi, 0
sbb edi, edi
or edi, ecx
jmp 0x40b125
mov edi, 0xffffffff
movzx eax, al
lea ecx, [eax - 0x4c]
cmp ecx, 0x2e
mov dword [esp + 0x50], edi
ja case.default.0x40b138
jmp dword [ecx*4 + 0x43b250]
inc esi
or ebx, 0xc
jmp case.0x40b138.77
or ebx, 4
inc esi
jmp case.0x40b138.77
movzx eax, byte [esi + 1]
cmp al, 0x6c
jne 0x40b518
or ebx, 0x404
add esi, 2
jmp 0x40b19d
lea ecx, [esi + 2]
xor eax, eax
cmp byte [esi + 1], 0x6c
lea esi, [esi + 1]
sete al
cmove esi, ecx
shl eax, 3
or eax, ebx
or eax, 4
mov ebx, eax
jmp case.0x40b138.77
movzx eax, byte [esi + 1]
cmp eax, 0x53
je 0x40b196
cmp eax, 0x73
je 0x40b196
cmp eax, 0x5b
jne 0x40b19d
inc esi
or ebx, 0x200
mov edi, dword [esp + 0x50]
jmp case.0x40b138.77
xor eax, eax
cmp byte [esi + 1], 0x68
lea ecx, [esi + 2]
lea esi, [esi + 1]
cmove esi, ecx
setne al
inc eax
or ebx, eax
jmp case.0x40b138.77
or ebx, 8
inc esi
jmp case.0x40b138.77
test eax, eax
je case.0x40b3c0.38
movzx edx, byte [esi]
test dl, dl
je case.0x40b3c0.38
lea eax, [esi + 1]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x20], ebx
je 0x40b205
mov byte [esp + 0x2c], dl
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp + 0x40], eax
call sub.msvcrt.dll__errno
mov dword [eax], 0
mov edi, dword [esp + 8]
jmp 0x40b25c
movzx eax, dl
cmp eax, 0x62
jg 0x40b31e
cmp eax, 0x43
je 0x40b32c
cmp eax, 0x5b
je 0x40b32c
jmp 0x40b1e5
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x100c]
or eax, 1
mov dword [edx + 0x100c], eax
call sub.msvcrt.dll__errno
mov edi, 0xffffffff
cmp dword [eax], 4
je 0x40e779
push edi
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
je 0x40b2dc
cmp edi, 0xffffffff
je 0x40b238
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40b286
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp edi, 0xffffffff
jne 0x40b24b
jmp 0x40b238
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40b238
mov edx, dword [esp + 4]
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40b2bd
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40b225
mov edi, eax
inc dword [esp + 0x10]
jmp 0x40b24b
movzx edi, byte [ecx]
mov dword [esp + 8], edi
test edi, edi
je 0x40b22f
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
mov edi, dword [esp + 8]
jmp 0x40b24b
call sub.msvcrt.dll__errno
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp + 8], edi
cmp edi, 0xffffffff
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x50]
je 0x40b34f
test byte [ecx + 0x1004], 1
jne 0x40b332
push dword [ecx]
push dword [esp + 0xc]
call sub.msvcrt.dll_ungetc
mov ecx, dword [esp + 0xc]
add esp, 8
mov eax, 0xffffffff
lea edx, [esp + 0x10]
jmp 0x40b34d
cmp eax, 0x63
je 0x40b365
cmp eax, 0x6e
jne 0x40b1e5
mov ecx, dword [esp + 4]
jmp 0x40b3b1
dec dword [esp + 0x10]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 8]
mov dword [ecx + eax*4 + 4], edx
mov eax, 1
mov edx, dword [esp + 0x1c]
add dword [edx], eax
movzx edx, byte [esp + 0x2c]
cmp dl, 0x73
je 0x40b405
movzx eax, dl
cmp eax, 0x63
jne 0x40b3b1
test bl, 4
jne case.0x40b3c0.67
cmp edi, 0xffffffff
mov esi, edi
mov eax, 1
cmove esi, eax
test bl, bl
js 0x40b4bb
test dword [esp + 0x20], 0x600
je 0x40b5f0
cmp dword [esp + 0x24], 0
je 0x40b9f1
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0xc], eax
jmp 0x40ba02
movzx eax, dl
add eax, 0xffffffdb
cmp eax, 0x53
ja case.0x40b3c0.38
jmp dword [eax*4 + 0x43b30c]
xor ebx, ebx
test edi, edi
setg byte [esp + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40b4da
lea edx, [eax - 1]
mov dword [ecx + 0x1008], edx
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x78], ecx
cmp ecx, 0xffffffff
jne 0x40b551
jmp 0x40e779
test bl, 4
jne case.0x40b3c0.83
test bl, bl
js 0x40d133
test dword [esp + 0x20], 0x600
je 0x40bb0b
cmp dword [esp + 0x24], 0
je 0x40c1b9
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0xc], eax
jmp 0x40c1ca
cmp edi, 0xffffffff
mov eax, 1
cmove edi, eax
mov dword [esp + 0x50], edi
test bl, bl
js 0x40bf8d
test dword [esp + 0x20], 0x600
je 0x40b610
cmp dword [esp + 0x24], 0
je 0x40ba7b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0xc], eax
jmp 0x40ba8c
test bl, bl
js 0x40c8e0
test dword [esp + 0x20], 0x600
je 0x40b83e
cmp dword [esp + 0x24], 0
je 0x40bc30
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0xc], eax
jmp 0x40bc41
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40beba
jmp 0x40e779
mov eax, dword [ecx + 0x100c]
test al, 1
jne 0x40e779
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40b532
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, 0xffffffff
je 0x40e889
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x40b551
mov edx, eax
or ebx, 0x400
inc esi
mov edi, dword [esp + 0x50]
test dl, dl
jne 0x40b1d3
jmp case.0x40b3c0.38
movzx edx, byte [ecx]
mov dword [esp + 0x78], edx
test edx, edx
je 0x40e893
inc ecx
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov dword [edx], ecx
movzx ecx, byte [esp + 8]
mov bl, cl
sub dword [esp + 0x50], ebx
cmp dword [esp + 0x78], 0x2d
je 0x40b56a
cmp dword [esp + 0x78], 0x2b
jne 0x40b5a4
cmp dword [esp + 0x50], 0
je case.0x40b3c0.38
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x40b5ad
lea edx, [ecx - 1]
mov esi, dword [esp + 4]
mov dword [esi + 0x1008], edx
mov ecx, dword [esi + ecx*4]
inc eax
mov dword [esp + 0x10], eax
mov edi, ecx
cmp ecx, 0xffffffff
jne 0x40b877
jmp case.0x40b3c0.38
mov edi, dword [esp + 0x78]
jmp 0x40b888
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x100c]
test cl, 1
jne case.0x40b3c0.38
mov edx, dword [esp + 4]
test byte [edx + 0x1004], 1
mov edx, dword [edx]
jne 0x40b85e
push edx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e8df
mov edi, eax
inc dword [esp + 0x10]
jmp 0x40b877
cmp dword [esp + 0x24], 0
je 0x40bd52
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0x44], eax
jmp 0x40bd63
cmp dword [esp + 0x24], 0
je 0x40bf71
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0x48], eax
jmp 0x40bf82
or ebx, 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], 0xa
xor ebx, ebx
mov dword [esp + 0x68], 0xa
mov dword [esp + 0x70], 0xa
jmp 0x40b751
test bl, bl
js 0x40e1de
test byte [esp + 0x20], 8
jne 0x40d2fb
test byte [esp + 0x20], 4
jne 0x40d416
test byte [esp + 0x20], 2
jne 0x40dac4
mov ebx, dword [esp + 0x10]
test byte [esp + 0x20], 1
jne 0x40e0b4
cmp dword [esp + 0x24], 0
je 0x40e14a
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [eax], ebx
jmp 0x40e1de
and ebx, 0xffffffd1
or ebx, 0x24
mov dword [esp + 0x20], ebx
mov bl, 1
mov dword [esp + 0x40], 0x10
mov dword [esp + 0x68], 0x10
mov dword [esp + 0x70], 0x10
jmp 0x40b751
mov dword [esp + 0x68], 8
or ebx, 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], 0
mov bl, 1
mov dword [esp + 0x40], 0xa
jmp 0x40b751
test bl, 4
jne 0x40c180
cmp byte [esp + 0x20], 0
js 0x40dbea
test dword [esp + 0x20], 0x600
je 0x40d82b
cmp dword [esp + 0x24], 0
je 0x40dae8
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0xc], eax
jmp 0x40daf9
mov dword [esp + 0x68], 8
xor ebx, ebx
mov dword [esp + 0x40], 8
mov dword [esp + 0x70], 8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40b76d
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
jmp 0x40b7a2
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40e779
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40b809
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e889
mov edi, eax
inc dword [esp + 0x10]
mov eax, edi
cmp edi, 0x2b
je 0x40b7cc
mov eax, edi
cmp edi, 0x2d
je 0x40b7cc
mov dword [esp + 0x2c], 0
mov eax, edi
cmp edi, 0xffffffff
jne 0x40bb89
jmp 0x40e779
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40bb4a
test esi, esi
je 0x40bb2b
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40bb40
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40bb4a
movzx edx, byte [ecx]
test edx, edx
je 0x40e893
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x40b7a6
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0x25
je 0x40e1de
jmp 0x40e8a5
cmp dword [esp + 0x24], 0
je 0x40c8c4
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0x48], eax
jmp 0x40c8d5
movzx esi, byte [edx]
test esi, esi
je 0x40e8e9
mov edi, esi
inc edx
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov dword [eax], edx
xor eax, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
setg al
sub ecx, eax
mov dword [esp + 0x50], ecx
push edi
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
je 0x40b8d8
cmp eax, 0x6e
jne 0x40b915
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40cad5
test esi, esi
je 0x40cab6
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40cacb
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40cad5
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40cce7
test esi, esi
je 0x40ccc8
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40ccdd
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40cce7
mov dword [esp + 0x2c], 0
mov byte [esp + 0x4f], 0x65
mov eax, edi
cmp edi, 0x30
jne 0x40c242
cmp dword [esp + 0x50], 0
je 0x40c242
xor ecx, ecx
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040ec20
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax], 0x30
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov edi, eax
xor eax, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
setg al
mov dword [esp + 0x2c], 1
sub ecx, eax
mov dword [esp + 0x50], ecx
je 0x40c23a
push edi
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x40c242
mov ecx, 1
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040ec20
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, edi
mov byte [eax + 1], cl
mov eax, dword [esp + 0x20]
and eax, 0xfffffebf
or eax, 0x40
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov edi, eax
xor eax, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
setg al
sub ecx, eax
mov dword [esp + 0x50], ecx
mov byte [esp + 0x4f], 0x70
mov dword [esp + 0x2c], 2
jmp 0x40c242
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
add ecx, 4
mov dword [esp + 0x30], ecx
cmp dword [esp + 0xc], 0
je 0x40e7d9
cmp esi, 0x400
mov ecx, 0x400
cmovl ecx, esi
mov dword [esp + 0x38], ecx
push ecx
call sub.msvcrt.dll_malloc
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x40e7ef
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40ba4b
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x40ba65
push 0x88
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], edi
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x28], edi
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, dword [esp + 0xc]
mov dword [edi + ecx*4 + 8], eax
jmp 0x40bd6e
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
add ecx, 4
mov dword [esp + 0x30], ecx
cmp dword [esp + 0xc], 0
je 0x40e7d9
mov ecx, dword [esp + 0x50]
cmp ecx, 0x400
mov eax, 0x400
cmovl eax, ecx
mov dword [esp + 0x38], eax
add eax, eax
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x40e7ef
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40badb
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x40baf5
push 0x88
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], esi
xor ecx, ecx
mov esi, eax
mov dword [esp + 0x28], esi
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [esp + 0xc]
mov dword [esi + ecx*4 + 8], eax
jmp 0x40bf8d
cmp dword [esp + 0x24], 0
je 0x40d117
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0x44], eax
jmp 0x40d128
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d360
mov dword [esp + 0x3c], 0x100
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, edi
mov byte [esi], al
xor eax, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
setg al
sub ecx, eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40bbea
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 0x2c], 1
cmp dword [esp + 0x50], 0
je 0x40bbe1
mov eax, edi
cmp edi, 0x30
jne 0x40bbe1
cmp dword [esp + 0x50], 0
setg byte [esp + 0x40]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40bcd3
test esi, esi
je 0x40bcb4
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40bcc9
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40bcd3
mov dword [esp + 8], edi
jmp 0x40d4d1
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e252
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40c8a7
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d3de
mov edi, eax
jmp 0x40bb7d
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
add ecx, 4
mov dword [esp + 0x30], ecx
cmp dword [esp + 0xc], 0
je 0x40e7d9
push 0xc8
call sub.msvcrt.dll_malloc
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x40e7ef
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40bc7c
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x40bc96
push 0x88
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], esi
xor ecx, ecx
mov esi, eax
mov dword [esp + 0x28], esi
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [esp + 0xc]
mov dword [esi + ecx*4 + 8], eax
mov dword [esp + 0x38], 0x64
jmp 0x40c8e0
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d367
mov dword [esp + 0x3c], 0x100
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x2c]
mov byte [esi + eax], 0x30
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40bd06
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
mov dword [esp + 8], eax
inc dword [esp + 0x10]
jmp 0x40d45a
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40d45a
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40d2dc
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d438
inc dword [esp + 0x10]
mov dword [esp + 8], eax
jmp 0x40d45a
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x44], 0
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40e779
cmp byte [esp + 0x20], 0
js 0x40beba
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 8]
jmp 0x40bdbb
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
dec esi
cmp ecx, 0xffffffff
je 0x40bf68
test dword [esp + 0x20], 0x600
je 0x40be37
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
add ecx, eax
cmp ebx, ecx
jne 0x40be2d
lea edi, [esi - 1]
mov ecx, dword [esp + 0x38]
cmp ecx, esi
cmovl edi, ecx
add edi, ecx
push edi
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40be11
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edi, ebx
jbe 0x40be11
push ebx
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
mov edi, ebx
test eax, eax
je 0x40e808
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ebx, dword [esp + 0x38]
add ebx, eax
mov dword [esp + 0x38], edi
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
jmp 0x40be3b
mov eax, dword [esp + 0x1c]
mov byte [ebx], cl
inc ebx
cmp esi, 2
jl 0x40bf5b
mov eax, dword [eax]
test eax, eax
jne 0x40bda1
mov dword [esp + 0x44], ebx
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40d0f7
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40be97
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d0e0
mov ecx, eax
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x44]
jmp 0x40bdb1
movzx edx, byte [ecx]
test edx, edx
je 0x40d0ea
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov dword [edx], ecx
mov ebx, dword [esp + 0x44]
mov ecx, edi
jmp 0x40bdb1
cmp esi, 2
jl 0x40e1de
mov ebx, dword [esp + 0x50]
inc ebx
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
jmp 0x40bef1
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40d0f7
dec ebx
cmp ebx, 3
jb 0x40bf52
mov eax, dword [esi]
test eax, eax
jne 0x40bed2
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40d0f7
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40bf32
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d0e0
mov ecx, eax
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
jmp 0x40beeb
movzx edx, byte [ecx]
test edx, edx
je 0x40d0ea
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov dword [edx], ecx
mov esi, dword [esp + 0x1c]
mov eax, edi
jmp 0x40beeb
mov dword [esp + 8], eax
jmp 0x40d0ff
mov dword [esp + 8], ecx
mov dword [esp + 0x44], ebx
jmp 0x40d0ff
mov dword [esp + 0x44], ebx
jmp 0x40d0f7
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x48], 0
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40e779
mov ecx, dword [esp + 0x20]
test cl, cl
sets al
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
test ecx, 0x600
sete dl
or dl, al
mov byte [esp + 0x24], dl
test cl, cl
mov eax, dword [esp + 8]
mov byte [esp + 0x83], al
mov esi, dword [esp + 0x48]
mov eax, 0
cmovs esi, eax
test dl, dl
jne 0x40c06a
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x48], ecx
je 0x40c00b
mov esi, dword [esp + 0x48]
jmp 0x40c06a
mov edx, dword [esp + 0x50]
lea edi, [edx - 1]
mov ecx, dword [esp + 0x38]
cmp ecx, edx
cmovle edi, ecx
add edi, ecx
lea ecx, [edi + edi]
push ecx
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40c04d
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 1]
cmp edi, esi
jbe 0x40c04d
lea eax, [esi + esi]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
mov edi, esi
test eax, eax
je 0x40e808
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
lea esi, [eax + ecx*2]
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x1c]
lea ebx, [esp + 0x8c]
mov dword [esp + 0x2c], esi
jmp 0x40c09f
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40e7c0
mov dword [esp + 8], eax
mov byte [esp + 0x83], al
push ebx
push 1
lea eax, [esp + 0x8b]
push eax
push esi
call fcn.00416810
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x40c11d
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 4]
jne 0x40c07b
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40e7c0
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40c0f3
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e7ad
inc dword [esp + 0x10]
jmp 0x40c094
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40e7b7
mov esi, edi
mov edi, ebx
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
mov eax, ebx
mov edi, esi
mov esi, dword [esp + 0x2c]
lea ebx, [esp + 0x8c]
jmp 0x40c094
cmp eax, 1
jne 0x40e7c0
add dword [esp + 0x48], 2
cmp dword [esp + 0x50], 2
jl 0x40c161
dec dword [esp + 0x50]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x24]
jne 0x40bfd5
mov dword [esp + 8], 0xffffffff
cmp byte [esp + 0x20], 0
js 0x40e1de
mov eax, dword [esp + 0x38]
add eax, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
push eax
jmp 0x40e1ba
cmp byte [esp + 0x20], 0
js 0x40dbea
test dword [esp + 0x20], 0x600
je 0x40d84b
cmp dword [esp + 0x24], 0
je 0x40db1c
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0xc], eax
jmp 0x40db2d
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
add ecx, 4
mov dword [esp + 0x30], ecx
cmp dword [esp + 0xc], 0
je 0x40e7d9
push 0x64
call sub.msvcrt.dll_malloc
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x40e7ef
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40c202
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x40c21c
push 0x88
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], esi
xor ecx, ecx
mov esi, eax
mov dword [esp + 0x28], esi
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [esp + 0xc]
mov dword [esi + ecx*4 + 8], eax
mov dword [esp + 0x38], 0x64
jmp 0x40d133
mov dword [esp + 0x50], 0
movzx eax, byte [esp + 0x4f]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], edx
jmp 0x40c298
lea ecx, [eax - 1]
mov dword [esi + 0x1008], ecx
mov ecx, dword [esi + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x40d353
xor eax, eax
test edi, edi
setg al
sub edi, eax
lea eax, [ecx - 0x30]
cmp eax, 0xa
mov dword [esp + 0x50], edi
jb 0x40c2d3
cmp byte [esp + 0x70], 0
jne 0x40c328
mov eax, edx
and eax, 0x40
je 0x40c328
push ecx
mov edi, ecx
mov esi, edx
call sub.msvcrt.dll_isxdigit
mov edx, esi
mov ecx, edi
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 8]
add esp, 4
test eax, eax
je 0x40c35e
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40c42e
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x2c]
lea esi, [eax + eax]
cmp esi, 0x101
mov eax, 0x100
cmovb esi, eax
test edi, edi
je 0x40c407
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40c418
push edi
call fcn.00439774
add esp, 4
xor edi, edi
jmp 0x40c41e
cmp byte [esp + 0x70], 0
je 0x40c35e
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
movzx edx, byte [esp + 0x4f]
cmp byte [eax + ebx - 1], dl
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jne 0x40c3da
cmp ecx, 0x2d
je 0x40c2d3
cmp ecx, 0x2b
je 0x40c2d3
jmp 0x40c3da
cmp dword [esp + 0x2c], 0
je 0x40c3da
cmp byte [esp + 0x70], 0
jne 0x40c3da
push ecx
mov dword [esp + 0xc], ecx
call sub.msvcrt.dll_tolower
mov ecx, dword [esp + 0xc]
add esp, 4
movsx eax, al
cmp eax, dword [esp + 0x9c]
jne 0x40c3da
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40c818
mov eax, dword [esp + 0x2c]
lea esi, [eax + eax]
cmp esi, 0x101
mov eax, 0x100
cmovb esi, eax
test edi, edi
je 0x40c805
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40c812
push edi
call fcn.00439774
add esp, 4
xor edi, edi
jmp 0x40c818
mov dword [esp + 8], ecx
test edi, edi
mov eax, 0x7fffffff
cmovg eax, edi
mov dword [esp + 0x40], eax
cmp byte [esp + 0x68], 0
je 0x40c44f
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x40]
movzx eax, byte [ebx]
mov dword [esp + 0x40], edi
jmp 0x40c546
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40c532
mov dword [esp + 0x3c], esi
mov edi, eax
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x2c]
mov byte [edi + eax], cl
inc eax
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x50]
test edi, edi
jne 0x40c788
jmp 0x40c89e
mov eax, dword [esp + 0x7c]
movzx eax, byte [eax]
cmp dword [esp + 8], eax
jne 0x40c539
mov eax, dword [esp + 0x88]
movzx eax, byte [eax]
test al, al
je 0x40c53f
mov ecx, dword [esp + 0x40]
dec ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x40], ecx
lea edi, [ecx + 1]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40c4b1
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40c508
jmp 0x40c869
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40c869
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40c4ee
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40c852
inc dword [esp + 0x10]
jmp 0x40c508
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40c85c
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
movzx eax, byte [ebx]
cmp dword [esp + 8], eax
jne 0x40c546
test edi, edi
jle 0x40c546
movzx eax, byte [ebx + 1]
inc ebx
mov ecx, dword [esp + 0x40]
add ecx, 0xffffffff
setb dl
test al, al
je 0x40c546
test dl, dl
jne 0x40c47e
jmp 0x40c546
xor edi, edi
jmp 0x40c41e
mov ebx, dword [esp + 0x7c]
jmp 0x40c546
mov ebx, dword [esp + 0x88]
test al, al
je 0x40c5a6
mov edi, dword [esp + 0x6c]
cmp byte [esp + 0x68], 0
jne 0x40c752
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x6c]
and eax, 0x100
je 0x40c752
mov eax, ebx
sub eax, dword [esp + 0x7c]
test eax, eax
jle 0x40c652
add ebx, dword [esp + 0xa0]
xor ecx, ecx
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + ecx]
cmp dl, byte [esi + ecx]
jne 0x40c65a
inc ecx
cmp ecx, eax
mov edx, dword [esp + 0x6c]
jl 0x40c58b
jmp 0x40c66b
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x40c634
mov ecx, dword [esp + 0x2c]
lea edi, [ecx + ecx]
mov ebx, dword [esp + 0x88]
jmp 0x40c5f5
push eax
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40c630
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], ecx
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
movzx eax, byte [ebx - 1]
mov byte [esi + ecx], al
inc ecx
add edi, 2
cmp byte [ebx], 0
lea ebx, [ebx + 1]
je 0x40c638
mov esi, dword [esp + 0x14]
cmp ecx, dword [esp + 0x3c]
jne 0x40c5de
mov dword [esp + 0x2c], ecx
cmp edi, 0x101
mov eax, 0x100
cmovae eax, edi
test esi, esi
mov dword [esp + 0x68], eax
je 0x40c5c3
push eax
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40c5d0
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40c5da
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x50]
test edi, edi
cmovg edi, dword [esp + 0x40]
mov al, 1
mov dword [esp + 0x68], eax
jmp 0x40c770
xor ecx, ecx
mov ebx, dword [esp + 0x6c]
jmp 0x40c661
mov edx, dword [esp + 0x6c]
lea ebx, [edx + ecx]
mov edi, ebx
cmp ecx, eax
jne 0x40c752
movzx eax, byte [ebx]
cmp dword [esp + 8], eax
jne 0x40c75d
cmp dword [esp + 0x40], 0
js 0x40c75d
movzx eax, byte [ebx + 1]
test al, al
je 0x40c75d
cmp dword [esp + 0x40], 0
je 0x40c75d
inc ebx
mov ecx, dword [esp + 0x40]
neg ecx
mov edi, ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40c6d3
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40c72a
jmp 0x40c88d
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40c88d
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40c710
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40c876
inc dword [esp + 0x10]
jmp 0x40c72a
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40c880
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
movzx eax, byte [edi]
cmp dword [esp + 8], eax
jne 0x40c74c
movzx eax, byte [edi + 1]
test al, al
je 0x40c74c
inc edi
mov edx, dword [esp + 0x40]
lea ecx, [edx + 1]
cmp edx, 0xffffffff
jne 0x40c6a3
not dword [esp + 0x40]
jmp 0x40c75d
test edi, edi
je 0x40d31b
movzx eax, byte [edi]
test al, al
jne 0x40d31b
mov edi, dword [esp + 0x50]
test edi, edi
cmovg edi, dword [esp + 0x40]
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
test edi, edi
je 0x40c89e
mov eax, dword [ebx]
test eax, eax
jne 0x40c276
mov eax, dword [esi + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40d88c
test byte [esi + 0x1004], 1
mov ecx, dword [esi]
jne 0x40c7dc
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d3c6
mov ecx, eax
inc dword [esp + 0x10]
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x40c28f
movzx edx, byte [ecx]
test edx, edx
je 0x40d3ac
mov ebx, edx
inc ecx
inc dword [esp + 0x10]
mov esi, dword [esp + 4]
mov dword [esi], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, ebx
mov ebx, eax
jmp 0x40c28f
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40c84e
mov dword [esp + 0x3c], esi
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x4f]
mov byte [edi + eax], cl
inc eax
mov dword [esp + 0x2c], eax
mov al, 1
mov dword [esp + 0x68], eax
mov al, 1
mov dword [esp + 0x70], eax
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
jmp 0x40c43e
xor edi, edi
jmp 0x40c818
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
jmp 0x40c3fb
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
neg dword [esp + 0x40]
mov dword [esp + 8], 0xffffffff
jmp 0x40c75a
mov dword [esp + 8], ecx
jmp 0x40d88c
movzx edx, byte [ecx]
test edx, edx
je 0x40d3e8
mov edi, edx
inc dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x40bb81
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x48], 0
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40e779
mov ecx, dword [esp + 0x20]
test cl, cl
sets al
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
test ecx, 0x600
sete cl
or cl, al
mov byte [esp + 0x24], cl
push dword [esp + 8]
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
jne 0x40d36e
cmp byte [esp + 0x20], 0
mov esi, dword [esp + 0x48]
mov eax, 0
cmovs esi, eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x83], cl
lea eax, [esp + 0x8c]
push eax
push 1
lea eax, [esp + 0x8b]
push eax
push esi
mov ebx, ecx
call fcn.00416810
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x40c9f5
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 4]
je 0x40c99a
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
jmp 0x40c9c7
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40e7c0
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40c9d5
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e7ad
mov ecx, eax
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x40c959
jmp 0x40e7c0
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40e7b7
mov esi, edi
mov edi, ebx
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, ebx
mov edi, esi
mov esi, dword [esp + 0x2c]
jmp 0x40c9cb
mov dword [esp + 8], ebx
cmp eax, 1
jne 0x40e7c0
add dword [esp + 0x48], 2
cmp byte [esp + 0x24], 0
jne 0x40ca79
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x48], ecx
jne 0x40ca79
mov ecx, dword [esp + 0x38]
lea esi, [ecx + ecx]
lea ecx, [ecx*4]
push ecx
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40ca5c
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x40ca5c
lea eax, [edi + edi]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
mov esi, edi
test eax, eax
je 0x40e8fb
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
lea eax, [eax + ecx*2]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], esi
cmp dword [esp + 0x50], 0
jle 0x40ca8f
cmp dword [esp + 0x50], 1
je 0x40e122
dec dword [esp + 0x50]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40c928
mov dword [esp + 8], 0xffffffff
jmp 0x40e122
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d408
mov dword [esp + 0x3c], 0x100
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, edi
mov byte [esi], al
cmp dword [esp + 0x50], 0
je case.0x40b3c0.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40cb10
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov ebx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ebx, 0xffffffff
jne 0x40cb61
jmp case.0x40b3c0.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b3c0.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40cb4b
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e8c3
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x40cb61
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40e8cd
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
push ebx
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x61
jne case.0x40b3c0.38
cmp dword [esp + 0x50], 0
setg byte [esp + 8]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x40cbca
test esi, esi
je 0x40cbab
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40cbc0
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40cbca
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d3fa
mov dword [esp + 0x3c], 0x100
mov esi, eax
xor eax, eax
movzx ecx, byte [esp + 8]
mov al, cl
mov dword [esp + 0x14], esi
mov byte [esi + 1], bl
cmp dword [esp + 0x50], eax
je case.0x40b3c0.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40cc10
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40cc67
jmp case.0x40b3c0.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b3c0.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40cc4d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40e8c3
inc dword [esp + 0x10]
jmp 0x40cc67
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40e8cd
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x40b3c0.38
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x40ccb0
test eax, eax
je 0x40cc9b
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x40cca8
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov byte [eax + 2], cl
mov dword [esp + 0x2c], 3
jmp 0x40d8a9
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d40f
mov dword [esp + 0x3c], 0x100
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, edi
mov byte [esi], al
cmp dword [esp + 0x50], 0
je case.0x40b3c0.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40cd22
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov ebx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ebx, 0xffffffff
jne 0x40cd73
jmp case.0x40b3c0.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b3c0.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40cd5d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e8c3
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x40cd73
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40e8cd
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
push ebx
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x40b3c0.38
cmp dword [esp + 0x50], 0
setg byte [esp + 8]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x40cddc
test esi, esi
je 0x40cdbd
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40cdd2
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40cddc
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d401
mov dword [esp + 0x3c], 0x100
mov esi, eax
xor eax, eax
movzx ecx, byte [esp + 8]
mov al, cl
mov dword [esp + 0x14], esi
mov byte [esi + 1], bl
sub dword [esp + 0x50], eax
je case.0x40b3c0.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40ce22
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40ce79
jmp case.0x40b3c0.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b3c0.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40ce5f
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40e8c3
inc dword [esp + 0x10]
jmp 0x40ce79
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40e8cd
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x66
jne case.0x40b3c0.38
xor ebx, ebx
cmp dword [esp + 0x50], 0
setg byte [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x40cece
test eax, eax
je 0x40ceb9
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x40cec6
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [esp + 0x3c], 0x100
movzx ecx, byte [esp + 0x2c]
mov bl, cl
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov byte [eax + 2], cl
mov dword [esp + 0x2c], 3
sub dword [esp + 0x50], ebx
je 0x40d8a9
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40d0b7
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne 0x40d0c4
xor ebx, ebx
mov esi, dword [esp + 0x50]
test esi, esi
setg bl
mov ecx, 3
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040ec20
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov byte [eax + 3], cl
sub esi, ebx
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
cmp eax, 0xffffffff
je case.0x40b3c0.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x40b3c0.38
xor eax, eax
test esi, esi
setg al
mov edi, eax
mov ecx, 4
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040ec20
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 4], bl
sub esi, edi
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
cmp eax, 0xffffffff
je case.0x40b3c0.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne case.0x40b3c0.38
xor eax, eax
test esi, esi
setg al
mov edi, eax
mov ecx, 5
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040ec20
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 5], bl
sub esi, edi
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
cmp eax, 0xffffffff
je case.0x40b3c0.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x74
jne case.0x40b3c0.38
xor eax, eax
test esi, esi
setg al
mov edi, eax
mov ecx, 6
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040ec20
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 6], bl
cmp esi, edi
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je case.0x40b3c0.38
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x79
jne case.0x40b3c0.38
mov ecx, 7
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040ec20
add esp, 4
mov edi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov byte [edi + 7], al
mov dword [esp + 0x2c], 8
jmp 0x40d8ad
mov dword [esp + 8], 0xffffffff
jmp 0x40d8a9
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
lea eax, [esp + 0x14]
push eax
call fcn.0040ea10
add esp, 8
jmp 0x40d8a9
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
cmp byte [esp + 0x20], 0
js 0x40e1de
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
jmp 0x40e1b6
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x44], 0
je case.0x40b3c0.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
cmp eax, 0xffffffff
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
jne 0x40d16f
jmp 0x40e779
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40d2c2
mov dword [esp + 8], eax
push eax
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
jne 0x40d2a2
test bl, bl
js 0x40d1af
lea eax, [edi + 1]
mov ecx, dword [esp + 8]
mov byte [edi], cl
test ebx, 0x600
je 0x40d1ad
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x40d248
mov edi, eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x40d1c9
cmp eax, 1
je 0x40d2d3
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
test eax, eax
jne 0x40d156
mov dword [esp + 0x44], edi
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e19f
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40d21d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d39c
mov ecx, eax
inc dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
jmp 0x40d166
movzx esi, byte [ecx]
test esi, esi
je 0x40d38a
mov edx, esi
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
mov eax, edx
jmp 0x40d166
mov eax, dword [esp + 0x38]
lea esi, [eax + eax]
push esi
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40d279
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x40d279
push edi
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
mov esi, edi
test eax, eax
je 0x40e81f
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov edi, dword [esp + 0x38]
add edi, eax
mov dword [esp + 0x38], esi
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
jmp 0x40d1b3
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.0040ea10
add esp, 8
jmp 0x40e19f
mov dword [esp + 0x44], edi
mov dword [esp + 8], 0xffffffff
jmp 0x40e19f
mov dword [esp + 0x44], edi
jmp 0x40e19f
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40d445
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x40d45a
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x40d810
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
jmp 0x40d81d
cmp dword [esp + 8], 0xffffffff
je 0x40d353
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x40d86b
mov eax, dword [esp + 4]
push dword [eax]
push dword [esp + 0xc]
call sub.msvcrt.dll_ungetc
add esp, 8
lea eax, [esp + 0x10]
mov ecx, 0xffffffff
jmp 0x40d88a
mov dword [esp + 8], 0xffffffff
jmp 0x40d88c
xor esi, esi
jmp 0x40bb4a
xor esi, esi
jmp 0x40bcd3
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.0040ea10
add esp, 8
jmp 0x40e122
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x40d2c6
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40d2c6
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
jmp 0x40d88c
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
mov dword [esp + 8], 0xffffffff
jmp 0x40d88c
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x40e252
xor esi, esi
jmp 0x40cbca
xor esi, esi
jmp 0x40cddc
xor esi, esi
jmp 0x40cad5
xor esi, esi
jmp 0x40cce7
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x40db9d
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [eax], esi
jmp 0x40e1de
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40d45a
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
xor ecx, ecx
movzx eax, byte [esp + 0x40]
mov cl, al
mov eax, dword [esp + 0x50]
sub eax, ecx
inc dword [esp + 0x2c]
mov dword [esp + 0x50], eax
test eax, eax
je 0x40d4b6
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x40d4c3
test bl, bl
je 0x40d4c9
xor eax, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
setg al
sub ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
mov dword [esp + 0x40], 0x10
jmp 0x40d4d1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
jmp 0x40e244
mov eax, dword [esp + 0x68]
jmp 0x40d4cd
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
cmp dword [esp + 8], 0xffffffff
je 0x40e244
cmp dword [esp + 0x50], 0
je 0x40e244
cmp dword [esp + 0x40], 0xa
setne al
test dword [esp + 0x20], 0x100
sete cl
or cl, al
mov byte [esp + 0x68], cl
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x50]
jmp 0x40d532
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x40d793
movzx eax, byte [esp + 0x50]
mov bl, al
sub edi, ebx
je 0x40d793
cmp dword [esp + 0x40], 0x10
mov dword [esp + 8], ecx
jne 0x40d54f
push ecx
call sub.msvcrt.dll_isxdigit
add esp, 4
test eax, eax
jne 0x40d55d
jmp 0x40d79c
lea eax, [ecx - 0x30]
cmp eax, 9
ja 0x40d566
cmp eax, dword [esp + 0x40]
jge 0x40d566
mov ecx, dword [esp + 0x2c]
jmp 0x40d69f
cmp byte [esp + 0x68], 0
jne 0x40e244
test edi, edi
mov eax, edi
mov edi, 0x7fffffff
mov dword [esp + 0x50], eax
cmovg edi, eax
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax]
cmp ecx, eax
jne 0x40d650
mov eax, dword [esp + 0x98]
movzx eax, byte [eax]
test al, al
je 0x40d656
dec edi
mov ecx, edi
mov esi, dword [esp + 0x98]
mov edi, ecx
lea ebx, [ecx + 1]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
mov edx, dword [esp + 4]
je 0x40d5d9
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x40d626
jmp 0x40d67a
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40d67a
mov dword [esp + 8], ebx
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40d60c
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d65f
mov ecx, eax
inc dword [esp + 0x10]
jmp 0x40d622
movzx edx, byte [ecx]
test edx, edx
je 0x40d669
mov ebx, edx
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, edx
mov ebx, dword [esp + 8]
movzx eax, byte [esi]
cmp ecx, eax
mov dword [esp + 8], ecx
jne 0x40d687
test ebx, ebx
jle 0x40d687
movzx eax, byte [esi + 1]
inc esi
mov ecx, edi
add ecx, 0xffffffff
setb dl
test al, al
je 0x40d687
test dl, dl
jne 0x40d5ac
jmp 0x40d687
mov esi, dword [esp + 0x6c]
jmp 0x40d687
mov esi, dword [esp + 0x98]
jmp 0x40d687
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov ebx, dword [esp + 8]
movzx eax, byte [esi]
mov dword [esp + 8], 0xffffffff
mov edi, ebx
test al, al
jne 0x40d7a9
mov eax, dword [esp + 0x50]
test eax, eax
cmovg eax, edi
mov edi, eax
mov ecx, dword [esp + 0x2c]
dec ecx
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], ecx
jne 0x40d6df
mov ebx, edi
mov dword [esp + 0x2c], ecx
lea edi, [ecx + ecx]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x40d6e9
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40d6fa
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40d700
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
jmp 0x40d70e
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d78c
mov dword [esp + 0x3c], edi
mov esi, eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov edi, ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov byte [esi + ecx], al
inc ecx
mov dword [esp + 0x2c], ecx
xor ebx, ebx
test edi, edi
setg byte [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x40d50a
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e244
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40d76b
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d7f8
mov ecx, eax
jmp 0x40d516
movzx esi, byte [ecx]
test esi, esi
je 0x40d7de
mov edx, esi
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, esi
cmp ecx, 0xffffffff
jne 0x40d523
jmp 0x40d793
xor esi, esi
jmp 0x40d700
mov dword [esp + 8], ecx
jmp 0x40e244
mov dword [esp + 0x40], 0x10
jmp 0x40e244
cmp esi, dword [esp + 0x6c]
jbe 0x40e244
cmp dword [esp + 8], 0xffffffff
je 0x40e209
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x40e099
mov eax, dword [esp + 4]
push dword [eax]
push dword [esp + 0xc]
jmp 0x40e1cb
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
jmp 0x40e244
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
mov dword [esp + 8], 0xffffffff
jmp 0x40e244
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], esi
mov dword [eax + 4], 0
jmp 0x40e1de
cmp dword [esp + 0x24], 0
je 0x40dbb1
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0x44], eax
jmp 0x40dbc2
cmp dword [esp + 0x24], 0
je 0x40dbce
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [esp + 0x48], eax
jmp 0x40dbdf
dec dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 8]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [esp + 0x1c]
mov ecx, 1
add dword [eax], ecx
cmp dword [esp + 0x2c], 0
je case.0x40b3c0.38
test byte [esp + 0x20], 0x40
je 0x40d8a9
cmp dword [esp + 0x2c], 2
je case.0x40b3c0.38
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40d902
mov eax, dword [esp + 0x2c]
lea esi, [eax + eax]
cmp esi, 0x101
mov eax, 0x100
cmovb esi, eax
test edi, edi
je 0x40d8eb
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40d8fc
push edi
call fcn.00439774
add esp, 4
xor edi, edi
jmp 0x40d902
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40da57
mov dword [esp + 0x3c], esi
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x2c]
mov byte [edi + eax], 0
test byte [esp + 0x20], 8
jne 0x40d994
mov eax, dword [esp + 0x14]
test byte [esp + 0x20], 4
jne 0x40d9ee
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.00416a90
add esp, 8
fstp dword [esp + 0xa4]
cmp byte [esp + 0x20], 0
js 0x40daa1
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x40daa1
movss xmm0, dword [esp + 0xa4]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x40d978
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x43b240]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x40da73
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
jmp 0x40da80
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
call fcn.00416b10
add esp, 8
cmp byte [esp + 0x20], 0
js 0x40d9e7
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x40d9e7
cmp dword [esp + 0x78], 0x2d
fld st(0)
fxch st(1)
fchs
fxch st(1)
fcmove st(0), st(1)
fstp st(1)
fstp xword [esp + 0x50]
cmp dword [esp + 0x24], 0
je 0x40da5e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
jmp 0x40da6b
fstp st(0)
jmp 0x40daa1
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.00416b10
add esp, 8
fstp qword [esp + 0xb0]
cmp byte [esp + 0x20], 0
js 0x40daa1
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x40daa1
movsd xmm0, qword [esp + 0xb0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x40da42
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x43b230]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x40da8b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
jmp 0x40da98
xor edi, edi
jmp 0x40d902
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
fld xword [esp + 0x50]
fstp xword [eax]
jmp 0x40daa1
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
movaps xmm0, xmmword [esp + 0x50]
movss dword [eax], xmm0
jmp 0x40daa1
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
movaps xmm0, xmmword [esp + 0x50]
movsd qword [eax], xmm0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x74]
je case.0x40b3c0.38
xor eax, eax
cmp byte [esp + 0x20], 0
setns al
mov esi, dword [esp + 0x18]
add esi, eax
jmp 0x40e1e2
movzx esi, word [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x40e0d2
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov word [eax], si
jmp 0x40e1de
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
add ecx, 4
mov dword [esp + 0x30], ecx
cmp dword [esp + 0xc], 0
je 0x40e7d9
push 0x64
call sub.msvcrt.dll_malloc
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [esp + 0x44], ecx
jmp 0x40db51
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
add ecx, 4
mov dword [esp + 0x30], ecx
cmp dword [esp + 0xc], 0
je 0x40e7d9
push 0xc8
call sub.msvcrt.dll_malloc
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x40e7ef
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40db68
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x40db82
push 0x88
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], edi
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x28], edi
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, dword [esp + 0xc]
mov dword [edi + ecx*4 + 8], eax
mov dword [esp + 0x38], 0x64
jmp 0x40dbea
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], esi
jmp 0x40e1de
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x44], 0
jne 0x40dbea
jmp case.0x40b3c0.38
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x48], 0
je case.0x40b3c0.38
movzx eax, byte [esi + 1]
add esi, 2
mov byte [esp + 0x2c], al
cmp al, 0x5e
mov eax, dword [esp + 0x34]
cmove eax, esi
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x50]
cmp ecx, 0x7fffffff
mov eax, 0x7fffffff
cmovae ecx, eax
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x3c], 0xff
mov eax, dword [esp + 0x14]
ja 0x40dc4c
mov dword [esp + 0x3c], 0x100
test eax, eax
je 0x40dc3b
push eax
call fcn.00439774
add esp, 4
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
movups xmmword [eax + 0xf0], xmm0
movups xmmword [eax + 0xe0], xmm0
movups xmmword [eax + 0xd0], xmm0
movups xmmword [eax + 0xc0], xmm0
movups xmmword [eax + 0xb0], xmm0
movups xmmword [eax + 0xa0], xmm0
movups xmmword [eax + 0x90], xmm0
movups xmmword [eax + 0x80], xmm0
movups xmmword [eax + 0x70], xmm0
movups xmmword [eax + 0x60], xmm0
movups xmmword [eax + 0x50], xmm0
movups xmmword [eax + 0x40], xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov ecx, dword [esp + 0x34]
movzx ecx, byte [ecx]
cmp ecx, 0x5d
je 0x40dcb7
cmp ecx, 0x2d
jne 0x40dcbf
mov byte [eax + ecx], 1
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
jmp 0x40dccf
mov ecx, dword [esp + 0x14]
mov byte [ecx + eax], 1
mov ecx, esi
lea esi, [ecx + 1]
movzx eax, byte [ecx]
cmp eax, 0x2d
je 0x40dce9
test eax, eax
je case.0x40b3c0.38
cmp eax, 0x5d
jne 0x40dcc5
jmp 0x40dd19
movzx ebx, byte [esi]
test ebx, ebx
je 0x40dcc5
cmp ebx, 0x5d
je 0x40dcc5
movzx edx, byte [ecx - 1]
cmp dl, bl
ja 0x40dcc5
mov ecx, esi
cmp dl, bl
jae 0x40dccf
mov eax, esi
mov ecx, esi
mov eax, dword [esp + 0x14]
mov byte [eax + edx], 1
inc edx
movzx eax, byte [ecx]
cmp edx, eax
jb 0x40dd07
jmp 0x40dccf
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040e990
mov dword [esp + 8], eax
test byte [esp + 0x20], 4
jne 0x40dea2
cmp dword [esp + 8], 0xffffffff
je 0x40e779
xor ebx, ebx
cmp byte [esp + 0x2c], 0x5e
sete bl
inc dword [esp + 0x50]
jmp 0x40dd7f
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
mov dword [esp + 8], eax
inc dword [esp + 0x10]
cmp dword [esp + 8], 0xffffffff
je 0x40e189
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
movsx eax, byte [eax + ecx]
cmp eax, ebx
je 0x40e07d
cmp byte [esp + 0x20], 0
js 0x40de14
mov ecx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov edx, dword [esp + 8]
mov byte [ecx], dl
test dword [esp + 0x20], 0x600
je 0x40ddc1
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x40ddc7
mov dword [esp + 0x44], eax
jmp 0x40de14
mov eax, dword [esp + 0x38]
lea esi, [eax + eax]
push esi
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40ddf8
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x40ddf8
push edi
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
mov esi, edi
test eax, eax
je 0x40e81f
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x50], eax
cmp eax, 2
jl 0x40e191
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x40dd5c
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e191
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40de78
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40dd70
jmp 0x40e16f
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40e17c
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
cmp dword [esp + 8], 0xffffffff
jne 0x40dd7f
jmp 0x40e189
cmp dword [esp + 8], 0xffffffff
je 0x40e779
xor eax, eax
cmp byte [esp + 0x2c], 0x5e
sete al
mov esi, eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x2c], 0
jmp 0x40defc
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
mov dword [esp + 8], eax
inc dword [esp + 0x10]
cmp dword [esp + 8], 0xffffffff
je 0x40e101
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
movsx eax, byte [eax + ecx]
mov ecx, esi
cmp eax, esi
je 0x40e061
cmp byte [esp + 0x20], 0
js 0x40dfd6
mov eax, dword [esp + 8]
mov byte [esp + 0x83], al
lea eax, [esp + 0x8c]
push eax
push 1
lea eax, [esp + 0x8b]
push eax
push dword [esp + 0x54]
call fcn.00416810
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x40df54
inc dword [esp + 0x2c]
jmp 0x40dfe5
add dword [esp + 0x48], 2
mov dword [esp + 0x2c], 0
test dword [esp + 0x20], 0x600
je 0x40dfd6
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x48], ecx
jne 0x40dfd6
mov ecx, dword [esp + 0x38]
lea edi, [ecx + ecx]
lea ecx, [ecx*4]
push ecx
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40dfb9
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edi, ebx
jbe 0x40dfb9
lea eax, [ebx + ebx]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
mov edi, ebx
test eax, eax
je 0x40e8fb
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
lea eax, [eax + ecx*2]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], edi
cmp dword [esp + 0x50], 2
jl 0x40e109
dec dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x40ded9
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e109
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40e037
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40deed
jmp 0x40e0e7
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40e0f4
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
cmp dword [esp + 8], 0xffffffff
jne 0x40defc
jmp 0x40e101
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.0040ea10
add esp, 8
jmp 0x40e109
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.0040ea10
add esp, 8
jmp 0x40e191
dec dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 8]
mov dword [ecx + eax*4 + 4], edx
jmp 0x40e1fe
cmp dword [esp + 0x24], 0
je 0x40e15e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov byte [eax], bl
jmp 0x40e1de
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], si
jmp 0x40e1de
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40e101
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
cmp dword [esp + 0x2c], 0
jne 0x40e7c0
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
je case.0x40b3c0.38
cmp byte [esp + 0x20], 0
js 0x40e1de
mov edx, dword [esp + 0x48]
mov word [edx], 0
add edx, 2
mov eax, dword [esp + 0x38]
add eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], edx
push eax
jmp 0x40e1ba
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x40e1de
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x40e1de
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40e189
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
je case.0x40b3c0.38
cmp byte [esp + 0x20], 0
js 0x40e1de
mov edx, dword [esp + 0x44]
mov byte [edx], 0
inc edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], edx
push dword [esp + 0x38]
call fcn.0040ebf0
add esp, 4
mov esi, dword [esp + 0x18]
inc esi
xor edi, edi
jmp 0x40e1e6
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x40e207
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
movzx eax, byte [edx]
test al, al
jne 0x40ade7
jmp 0x40e666
mov eax, 1
mov ecx, dword [esp + 0x1c]
add dword [ecx], eax
dec esi
cmp esi, dword [esp + 0x6c]
jbe 0x40e23d
movzx eax, byte [esi]
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
jne 0x40e229
mov ecx, dword [esp + 4]
push dword [ecx]
push eax
jmp 0x40e1cb
dec dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x1008]
mov dword [edx + ecx*4 + 4], eax
jmp 0x40e1fe
movzx eax, byte [esi]
mov dword [esp + 8], eax
cmp dword [esp + 0x2c], 0
je 0x40e2af
cmp dword [esp + 0x2c], 1
jne 0x40e273
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
cmp eax, 0x2b
je 0x40e878
mov dword [esp + 0x2c], 1
cmp eax, 0x2d
je 0x40e878
cmp dword [esp + 8], 0xffffffff
je 0x40e3c0
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x40e3ca
mov eax, dword [esp + 4]
push dword [eax]
push dword [esp + 0xc]
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x40e3e9
test byte [esp + 0x20], 0x20
je 0x40e878
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp al, 0x28
jne 0x40e878
mov bl, 0x6e
mov esi, 0xfffffffc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40e2fd
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x40e356
jmp 0x40e870
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e878
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40e33c
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e859
mov ecx, eax
inc dword [esp + 0x10]
jmp 0x40e356
movzx edi, byte [ecx]
test edi, edi
je 0x40e863
mov edx, edi
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov eax, edi
movsx edi, bl
mov dword [esp + 8], eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
movsx eax, al
cmp eax, edi
jne 0x40e878
movzx ebx, byte [esi + str.ssl_crt_file_error__n]
inc esi
mov edx, dword [esp + 4]
jne 0x40e2d9
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40e5b6
test esi, esi
je 0x40e59b
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40e5ac
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40e5b6
mov dword [esp + 8], 0xffffffff
jmp 0x40e3eb
dec dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 8]
mov dword [ecx + eax*4 + 4], edx
mov eax, 1
mov ecx, dword [esp + 0x1c]
add dword [ecx], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40e444
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x40e42d
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40e43e
push esi
call fcn.00439774
add esp, 4
xor esi, esi
jmp 0x40e444
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40e545
mov dword [esp + 0x3c], edi
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x2c]
mov byte [esi + eax], 0
mov eax, dword [esp + 0x14]
test byte [esp + 0x20], 8
jne 0x40e473
test byte [esp + 0x20], 0x10
jne 0x40e48b
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtoul
jmp 0x40e49a
test byte [esp + 0x20], 0x10
jne 0x40e4a1
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.00416be0
jmp 0x40e4b0
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtol
add esp, 0xc
mov ebx, eax
jmp 0x40e4bc
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.00416eb0
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x74]
je case.0x40b3c0.38
cmp byte [esp + 0x20], 0
js 0x40e1de
test byte [esp + 0x20], 0x10
test byte [esp + 0x20], 8
jne 0x40e50d
test byte [esp + 0x20], 4
jne 0x40e4f6
test byte [esp + 0x20], 2
jne 0x40e54c
test byte [esp + 0x20], 1
jne 0x40e572
cmp dword [esp + 0x24], 0
je 0x40e561
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov dword [eax], ebx
jmp 0x40e53b
cmp dword [esp + 0x24], 0
je 0x40e522
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
jmp 0x40e52f
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], ecx
mov esi, dword [esp + 0x18]
inc esi
jmp 0x40e1e2
xor esi, esi
jmp 0x40e444
cmp dword [esp + 0x24], 0
je 0x40e589
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
jmp 0x40e596
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x40e53b
cmp dword [esp + 0x24], 0
je 0x40e5ca
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040eb40
mov byte [eax], bl
jmp 0x40e53b
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], bx
jmp 0x40e53b
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40e5de
mov dword [esp + 0x3c], 0x100
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esi], 0x30
mov dword [esp + 0x2c], 1
jmp 0x40e3eb
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x40e53b
xor esi, esi
jmp 0x40e5b6
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov esi, 0xffffffff
jmp 0x40e67a
xor edi, edi
xor esi, esi
jmp 0x40e666
mov ecx, eax
jmp 0x40e61d
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov edx, dword [esp + 4]
mov dword [edx + 0x100c], eax
mov ecx, 0xffffffff
test byte [edx + 0x1004], 1
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
jne 0x40e644
push dword [edx]
push ecx
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x40e65b
dec dword [esp + 0x10]
mov eax, dword [edx + 0x1008]
mov dword [edx + eax*4 + 4], ecx
mov eax, 1
mov ecx, dword [esp + 0x1c]
add dword [ecx], eax
xor eax, eax
cmp esi, 1
sbb eax, eax
or esi, eax
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, esi
push eax
push edi
call fcn.0040ea60
add esp, 8
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, edx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40e759
mov edx, edi
lea esi, [edi + 0x1008]
jmp 0x40e6bd
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
inc dword [esp + 0x10]
push edi
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
mov edx, dword [esp + 4]
je 0x40e720
mov eax, dword [esi]
test eax, eax
jne 0x40e69c
mov eax, dword [edx + 0x100c]
mov edi, 0xffffffff
test al, 1
jne 0x40e6ac
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40e6f3
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e703
inc dword [esp + 0x10]
mov edi, eax
jmp 0x40e6ac
movzx edi, byte [ecx]
test edi, edi
je 0x40e710
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
jmp 0x40e6ac
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40e6ac
or eax, 1
mov dword [edx + 0x100c], eax
mov edi, 0xffffffff
jmp 0x40e6ac
cmp edi, 0xffffffff
je 0x40e759
test byte [edx + 0x1004], 1
jne 0x40e744
push dword [edx]
push edi
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea esi, [esp + 0x10]
jmp 0x40e757
dec dword [esp + 0x10]
mov eax, dword [edx + 0x1008]
mov dword [edx + eax*4 + 4], edi
mov eax, 1
add dword [esi], eax
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
jmp 0x40e666
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x100c]
or eax, 1
mov dword [edx + 0x100c], eax
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, 1
sbb eax, eax
or esi, eax
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, esi
push eax
push dword [esp + 0x10]
jmp 0x40e672
lea eax, [esp + 0x10]
mov ecx, esi
push 0
push eax
call fcn.0040ea10
add esp, 8
jmp case.0x40b3c0.38
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x100c]
or eax, 1
mov dword [edx + 0x100c], eax
call sub.msvcrt.dll__errno
mov dword [eax], 0x2a
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
mov esi, dword [esp + 0x18]
jmp 0x40e78e
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, esi
push eax
push 0
jmp 0x40e672
mov ecx, dword [esp + 0x20]
and ecx, 0x400
xor eax, eax
neg ecx
sbb eax, eax
mov esi, dword [esp + 0x18]
jmp 0x40e784
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
call fcn.0040eb70
mov esi, 0xffffffff
jmp 0x40e67a
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x40e84a
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
mov byte [eax + ecx - 1], 0
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0xc], 0
mov esi, ecx
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
jmp 0x40e790
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
lea eax, [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
jmp 0x40e7a0
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x40e779
cmp dword [esp + 8], 0xffffffff
je 0x40e779
lea eax, [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
jmp 0x40e7a2
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp case.0x40b3c0.38
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x100c]
or ecx, 1
mov eax, dword [esp + 4]
mov dword [eax + 0x100c], ecx
jmp case.0x40b3c0.38
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x40e84a
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
mov word [eax + ecx*2 - 2], 0
jmp 0x40e83d