Function at 0x40b0c0
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 0x40e9b2
mov esi, edx
test edx, edx
je 0x40e9b2
cmp dword [ecx], 0
je 0x40e9b2
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 0x40b144
xor edx, edx
cmp byte [eax], 0
cmovne edx, eax
movzx eax, byte [esi]
test al, al
mov ecx, dword [esp + 4]
je 0x40e9c7
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 0x40b2b1
push edi
call sub.msvcrt.dll_strlen
add esp, 4
lea ecx, [esp + 0xa8]
push ecx
push eax
push edi
call fcn.00414920
add esp, 0xc
test eax, eax
jle 0x40b2ae
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 0x40b220
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x40b280
jmp 0x40e9e8
mov eax, dword [edx + 0x100c]
mov ecx, 0xffffffff
test al, 1
jne 0x40e9ed
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40b25e
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40e9d1
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
jmp 0x40b280
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40e9db
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 0x40e9cd
inc edi
dec esi
cmp esi, 1
jg 0x40b200
mov dword [esp + 8], eax
mov edi, dword [esp + 0x34]
movzx eax, byte [edi]
test al, al
jne 0x40b1c7
jmp 0x40ea54
movzx eax, byte [edi]
lea esi, [edi + 1]
cmp al, 0x25
je 0x40b408
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 0x40b372
mov dword [esp + 0x50], esi
mov eax, dword [ebx]
test eax, eax
je 0x40b306
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 0x40b359
jmp 0x40eb49
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40eb49
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40b342
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40eb36
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov edx, dword [esp + 4]
jmp 0x40b359
movzx esi, byte [ecx]
test esi, esi
je 0x40eb40
inc ecx
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
cmp dword [esp + 0x20], 0
jne 0x40b3a4
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
cmp esi, eax
jne 0x40eb6a
mov edi, edx
mov edx, dword [esp + 0x34]
movzx eax, byte [edx]
mov esi, ecx
test al, al
jne 0x40b1c1
jmp 0x40ea5a
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 0x40eb49
push esi
call sub.msvcrt.dll_isspace
mov edx, dword [esp + 8]
add esp, 4
test eax, eax
je 0x40b360
mov eax, dword [ebx]
test eax, eax
jne 0x40b38a
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40eb49
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40b3f3
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40eb36
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
jmp 0x40b3a4
movzx esi, byte [ecx]
test esi, esi
je 0x40eb40
inc ecx
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
jmp 0x40b3a4
movzx eax, byte [esi]
add eax, 0xffffffd0
xor ebx, ebx
cmp eax, 9
ja 0x40b463
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 0x40b44b
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 0x40b430
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 0x40b478
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x6c]
jmp 0x40b478
or ebx, 0x80
inc esi
movzx eax, byte [esi]
cmp eax, 0x27
je 0x40b4a7
cmp eax, 0x2a
je 0x40b471
cmp eax, 0x49
jne 0x40b4c5
movzx eax, byte [esi + 1]
cmp eax, 0x33
je 0x40b4b6
cmp eax, 0x36
jne 0x40b4bf
cmp byte [esi + 2], 0x34
jne 0x40b4bf
add esi, 2
or ebx, 0xc
inc esi
jmp 0x40b478
mov eax, ebx
or eax, 0x100
test edx, edx
cmovne ebx, eax
inc esi
jmp 0x40b478
cmp byte [esi + 2], 0x32
jne 0x40b4bf
add esi, 2
or ebx, 4
inc esi
jmp 0x40b478
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x40b4f0
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 0x40b4cf
cmp ecx, 1
mov edi, 0
sbb edi, edi
or edi, ecx
jmp 0x40b4f5
mov edi, 0xffffffff
movzx eax, al
lea ecx, [eax - 0x4c]
cmp ecx, 0x2e
mov dword [esp + 0x50], edi
ja case.default.0x40b508
jmp dword [ecx*4 + 0x439280]
inc esi
or ebx, 0xc
jmp case.0x40b508.77
or ebx, 4
inc esi
jmp case.0x40b508.77
movzx eax, byte [esi + 1]
cmp al, 0x6c
jne 0x40b8e8
or ebx, 0x404
add esi, 2
jmp 0x40b56d
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.0x40b508.77
movzx eax, byte [esi + 1]
cmp eax, 0x53
je 0x40b566
cmp eax, 0x73
je 0x40b566
cmp eax, 0x5b
jne 0x40b56d
inc esi
or ebx, 0x200
mov edi, dword [esp + 0x50]
jmp case.0x40b508.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.0x40b508.77
or ebx, 8
inc esi
jmp case.0x40b508.77
test eax, eax
je case.0x40b790.38
movzx edx, byte [esi]
test dl, dl
je case.0x40b790.38
lea eax, [esi + 1]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x20], ebx
je 0x40b5d5
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 0x40b62c
movzx eax, dl
cmp eax, 0x62
jg 0x40b6ee
cmp eax, 0x43
je 0x40b6fc
cmp eax, 0x5b
je 0x40b6fc
jmp 0x40b5b5
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 0x40eb49
push edi
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
je 0x40b6ac
cmp edi, 0xffffffff
je 0x40b608
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40b656
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 0x40b61b
jmp 0x40b608
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40b608
mov edx, dword [esp + 4]
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40b68d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40b5f5
mov edi, eax
inc dword [esp + 0x10]
jmp 0x40b61b
movzx edi, byte [ecx]
mov dword [esp + 8], edi
test edi, edi
je 0x40b5ff
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
mov edi, dword [esp + 8]
jmp 0x40b61b
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 0x40b71f
test byte [ecx + 0x1004], 1
jne 0x40b702
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 0x40b71d
cmp eax, 0x63
je 0x40b735
cmp eax, 0x6e
jne 0x40b5b5
mov ecx, dword [esp + 4]
jmp 0x40b781
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 0x40b7d5
movzx eax, dl
cmp eax, 0x63
jne 0x40b781
test bl, 4
jne case.0x40b790.67
cmp edi, 0xffffffff
mov esi, edi
mov eax, 1
cmove esi, eax
test bl, bl
js 0x40b88b
test dword [esp + 0x20], 0x600
je 0x40b9c0
cmp dword [esp + 0x24], 0
je 0x40bdc1
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0xc], eax
jmp 0x40bdd2
movzx eax, dl
add eax, 0xffffffdb
cmp eax, 0x53
ja case.0x40b790.38
jmp dword [eax*4 + 0x43933c]
xor ebx, ebx
test edi, edi
setg byte [esp + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40b8aa
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 0x40b921
jmp 0x40eb49
test bl, 4
jne case.0x40b790.83
test bl, bl
js 0x40d503
test dword [esp + 0x20], 0x600
je 0x40bedb
cmp dword [esp + 0x24], 0
je 0x40c589
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0xc], eax
jmp 0x40c59a
cmp edi, 0xffffffff
mov eax, 1
cmove edi, eax
mov dword [esp + 0x50], edi
test bl, bl
js 0x40c35d
test dword [esp + 0x20], 0x600
je 0x40b9e0
cmp dword [esp + 0x24], 0
je 0x40be4b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0xc], eax
jmp 0x40be5c
test bl, bl
js 0x40ccb0
test dword [esp + 0x20], 0x600
je 0x40bc0e
cmp dword [esp + 0x24], 0
je 0x40c000
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0xc], eax
jmp 0x40c011
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40c28a
jmp 0x40eb49
mov eax, dword [ecx + 0x100c]
test al, 1
jne 0x40eb49
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40b902
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, 0xffffffff
je 0x40ec59
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x40b921
mov edx, eax
or ebx, 0x400
inc esi
mov edi, dword [esp + 0x50]
test dl, dl
jne 0x40b5a3
jmp case.0x40b790.38
movzx edx, byte [ecx]
mov dword [esp + 0x78], edx
test edx, edx
je 0x40ec63
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 0x40b93a
cmp dword [esp + 0x78], 0x2b
jne 0x40b974
cmp dword [esp + 0x50], 0
je case.0x40b790.38
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x40b97d
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 0x40bc47
jmp case.0x40b790.38
mov edi, dword [esp + 0x78]
jmp 0x40bc58
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x100c]
test cl, 1
jne case.0x40b790.38
mov edx, dword [esp + 4]
test byte [edx + 0x1004], 1
mov edx, dword [edx]
jne 0x40bc2e
push edx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40ecaf
mov edi, eax
inc dword [esp + 0x10]
jmp 0x40bc47
cmp dword [esp + 0x24], 0
je 0x40c122
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0x44], eax
jmp 0x40c133
cmp dword [esp + 0x24], 0
je 0x40c341
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0x48], eax
jmp 0x40c352
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 0x40bb21
test bl, bl
js 0x40e5ae
test byte [esp + 0x20], 8
jne 0x40d6cb
test byte [esp + 0x20], 4
jne 0x40d7e6
test byte [esp + 0x20], 2
jne 0x40de94
mov ebx, dword [esp + 0x10]
test byte [esp + 0x20], 1
jne 0x40e484
cmp dword [esp + 0x24], 0
je 0x40e51a
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [eax], ebx
jmp 0x40e5ae
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 0x40bb21
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 0x40bb21
test bl, 4
jne 0x40c550
cmp byte [esp + 0x20], 0
js 0x40dfba
test dword [esp + 0x20], 0x600
je 0x40dbfb
cmp dword [esp + 0x24], 0
je 0x40deb8
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0xc], eax
jmp 0x40dec9
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 0x40bb3d
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
jmp 0x40bb72
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40eb49
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40bbd9
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40ec59
mov edi, eax
inc dword [esp + 0x10]
mov eax, edi
cmp edi, 0x2b
je 0x40bb9c
mov eax, edi
cmp edi, 0x2d
je 0x40bb9c
mov dword [esp + 0x2c], 0
mov eax, edi
cmp edi, 0xffffffff
jne 0x40bf59
jmp 0x40eb49
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40bf1a
test esi, esi
je 0x40befb
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40bf10
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40bf1a
movzx edx, byte [ecx]
test edx, edx
je 0x40ec63
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x40bb76
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0x25
je 0x40e5ae
jmp 0x40ec75
cmp dword [esp + 0x24], 0
je 0x40cc94
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0x48], eax
jmp 0x40cca5
movzx esi, byte [edx]
test esi, esi
je 0x40ecb9
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 0x40bca8
cmp eax, 0x6e
jne 0x40bce5
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40cea5
test esi, esi
je 0x40ce86
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40ce9b
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40cea5
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40d0b7
test esi, esi
je 0x40d098
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40d0ad
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40d0b7
mov dword [esp + 0x2c], 0
mov byte [esp + 0x4f], 0x65
mov eax, edi
cmp edi, 0x30
jne 0x40c612
cmp dword [esp + 0x50], 0
je 0x40c612
xor ecx, ecx
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040eff0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax], 0x30
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
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 0x40c60a
push edi
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x40c612
mov ecx, 1
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040eff0
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.0040ed60
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 0x40c612
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 0x40eba9
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 0x40ebbf
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40be1b
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x40be35
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 0x40c13e
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 0x40eba9
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 0x40ebbf
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40beab
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x40bec5
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 0x40c35d
cmp dword [esp + 0x24], 0
je 0x40d4e7
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0x44], eax
jmp 0x40d4f8
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d730
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 0x40bfba
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 0x40bfb1
mov eax, edi
cmp edi, 0x30
jne 0x40bfb1
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 0x40c0a3
test esi, esi
je 0x40c084
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40c099
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40c0a3
mov dword [esp + 8], edi
jmp 0x40d8a1
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e622
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40cc77
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d7ae
mov edi, eax
jmp 0x40bf4d
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 0x40eba9
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 0x40ebbf
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40c04c
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x40c066
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 0x40ccb0
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d737
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 0x40c0d6
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 0x40d82a
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40d82a
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40d6ac
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d808
inc dword [esp + 0x10]
mov dword [esp + 8], eax
jmp 0x40d82a
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.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40eb49
cmp byte [esp + 0x20], 0
js 0x40c28a
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 8]
jmp 0x40c18b
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 0x40c338
test dword [esp + 0x20], 0x600
je 0x40c207
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 0x40c1fd
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 0x40c1e1
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edi, ebx
jbe 0x40c1e1
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 0x40ebd8
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 0x40c20b
mov eax, dword [esp + 0x1c]
mov byte [ebx], cl
inc ebx
cmp esi, 2
jl 0x40c32b
mov eax, dword [eax]
test eax, eax
jne 0x40c171
mov dword [esp + 0x44], ebx
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40d4c7
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40c267
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d4b0
mov ecx, eax
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x44]
jmp 0x40c181
movzx edx, byte [ecx]
test edx, edx
je 0x40d4ba
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 0x40c181
cmp esi, 2
jl 0x40e5ae
mov ebx, dword [esp + 0x50]
inc ebx
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
jmp 0x40c2c1
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40d4c7
dec ebx
cmp ebx, 3
jb 0x40c322
mov eax, dword [esi]
test eax, eax
jne 0x40c2a2
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40d4c7
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40c302
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d4b0
mov ecx, eax
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
jmp 0x40c2bb
movzx edx, byte [ecx]
test edx, edx
je 0x40d4ba
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 0x40c2bb
mov dword [esp + 8], eax
jmp 0x40d4cf
mov dword [esp + 8], ecx
mov dword [esp + 0x44], ebx
jmp 0x40d4cf
mov dword [esp + 0x44], ebx
jmp 0x40d4c7
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.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40eb49
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 0x40c43a
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 0x40c3db
mov esi, dword [esp + 0x48]
jmp 0x40c43a
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 0x40c41d
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 1]
cmp edi, esi
jbe 0x40c41d
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 0x40ebd8
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 0x40c46f
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40eb90
mov dword [esp + 8], eax
mov byte [esp + 0x83], al
push ebx
push 1
lea eax, [esp + 0x8b]
push eax
push esi
call fcn.004146f0
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x40c4ed
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 4]
jne 0x40c44b
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40eb90
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40c4c3
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40eb7d
inc dword [esp + 0x10]
jmp 0x40c464
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40eb87
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 0x40c464
cmp eax, 1
jne 0x40eb90
add dword [esp + 0x48], 2
cmp dword [esp + 0x50], 2
jl 0x40c531
dec dword [esp + 0x50]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x24]
jne 0x40c3a5
mov dword [esp + 8], 0xffffffff
cmp byte [esp + 0x20], 0
js 0x40e5ae
mov eax, dword [esp + 0x38]
add eax, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
push eax
jmp 0x40e58a
cmp byte [esp + 0x20], 0
js 0x40dfba
test dword [esp + 0x20], 0x600
je 0x40dc1b
cmp dword [esp + 0x24], 0
je 0x40deec
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0xc], eax
jmp 0x40defd
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 0x40eba9
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 0x40ebbf
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40c5d2
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x40c5ec
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 0x40d503
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 0x40c668
lea ecx, [eax - 1]
mov dword [esi + 0x1008], ecx
mov ecx, dword [esi + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x40d723
xor eax, eax
test edi, edi
setg al
sub edi, eax
lea eax, [ecx - 0x30]
cmp eax, 0xa
mov dword [esp + 0x50], edi
jb 0x40c6a3
cmp byte [esp + 0x70], 0
jne 0x40c6f8
mov eax, edx
and eax, 0x40
je 0x40c6f8
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 0x40c72e
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40c7fe
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 0x40c7d7
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40c7e8
push edi
call fcn.00437442
add esp, 4
xor edi, edi
jmp 0x40c7ee
cmp byte [esp + 0x70], 0
je 0x40c72e
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 0x40c7aa
cmp ecx, 0x2d
je 0x40c6a3
cmp ecx, 0x2b
je 0x40c6a3
jmp 0x40c7aa
cmp dword [esp + 0x2c], 0
je 0x40c7aa
cmp byte [esp + 0x70], 0
jne 0x40c7aa
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 0x40c7aa
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40cbe8
mov eax, dword [esp + 0x2c]
lea esi, [eax + eax]
cmp esi, 0x101
mov eax, 0x100
cmovb esi, eax
test edi, edi
je 0x40cbd5
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40cbe2
push edi
call fcn.00437442
add esp, 4
xor edi, edi
jmp 0x40cbe8
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 0x40c81f
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x40]
movzx eax, byte [ebx]
mov dword [esp + 0x40], edi
jmp 0x40c916
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40c902
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 0x40cb58
jmp 0x40cc6e
mov eax, dword [esp + 0x7c]
movzx eax, byte [eax]
cmp dword [esp + 8], eax
jne 0x40c909
mov eax, dword [esp + 0x88]
movzx eax, byte [eax]
test al, al
je 0x40c90f
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 0x40c881
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 0x40c8d8
jmp 0x40cc39
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40cc39
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40c8be
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40cc22
inc dword [esp + 0x10]
jmp 0x40c8d8
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40cc2c
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 0x40c916
test edi, edi
jle 0x40c916
movzx eax, byte [ebx + 1]
inc ebx
mov ecx, dword [esp + 0x40]
add ecx, 0xffffffff
setb dl
test al, al
je 0x40c916
test dl, dl
jne 0x40c84e
jmp 0x40c916
xor edi, edi
jmp 0x40c7ee
mov ebx, dword [esp + 0x7c]
jmp 0x40c916
mov ebx, dword [esp + 0x88]
test al, al
je 0x40c976
mov edi, dword [esp + 0x6c]
cmp byte [esp + 0x68], 0
jne 0x40cb22
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x6c]
and eax, 0x100
je 0x40cb22
mov eax, ebx
sub eax, dword [esp + 0x7c]
test eax, eax
jle 0x40ca22
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 0x40ca2a
inc ecx
cmp ecx, eax
mov edx, dword [esp + 0x6c]
jl 0x40c95b
jmp 0x40ca3b
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x40ca04
mov ecx, dword [esp + 0x2c]
lea edi, [ecx + ecx]
mov ebx, dword [esp + 0x88]
jmp 0x40c9c5
push eax
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40ca00
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 0x40ca08
mov esi, dword [esp + 0x14]
cmp ecx, dword [esp + 0x3c]
jne 0x40c9ae
mov dword [esp + 0x2c], ecx
cmp edi, 0x101
mov eax, 0x100
cmovae eax, edi
test esi, esi
mov dword [esp + 0x68], eax
je 0x40c993
push eax
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40c9a0
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40c9aa
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 0x40cb40
xor ecx, ecx
mov ebx, dword [esp + 0x6c]
jmp 0x40ca31
mov edx, dword [esp + 0x6c]
lea ebx, [edx + ecx]
mov edi, ebx
cmp ecx, eax
jne 0x40cb22
movzx eax, byte [ebx]
cmp dword [esp + 8], eax
jne 0x40cb2d
cmp dword [esp + 0x40], 0
js 0x40cb2d
movzx eax, byte [ebx + 1]
test al, al
je 0x40cb2d
cmp dword [esp + 0x40], 0
je 0x40cb2d
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 0x40caa3
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 0x40cafa
jmp 0x40cc5d
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x40cc5d
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40cae0
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40cc46
inc dword [esp + 0x10]
jmp 0x40cafa
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40cc50
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 0x40cb1c
movzx eax, byte [edi + 1]
test al, al
je 0x40cb1c
inc edi
mov edx, dword [esp + 0x40]
lea ecx, [edx + 1]
cmp edx, 0xffffffff
jne 0x40ca73
not dword [esp + 0x40]
jmp 0x40cb2d
test edi, edi
je 0x40d6eb
movzx eax, byte [edi]
test al, al
jne 0x40d6eb
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 0x40cc6e
mov eax, dword [ebx]
test eax, eax
jne 0x40c646
mov eax, dword [esi + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40dc5c
test byte [esi + 0x1004], 1
mov ecx, dword [esi]
jne 0x40cbac
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d796
mov ecx, eax
inc dword [esp + 0x10]
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x40c65f
movzx edx, byte [ecx]
test edx, edx
je 0x40d77c
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 0x40c65f
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40cc1e
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 0x40c80e
xor edi, edi
jmp 0x40cbe8
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 0x40c7cb
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 0x40cb2a
mov dword [esp + 8], ecx
jmp 0x40dc5c
movzx edx, byte [ecx]
test edx, edx
je 0x40d7b8
mov edi, edx
inc dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x40bf51
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.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40eb49
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 0x40d73e
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.004146f0
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x40cdc5
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 4]
je 0x40cd6a
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
jmp 0x40cd97
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40eb90
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40cda5
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40eb7d
mov ecx, eax
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x40cd29
jmp 0x40eb90
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40eb87
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 0x40cd9b
mov dword [esp + 8], ebx
cmp eax, 1
jne 0x40eb90
add dword [esp + 0x48], 2
cmp byte [esp + 0x24], 0
jne 0x40ce49
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 0x40ce49
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 0x40ce2c
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x40ce2c
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 0x40eccb
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 0x40ce5f
cmp dword [esp + 0x50], 1
je 0x40e4f2
dec dword [esp + 0x50]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40ccf8
mov dword [esp + 8], 0xffffffff
jmp 0x40e4f2
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d7d8
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.0x40b790.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40cee0
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 0x40cf31
jmp case.0x40b790.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b790.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40cf1b
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40ec93
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x40cf31
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40ec9d
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.0x40b790.38
cmp dword [esp + 0x50], 0
setg byte [esp + 8]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x40cf9a
test esi, esi
je 0x40cf7b
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40cf90
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40cf9a
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d7ca
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.0x40b790.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40cfe0
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 0x40d037
jmp case.0x40b790.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b790.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40d01d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40ec93
inc dword [esp + 0x10]
jmp 0x40d037
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40ec9d
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.0x40b790.38
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x40d080
test eax, eax
je 0x40d06b
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x40d078
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 0x40dc79
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d7df
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.0x40b790.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40d0f2
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 0x40d143
jmp case.0x40b790.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b790.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40d12d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40ec93
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x40d143
movzx ebx, byte [ecx]
test ebx, ebx
je 0x40ec9d
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.0x40b790.38
cmp dword [esp + 0x50], 0
setg byte [esp + 8]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x40d1ac
test esi, esi
je 0x40d18d
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40d1a2
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40d1ac
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40d7d1
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.0x40b790.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40d1f2
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 0x40d249
jmp case.0x40b790.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x40b790.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40d22f
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40ec93
inc dword [esp + 0x10]
jmp 0x40d249
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40ec9d
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.0x40b790.38
xor ebx, ebx
cmp dword [esp + 0x50], 0
setg byte [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x40d29e
test eax, eax
je 0x40d289
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x40d296
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 0x40dc79
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40d487
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne 0x40d494
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.0040eff0
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov byte [eax + 3], cl
sub esi, ebx
je case.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
cmp eax, 0xffffffff
je case.0x40b790.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x40b790.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.0040eff0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 4], bl
sub esi, edi
je case.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
cmp eax, 0xffffffff
je case.0x40b790.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne case.0x40b790.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.0040eff0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 5], bl
sub esi, edi
je case.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
cmp eax, 0xffffffff
je case.0x40b790.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x74
jne case.0x40b790.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.0040eff0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 6], bl
cmp esi, edi
je case.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je case.0x40b790.38
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x79
jne case.0x40b790.38
mov ecx, 7
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.0040eff0
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 0x40dc7d
mov dword [esp + 8], 0xffffffff
jmp 0x40dc79
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
lea eax, [esp + 0x14]
push eax
call fcn.0040ede0
add esp, 8
jmp 0x40dc79
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 0x40e5ae
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
jmp 0x40e586
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.0x40b790.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.0040ed60
cmp eax, 0xffffffff
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
jne 0x40d53f
jmp 0x40eb49
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40d692
mov dword [esp + 8], eax
push eax
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
jne 0x40d672
test bl, bl
js 0x40d57f
lea eax, [edi + 1]
mov ecx, dword [esp + 8]
mov byte [edi], cl
test ebx, 0x600
je 0x40d57d
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x40d618
mov edi, eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x40d599
cmp eax, 1
je 0x40d6a3
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
test eax, eax
jne 0x40d526
mov dword [esp + 0x44], edi
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e56f
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40d5ed
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40d76c
mov ecx, eax
inc dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
jmp 0x40d536
movzx esi, byte [ecx]
test esi, esi
je 0x40d75a
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 0x40d536
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 0x40d649
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x40d649
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 0x40ebef
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 0x40d583
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.0040ede0
add esp, 8
jmp 0x40e56f
mov dword [esp + 0x44], edi
mov dword [esp + 8], 0xffffffff
jmp 0x40e56f
mov dword [esp + 0x44], edi
jmp 0x40e56f
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40d815
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x40d82a
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x40dbe0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
jmp 0x40dbed
cmp dword [esp + 8], 0xffffffff
je 0x40d723
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x40dc3b
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 0x40dc5a
mov dword [esp + 8], 0xffffffff
jmp 0x40dc5c
xor esi, esi
jmp 0x40bf1a
xor esi, esi
jmp 0x40c0a3
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.0040ede0
add esp, 8
jmp 0x40e4f2
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x40d696
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40d696
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
jmp 0x40dc5c
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
mov dword [esp + 8], 0xffffffff
jmp 0x40dc5c
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x40e622
xor esi, esi
jmp 0x40cf9a
xor esi, esi
jmp 0x40d1ac
xor esi, esi
jmp 0x40cea5
xor esi, esi
jmp 0x40d0b7
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x40df6d
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [eax], esi
jmp 0x40e5ae
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40d82a
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 0x40d886
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x40d893
test bl, bl
je 0x40d899
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.0040ed60
mov dword [esp + 8], eax
mov dword [esp + 0x40], 0x10
jmp 0x40d8a1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
jmp 0x40e614
mov eax, dword [esp + 0x68]
jmp 0x40d89d
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
cmp dword [esp + 8], 0xffffffff
je 0x40e614
cmp dword [esp + 0x50], 0
je 0x40e614
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 0x40d902
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x40db63
movzx eax, byte [esp + 0x50]
mov bl, al
sub edi, ebx
je 0x40db63
cmp dword [esp + 0x40], 0x10
mov dword [esp + 8], ecx
jne 0x40d91f
push ecx
call sub.msvcrt.dll_isxdigit
add esp, 4
test eax, eax
jne 0x40d92d
jmp 0x40db6c
lea eax, [ecx - 0x30]
cmp eax, 9
ja 0x40d936
cmp eax, dword [esp + 0x40]
jge 0x40d936
mov ecx, dword [esp + 0x2c]
jmp 0x40da6f
cmp byte [esp + 0x68], 0
jne 0x40e614
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 0x40da20
mov eax, dword [esp + 0x98]
movzx eax, byte [eax]
test al, al
je 0x40da26
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 0x40d9a9
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x40d9f6
jmp 0x40da4a
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x40da4a
mov dword [esp + 8], ebx
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40d9dc
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40da2f
mov ecx, eax
inc dword [esp + 0x10]
jmp 0x40d9f2
movzx edx, byte [ecx]
test edx, edx
je 0x40da39
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 0x40da57
test ebx, ebx
jle 0x40da57
movzx eax, byte [esi + 1]
inc esi
mov ecx, edi
add ecx, 0xffffffff
setb dl
test al, al
je 0x40da57
test dl, dl
jne 0x40d97c
jmp 0x40da57
mov esi, dword [esp + 0x6c]
jmp 0x40da57
mov esi, dword [esp + 0x98]
jmp 0x40da57
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 0x40db79
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 0x40daaf
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 0x40dab9
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40daca
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40dad0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
jmp 0x40dade
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40db5c
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 0x40d8da
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e614
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40db3b
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40dbc8
mov ecx, eax
jmp 0x40d8e6
movzx esi, byte [ecx]
test esi, esi
je 0x40dbae
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 0x40d8f3
jmp 0x40db63
xor esi, esi
jmp 0x40dad0
mov dword [esp + 8], ecx
jmp 0x40e614
mov dword [esp + 0x40], 0x10
jmp 0x40e614
cmp esi, dword [esp + 0x6c]
jbe 0x40e614
cmp dword [esp + 8], 0xffffffff
je 0x40e5d9
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x40e469
mov eax, dword [esp + 4]
push dword [eax]
push dword [esp + 0xc]
jmp 0x40e59b
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
jmp 0x40e614
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
mov dword [esp + 8], 0xffffffff
jmp 0x40e614
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 0x40e5ae
cmp dword [esp + 0x24], 0
je 0x40df81
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0x44], eax
jmp 0x40df92
cmp dword [esp + 0x24], 0
je 0x40df9e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [esp + 0x48], eax
jmp 0x40dfaf
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.0x40b790.38
test byte [esp + 0x20], 0x40
je 0x40dc79
cmp dword [esp + 0x2c], 2
je case.0x40b790.38
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x40dcd2
mov eax, dword [esp + 0x2c]
lea esi, [eax + eax]
cmp esi, 0x101
mov eax, 0x100
cmovb esi, eax
test edi, edi
je 0x40dcbb
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40dccc
push edi
call fcn.00437442
add esp, 4
xor edi, edi
jmp 0x40dcd2
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40de27
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 0x40dd64
mov eax, dword [esp + 0x14]
test byte [esp + 0x20], 4
jne 0x40ddbe
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.00414970
add esp, 8
fstp dword [esp + 0xa4]
cmp byte [esp + 0x20], 0
js 0x40de71
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x40de71
movss xmm0, dword [esp + 0xa4]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x40dd48
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x439270]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x40de43
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
jmp 0x40de50
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
call fcn.004149f0
add esp, 8
cmp byte [esp + 0x20], 0
js 0x40ddb7
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x40ddb7
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 0x40de2e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
jmp 0x40de3b
fstp st(0)
jmp 0x40de71
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.004149f0
add esp, 8
fstp qword [esp + 0xb0]
cmp byte [esp + 0x20], 0
js 0x40de71
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x40de71
movsd xmm0, qword [esp + 0xb0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x40de12
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x439260]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x40de5b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
jmp 0x40de68
xor edi, edi
jmp 0x40dcd2
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 0x40de71
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 0x40de71
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.0x40b790.38
xor eax, eax
cmp byte [esp + 0x20], 0
setns al
mov esi, dword [esp + 0x18]
add esi, eax
jmp 0x40e5b2
movzx esi, word [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x40e4a2
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov word [eax], si
jmp 0x40e5ae
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 0x40eba9
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 0x40df21
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 0x40eba9
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 0x40ebbf
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40df38
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x40df52
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 0x40dfba
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], esi
jmp 0x40e5ae
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 0x40dfba
jmp case.0x40b790.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.0x40b790.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 0x40e01c
mov dword [esp + 0x3c], 0x100
test eax, eax
je 0x40e00b
push eax
call fcn.00437442
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 0x40e087
cmp ecx, 0x2d
jne 0x40e08f
mov byte [eax + ecx], 1
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
jmp 0x40e09f
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 0x40e0b9
test eax, eax
je case.0x40b790.38
cmp eax, 0x5d
jne 0x40e095
jmp 0x40e0e9
movzx ebx, byte [esi]
test ebx, ebx
je 0x40e095
cmp ebx, 0x5d
je 0x40e095
movzx edx, byte [ecx - 1]
cmp dl, bl
ja 0x40e095
mov ecx, esi
cmp dl, bl
jae 0x40e09f
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 0x40e0d7
jmp 0x40e09f
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.0040ed60
mov dword [esp + 8], eax
test byte [esp + 0x20], 4
jne 0x40e272
cmp dword [esp + 8], 0xffffffff
je 0x40eb49
xor ebx, ebx
cmp byte [esp + 0x2c], 0x5e
sete bl
inc dword [esp + 0x50]
jmp 0x40e14f
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 0x40e559
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
movsx eax, byte [eax + ecx]
cmp eax, ebx
je 0x40e44d
cmp byte [esp + 0x20], 0
js 0x40e1e4
mov ecx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov edx, dword [esp + 8]
mov byte [ecx], dl
test dword [esp + 0x20], 0x600
je 0x40e191
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x40e197
mov dword [esp + 0x44], eax
jmp 0x40e1e4
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 0x40e1c8
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x40e1c8
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 0x40ebef
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 0x40e561
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x40e12c
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e561
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40e248
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40e140
jmp 0x40e53f
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40e54c
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
cmp dword [esp + 8], 0xffffffff
jne 0x40e14f
jmp 0x40e559
cmp dword [esp + 8], 0xffffffff
je 0x40eb49
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 0x40e2cc
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 0x40e4d1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
movsx eax, byte [eax + ecx]
mov ecx, esi
cmp eax, esi
je 0x40e431
cmp byte [esp + 0x20], 0
js 0x40e3a6
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.004146f0
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x40e324
inc dword [esp + 0x2c]
jmp 0x40e3b5
add dword [esp + 0x48], 2
mov dword [esp + 0x2c], 0
test dword [esp + 0x20], 0x600
je 0x40e3a6
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 0x40e3a6
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 0x40e389
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edi, ebx
jbe 0x40e389
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 0x40eccb
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 0x40e4d9
dec dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x40e2a9
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40e4d9
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40e407
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x40e2bd
jmp 0x40e4b7
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x40e4c4
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
cmp dword [esp + 8], 0xffffffff
jne 0x40e2cc
jmp 0x40e4d1
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.0040ede0
add esp, 8
jmp 0x40e4d9
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.0040ede0
add esp, 8
jmp 0x40e561
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 0x40e5ce
cmp dword [esp + 0x24], 0
je 0x40e52e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov byte [eax], bl
jmp 0x40e5ae
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], si
jmp 0x40e5ae
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40e4d1
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
cmp dword [esp + 0x2c], 0
jne 0x40eb90
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
je case.0x40b790.38
cmp byte [esp + 0x20], 0
js 0x40e5ae
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 0x40e58a
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x40e5ae
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x40e5ae
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40e559
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.0x40b790.38
cmp byte [esp + 0x20], 0
js 0x40e5ae
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.0040efc0
add esp, 4
mov esi, dword [esp + 0x18]
inc esi
xor edi, edi
jmp 0x40e5b6
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x40e5d7
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 0x40b1b7
jmp 0x40ea36
mov eax, 1
mov ecx, dword [esp + 0x1c]
add dword [ecx], eax
dec esi
cmp esi, dword [esp + 0x6c]
jbe 0x40e60d
movzx eax, byte [esi]
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
jne 0x40e5f9
mov ecx, dword [esp + 4]
push dword [ecx]
push eax
jmp 0x40e59b
dec dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x1008]
mov dword [edx + ecx*4 + 4], eax
jmp 0x40e5ce
movzx eax, byte [esi]
mov dword [esp + 8], eax
cmp dword [esp + 0x2c], 0
je 0x40e67f
cmp dword [esp + 0x2c], 1
jne 0x40e643
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
cmp eax, 0x2b
je 0x40ec48
mov dword [esp + 0x2c], 1
cmp eax, 0x2d
je 0x40ec48
cmp dword [esp + 8], 0xffffffff
je 0x40e790
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x40e79a
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 0x40e7b9
test byte [esp + 0x20], 0x20
je 0x40ec48
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp al, 0x28
jne 0x40ec48
mov bl, 0x6e
mov esi, 0xfffffffc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x40e6cd
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x40e726
jmp 0x40ec40
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x40ec48
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x40e70c
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40ec29
mov ecx, eax
inc dword [esp + 0x10]
jmp 0x40e726
movzx edi, byte [ecx]
test edi, edi
je 0x40ec33
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 0x40ec48
movzx ebx, byte [esi + str._s:_recv_package_over__d_bytes_]
inc esi
mov edx, dword [esp + 4]
jne 0x40e6a9
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x40e986
test esi, esi
je 0x40e96b
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40e97c
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40e986
mov dword [esp + 8], 0xffffffff
jmp 0x40e7bb
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 0x40e814
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x40e7fd
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x40e80e
push esi
call fcn.00437442
add esp, 4
xor esi, esi
jmp 0x40e814
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40e915
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 0x40e843
test byte [esp + 0x20], 0x10
jne 0x40e85b
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtoul
jmp 0x40e86a
test byte [esp + 0x20], 0x10
jne 0x40e871
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.00414ac0
jmp 0x40e880
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtol
add esp, 0xc
mov ebx, eax
jmp 0x40e88c
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.00414d90
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x74]
je case.0x40b790.38
cmp byte [esp + 0x20], 0
js 0x40e5ae
test byte [esp + 0x20], 0x10
test byte [esp + 0x20], 8
jne 0x40e8dd
test byte [esp + 0x20], 4
jne 0x40e8c6
test byte [esp + 0x20], 2
jne 0x40e91c
test byte [esp + 0x20], 1
jne 0x40e942
cmp dword [esp + 0x24], 0
je 0x40e931
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov dword [eax], ebx
jmp 0x40e90b
cmp dword [esp + 0x24], 0
je 0x40e8f2
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
jmp 0x40e8ff
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 0x40e5b2
xor esi, esi
jmp 0x40e814
cmp dword [esp + 0x24], 0
je 0x40e959
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
jmp 0x40e966
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x40e90b
cmp dword [esp + 0x24], 0
je 0x40e99a
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.0040ef10
mov byte [eax], bl
jmp 0x40e90b
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], bx
jmp 0x40e90b
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x40e9ae
mov dword [esp + 0x3c], 0x100
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esi], 0x30
mov dword [esp + 0x2c], 1
jmp 0x40e7bb
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x40e90b
xor esi, esi
jmp 0x40e986
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov esi, 0xffffffff
jmp 0x40ea4a
xor edi, edi
xor esi, esi
jmp 0x40ea36
mov ecx, eax
jmp 0x40e9ed
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 0x40ea14
push dword [edx]
push ecx
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x40ea2b
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.0040ee30
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 0x40eb29
mov edx, edi
lea esi, [edi + 0x1008]
jmp 0x40ea8d
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 0x40eaf0
mov eax, dword [esi]
test eax, eax
jne 0x40ea6c
mov eax, dword [edx + 0x100c]
mov edi, 0xffffffff
test al, 1
jne 0x40ea7c
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x40eac3
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x40ead3
inc dword [esp + 0x10]
mov edi, eax
jmp 0x40ea7c
movzx edi, byte [ecx]
test edi, edi
je 0x40eae0
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
jmp 0x40ea7c
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x40ea7c
or eax, 1
mov dword [edx + 0x100c], eax
mov edi, 0xffffffff
jmp 0x40ea7c
cmp edi, 0xffffffff
je 0x40eb29
test byte [edx + 0x1004], 1
jne 0x40eb14
push dword [edx]
push edi
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea esi, [esp + 0x10]
jmp 0x40eb27
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 0x40ea36
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 0x40ea42
lea eax, [esp + 0x10]
mov ecx, esi
push 0
push eax
call fcn.0040ede0
add esp, 8
jmp case.0x40b790.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 0x40eb5e
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, esi
push eax
push 0
jmp 0x40ea42
mov ecx, dword [esp + 0x20]
and ecx, 0x400
xor eax, eax
neg ecx
sbb eax, eax
mov esi, dword [esp + 0x18]
jmp 0x40eb54
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
call fcn.0040ef40
mov esi, 0xffffffff
jmp 0x40ea4a
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x40ec1a
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 0x40eb60
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 0x40eb70
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x40eb49
cmp dword [esp + 8], 0xffffffff
je 0x40eb49
lea eax, [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
jmp 0x40eb72
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.0x40b790.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.0x40b790.38
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x40ec1a
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
mov word [eax + ecx*2 - 2], 0
jmp 0x40ec0d