Function at 0x474b20
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 0x478426
mov esi, edx
test edx, edx
je 0x478426
cmp dword [ecx], 0
je 0x478426
mov dword [esp + 8], 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 0x474ba4
xor edx, edx
cmp byte [eax], 0
cmovne edx, eax
movzx eax, byte [esi]
test al, al
mov ecx, dword [esp + 8]
je 0x47843b
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 + 0x40], 0
xor edi, edi
mov dword [esp + 0x44], 0
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], 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 0x474d11
push edi
call sub.msvcrt.dll_strlen
add esp, 4
lea ecx, [esp + 0xa8]
push ecx
push eax
push edi
call fcn.00474450
add esp, 0xc
test eax, eax
jle 0x474d0e
mov esi, eax
add eax, edi
mov dword [esp + 0x34], eax
inc esi
mov edx, dword [esp + 8]
nop
mov eax, dword [ebx]
test eax, eax
je 0x474c80
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x474ce0
jmp 0x47845c
mov eax, dword [edx + 0x100c]
mov ecx, 0xffffffff
test al, 1
jne 0x478461
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x474cbe
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x478445
inc dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
jmp 0x474ce0
movzx ebx, byte [ecx]
test ebx, ebx
je 0x47844f
mov edx, ebx
inc ecx
inc dword [esp + 0x10]
mov ebx, dword [esp + 8]
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 0x478441
inc edi
dec esi
cmp esi, 1
jg 0x474c60
mov dword [esp + 4], eax
mov edi, dword [esp + 0x34]
movzx eax, byte [edi]
test al, al
jne 0x474c27
jmp 0x4784c8
movzx eax, byte [edi]
lea esi, [edi + 1]
cmp al, 0x25
je 0x474e68
mov dword [esp + 0x34], esi
movzx esi, al
push esi
call sub.msvcrt.dll_isspace
mov edx, dword [esp + 0xc]
add esp, 4
mov ecx, 1
test eax, eax
jne 0x474dd2
mov dword [esp + 0x50], esi
mov eax, dword [ebx]
test eax, eax
je 0x474d66
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 0x474db9
jmp 0x4785bd
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x4785bd
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x474da2
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x4785aa
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov edx, dword [esp + 8]
jmp 0x474db9
movzx esi, byte [ecx]
test esi, esi
je 0x4785b4
inc ecx
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
cmp dword [esp + 0x20], 0
jne 0x474e04
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
cmp esi, eax
jne 0x4785de
mov edi, edx
mov edx, dword [esp + 0x34]
movzx eax, byte [edx]
mov esi, ecx
test al, al
jne 0x474c21
jmp 0x4784ce
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 0x4785bd
push esi
call sub.msvcrt.dll_isspace
mov edx, dword [esp + 0xc]
add esp, 4
test eax, eax
je 0x474dc0
mov eax, dword [ebx]
test eax, eax
jne 0x474dea
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x4785bd
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x474e53
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x4785aa
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
jmp 0x474e04
movzx esi, byte [ecx]
test esi, esi
je 0x4785b4
inc ecx
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
jmp 0x474e04
movzx eax, byte [esi]
add eax, 0xffffffd0
xor ebx, ebx
cmp eax, 9
ja 0x474ec3
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 0x474eab
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 0x474e90
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 0x474ed8
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x6c]
jmp 0x474ed8
or ebx, 0x80
inc esi
movzx eax, byte [esi]
cmp eax, 0x27
je 0x474f07
cmp eax, 0x2a
je 0x474ed1
cmp eax, 0x49
jne 0x474f25
movzx eax, byte [esi + 1]
cmp eax, 0x33
je 0x474f16
cmp eax, 0x36
jne 0x474f1f
cmp byte [esi + 2], 0x34
jne 0x474f1f
add esi, 2
or ebx, 0xc
inc esi
jmp 0x474ed8
mov eax, ebx
or eax, 0x100
test edx, edx
cmovne ebx, eax
inc esi
jmp 0x474ed8
cmp byte [esi + 2], 0x32
jne 0x474f1f
add esi, 2
or ebx, 4
inc esi
jmp 0x474ed8
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x474f54
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 0x474f2f
cmp ecx, 1
mov edx, 0
sbb edx, edx
or edx, ecx
mov dword [esp + 0x50], edx
jmp 0x474f5c
mov dword [esp + 0x50], 0xffffffff
movzx eax, al
lea ecx, [eax - 0x4c]
cmp ecx, 0x2e
ja case.default.0x474f6b
jmp dword [ecx*4 + 0x49e3e0]
inc esi
or ebx, 0xc
jmp case.0x474f6b.77
or ebx, 4
inc esi
jmp case.0x474f6b.77
movzx eax, byte [esi + 1]
cmp al, 0x6c
jne 0x47534c
or ebx, 0x404
add esi, 2
jmp case.0x474f6b.77
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.0x474f6b.77
movzx eax, byte [esi + 1]
cmp eax, 0x53
je 0x474fc6
cmp eax, 0x73
je 0x474fc6
cmp eax, 0x5b
jne case.0x474f6b.77
inc esi
or ebx, 0x200
jmp case.0x474f6b.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.0x474f6b.77
or ebx, 8
inc esi
jmp case.0x474f6b.77
test eax, eax
je case.0x4751ed.38
movzx edx, byte [esi]
test dl, dl
je case.0x4751ed.38
lea eax, [esi + 1]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x20], ebx
je 0x475031
mov byte [esp + 0x2c], dl
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp + 0x48], eax
call sub.msvcrt.dll__errno
mov dword [eax], 0
mov edi, dword [esp + 4]
jmp 0x475088
movzx eax, dl
cmp eax, 0x62
jg 0x475146
cmp eax, 0x43
je 0x475154
cmp eax, 0x5b
je 0x475154
jmp 0x475011
mov edx, dword [esp + 8]
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 0x4785bd
push edi
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
je 0x475108
cmp edi, 0xffffffff
je 0x475064
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4750b2
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp edi, 0xffffffff
jne 0x475077
jmp 0x475064
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x475064
mov edx, dword [esp + 8]
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x4750e9
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x475051
mov edi, eax
inc dword [esp + 0x10]
jmp 0x475077
movzx edi, byte [ecx]
mov dword [esp + 4], edi
test edi, edi
je 0x47505b
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
mov edi, dword [esp + 4]
jmp 0x475077
call sub.msvcrt.dll__errno
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov dword [esp + 4], edi
cmp edi, 0xffffffff
mov ecx, dword [esp + 8]
je 0x47517a
test byte [ecx + 0x1004], 1
jne 0x47515d
push dword [ecx]
push dword [esp + 8]
call sub.msvcrt.dll_ungetc
mov ecx, dword [esp + 0x10]
add esp, 8
mov eax, 0xffffffff
lea edx, [esp + 0x10]
jmp 0x475178
cmp eax, 0x63
je 0x475190
cmp eax, 0x6e
jne 0x475011
mov ecx, dword [esp + 8]
jmp 0x4751de
dec dword [esp + 0x10]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 4]
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 0x475235
movzx eax, dl
cmp eax, 0x63
jne 0x4751de
test bl, 4
jne case.0x4751ed.67
mov esi, dword [esp + 0x50]
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
test bl, bl
js 0x4752ef
test dword [esp + 0x20], 0x600
je 0x475428
cmp dword [esp + 0x24], 0
je 0x475834
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0xc], eax
jmp 0x475845
movzx eax, dl
add eax, 0xffffffdb
cmp eax, 0x53
ja case.0x4751ed.38
jmp dword [eax*4 + 0x49e49c]
xor ebx, ebx
cmp dword [esp + 0x50], 0
setg byte [esp + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x47530e
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 0x475381
jmp 0x4785bd
test bl, 4
jne case.0x4751ed.83
test bl, bl
js 0x476f7c
test dword [esp + 0x20], 0x600
je 0x47594e
cmp dword [esp + 0x24], 0
je 0x476013
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0xc], eax
jmp 0x476024
mov ecx, dword [esp + 0x50]
cmp ecx, 0xffffffff
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x50], ecx
test bl, bl
js 0x475ddc
test dword [esp + 0x20], 0x600
je 0x475448
cmp dword [esp + 0x24], 0
je 0x4758be
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0xc], eax
jmp 0x4758cf
test bl, bl
js 0x47671e
test dword [esp + 0x20], 0x600
je 0x475673
cmp dword [esp + 0x24], 0
je 0x475a71
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0xc], eax
jmp 0x475a82
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x475d04
jmp 0x4785bd
mov eax, dword [ecx + 0x100c]
test al, 1
jne 0x4785bd
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x475362
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, 0xffffffff
je 0x4786cd
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x475381
mov edx, eax
or ebx, 0x400
inc esi
test dl, dl
jne 0x474fff
jmp case.0x4751ed.38
movzx edx, byte [ecx]
mov dword [esp + 0x78], edx
test edx, edx
je 0x4786d7
inc ecx
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 8]
mov dword [edx], ecx
movzx ecx, byte [esp + 4]
mov bl, cl
sub dword [esp + 0x50], ebx
cmp dword [esp + 0x78], 0x2d
je 0x47539a
cmp dword [esp + 0x78], 0x2b
jne 0x4753d6
cmp dword [esp + 0x50], 0
je case.0x4751ed.38
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4753e3
lea edx, [ecx - 1]
mov esi, dword [esp + 8]
mov dword [esi + 0x1008], edx
mov ecx, dword [esi + ecx*4]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 4], ecx
cmp ecx, 0xffffffff
jne 0x4756ae
jmp case.0x4751ed.38
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
jmp 0x4756bf
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0x100c]
test cl, 1
jne case.0x4751ed.38
mov edx, dword [esp + 8]
test byte [edx + 0x1004], 1
mov edx, dword [edx]
jne 0x475693
push edx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x478723
inc dword [esp + 0x10]
jmp 0x4756ae
cmp dword [esp + 0x24], 0
je 0x475b93
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0x40], eax
jmp 0x475ba4
cmp dword [esp + 0x24], 0
je 0x475dc0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0x44], eax
jmp 0x475dd1
or ebx, 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], 0xa
xor ebx, ebx
mov dword [esp + 0x48], 0xa
mov dword [esp + 0x70], 0xa
jmp 0x475589
test bl, bl
js 0x4783ae
test byte [esp + 0x20], 8
jne 0x47714b
test byte [esp + 0x20], 4
jne 0x477266
test byte [esp + 0x20], 2
jne 0x477c7f
mov ebx, dword [esp + 0x10]
test byte [esp + 0x20], 1
jne 0x478293
cmp dword [esp + 0x24], 0
je 0x478330
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [eax], ebx
jmp 0x4783ae
and ebx, 0xffffffd1
or ebx, 0x24
mov dword [esp + 0x20], ebx
mov bl, 1
mov dword [esp + 0x4c], 0x10
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x70], 0x10
jmp 0x475589
mov dword [esp + 0x48], 8
or ebx, 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], 0
mov bl, 1
mov dword [esp + 0x4c], 0xa
jmp 0x475589
test bl, 4
jne 0x475fda
cmp byte [esp + 0x20], 0
js 0x477db9
test dword [esp + 0x20], 0x600
je 0x4779b3
cmp dword [esp + 0x24], 0
je 0x477cb7
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0xc], eax
jmp 0x477cc8
mov dword [esp + 0x48], 8
xor ebx, ebx
mov dword [esp + 0x4c], 8
mov dword [esp + 0x70], 8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4755a5
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
jmp 0x4755da
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x4785bd
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x4755fe
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x4786cd
mov edi, eax
inc dword [esp + 0x10]
cmp edi, 0x2b
je 0x47561b
cmp edi, 0x2d
je 0x47561b
mov dword [esp + 0x2c], 0
cmp edi, 0xffffffff
jne 0x4759cc
jmp 0x4785bd
movzx edx, byte [ecx]
test edx, edx
je 0x4786d7
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
cmp edi, 0x2b
jne 0x4755e3
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x47598d
test esi, esi
je 0x47596e
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x475983
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x47598d
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0x25
je 0x4783ae
jmp 0x4786e9
cmp dword [esp + 0x24], 0
je 0x476702
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0x44], eax
jmp 0x476713
movzx esi, byte [edx]
mov dword [esp + 4], esi
test esi, esi
je 0x47872d
inc edx
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
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 dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
je 0x475712
cmp eax, 0x6e
jne 0x47574f
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x47691a
test esi, esi
je 0x4768fb
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x476910
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x47691a
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x476b2e
test esi, esi
je 0x476b0f
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x476b24
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x476b2e
mov dword [esp + 0x2c], 0
mov byte [esp + 0x6b], 0x65
cmp dword [esp + 4], 0x30
jne 0x47609c
cmp dword [esp + 0x50], 0
je 0x47609c
xor ecx, ecx
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.00478a60
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax], 0x30
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], 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 0x476094
push dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x47609c
mov ecx, 1
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.00478a60
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 4]
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 + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], 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 + 0x6b], 0x70
mov dword [esp + 0x2c], 2
jmp 0x47609c
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 0x47861d
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 + 0x40], ecx
test ecx, ecx
je 0x478633
mov edi, dword [esp + 0x28]
test edi, edi
je 0x47588e
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x4758a8
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 0x475baf
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 0x47861d
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 + 0x44], ecx
test ecx, ecx
je 0x478633
mov esi, dword [esp + 0x28]
test esi, esi
je 0x47591e
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x475938
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 0x475ddc
cmp dword [esp + 0x24], 0
je 0x476f60
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0x40], eax
jmp 0x476f71
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x4771b0
mov esi, eax
mov dword [esp + 0x3c], 0x100
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 0x475a2b
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
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 0x475a22
cmp edi, 0x30
jne 0x475a22
cmp dword [esp + 0x50], 0
setg byte [esp + 0x4c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x475b14
test esi, esi
je 0x475af5
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x475b0a
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x475b14
mov dword [esp + 4], edi
jmp 0x477321
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x47764f
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x4766e5
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x47722e
mov edi, eax
jmp 0x4759c0
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 0x47861d
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 + 0x44], ecx
test ecx, ecx
je 0x478633
mov esi, dword [esp + 0x28]
test esi, esi
je 0x475abd
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x475ad7
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 0x47671e
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x4771b7
mov esi, eax
mov dword [esp + 0x3c], 0x100
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 0x475b47
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
mov dword [esp + 4], eax
inc dword [esp + 0x10]
jmp 0x4772aa
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x4772aa
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x47712c
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x477288
inc dword [esp + 0x10]
mov dword [esp + 4], eax
jmp 0x4772aa
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x40], 0
je case.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x4785bd
cmp byte [esp + 0x20], 0
js 0x475d04
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 4]
jmp 0x475bfc
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 0x475db7
test dword [esp + 0x20], 0x600
je 0x475c59
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
add ecx, eax
cmp ebx, ecx
jne 0x475c7d
lea ebx, [esi - 1]
mov ecx, dword [esp + 0x38]
cmp ecx, esi
cmovl ebx, ecx
add ebx, ecx
push ebx
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x475c5f
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp ebx, edi
jbe 0x475c5f
push edi
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x475c69
jmp 0x47864c
mov eax, dword [esp + 0x1c]
jmp 0x475c85
test eax, eax
je 0x47864c
mov edi, ebx
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 + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
mov byte [ebx], cl
inc ebx
cmp esi, 2
jl 0x475daa
mov eax, dword [eax]
test eax, eax
jne 0x475be2
mov dword [esp + 0x40], ebx
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x476f40
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x475ce1
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x476f29
mov ecx, eax
inc dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x40]
jmp 0x475bf2
movzx edx, byte [ecx]
test edx, edx
je 0x476f33
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov edx, dword [esp + 8]
mov dword [edx], ecx
mov ebx, dword [esp + 0x40]
mov ecx, edi
jmp 0x475bf2
cmp esi, 2
jl 0x4783ae
inc dword [esp + 0x50]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x1c]
jmp 0x475d42
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x476f40
mov ecx, dword [esp + 0x50]
dec ecx
mov dword [esp + 0x50], ecx
cmp ecx, 3
jb 0x475da1
mov eax, dword [esi]
test eax, eax
jne 0x475d1b
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x476f40
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x475d81
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x476f29
inc dword [esp + 0x10]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x1c]
jmp 0x475d34
movzx edx, byte [ecx]
test edx, edx
je 0x476f33
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov edx, dword [esp + 8]
mov dword [edx], ecx
mov esi, dword [esp + 0x1c]
mov eax, edi
jmp 0x475d34
mov dword [esp + 4], eax
jmp 0x476f48
mov dword [esp + 4], ecx
mov dword [esp + 0x40], ebx
jmp 0x476f48
mov dword [esp + 0x40], ebx
jmp 0x476f40
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.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x4785bd
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 + 4]
mov byte [esp + 0x83], al
mov esi, dword [esp + 0x44]
mov eax, 0
cmovs esi, eax
test dl, dl
jne 0x475ec6
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x44], ecx
je 0x475e5e
mov esi, dword [esp + 0x44]
jmp 0x475ec6
mov edx, dword [esp + 0x50]
lea esi, [edx - 1]
mov ecx, dword [esp + 0x38]
cmp ecx, edx
cmovle esi, ecx
add esi, ecx
lea ecx, [esi + esi]
push ecx
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x475ea7
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x475ea7
lea eax, [edi + edi]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x475eb1
jmp 0x47864c
test eax, eax
je 0x47864c
mov edi, esi
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
lea esi, [eax + ecx*2]
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x1c]
lea ebx, [esp + 0x8c]
mov dword [esp + 0x2c], esi
jmp 0x475efb
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x478604
mov dword [esp + 4], eax
mov byte [esp + 0x83], al
push ebx
push 1
lea eax, [esp + 0x8b]
push eax
push esi
call fcn.00474220
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x475f77
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 8]
jne 0x475ed7
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x478604
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x475f4f
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x4785f1
inc dword [esp + 0x10]
jmp 0x475ef0
movzx ebx, byte [ecx]
test ebx, ebx
je 0x4785fb
mov esi, edi
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 0x475ef0
cmp eax, 1
jne 0x478604
add dword [esp + 0x44], 2
cmp dword [esp + 0x50], 2
jl 0x475fbb
dec dword [esp + 0x50]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x24]
jne 0x475e24
mov dword [esp + 4], 0xffffffff
cmp byte [esp + 0x20], 0
js 0x4783ae
mov eax, dword [esp + 0x38]
add eax, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
push eax
jmp 0x47839d
cmp byte [esp + 0x20], 0
js 0x477db9
test dword [esp + 0x20], 0x600
je 0x4779d3
cmp dword [esp + 0x24], 0
je 0x477ceb
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0xc], eax
jmp 0x477cfc
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 0x47861d
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 + 0x40], ecx
test ecx, ecx
je 0x478633
mov esi, dword [esp + 0x28]
test esi, esi
je 0x47605c
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x476076
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 0x476f7c
mov dword [esp + 0x50], 0
movzx eax, byte [esp + 0x6b]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x70], 0
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x50]
jmp 0x4760ec
lea ecx, [eax - 1]
mov dword [edi + 0x1008], ecx
mov ecx, dword [edi + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x4771a3
xor eax, eax
test esi, esi
setg al
sub esi, eax
lea eax, [ecx - 0x30]
cmp eax, 0xa
mov dword [esp + 4], ecx
jb 0x476125
cmp byte [esp + 0x70], 0
jne 0x476176
mov eax, dword [esp + 0x20]
and eax, 0x40
je 0x476176
push ecx
mov edi, edx
call sub.msvcrt.dll_isxdigit
mov edx, edi
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esp, 4
test eax, eax
je 0x4761a7
mov ebx, esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x476279
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x476256
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x476263
push esi
call fcn.00498f4e
add esp, 4
jmp 0x47626b
cmp byte [esp + 0x70], 0
je 0x4761a7
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
movzx edx, byte [esp + 0x6b]
cmp byte [eax + ebx - 1], dl
mov edx, dword [esp + 0x1c]
jne 0x476229
cmp ecx, 0x2d
je 0x476125
cmp ecx, 0x2b
je 0x476125
jmp 0x476229
cmp byte [esp + 0x70], 0
setne al
cmp dword [esp + 0x2c], 0
sete cl
or cl, al
mov eax, dword [esp + 4]
jne 0x476229
push eax
call sub.msvcrt.dll_tolower
add esp, 4
movsx eax, al
cmp eax, dword [esp + 0x9c]
jne 0x476229
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x476651
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x47663e
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x47664b
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x476651
test esi, esi
mov eax, 0x7fffffff
mov dword [esp + 0x50], esi
cmovg eax, esi
mov dword [esp + 0x48], eax
cmp byte [esp + 0x4c], 0
je 0x476298
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
movzx eax, byte [esi]
mov dword [esp + 0x48], edi
jmp 0x476388
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x47626b
mov esi, eax
mov dword [esp + 0x3c], edi
jmp 0x47626d
xor esi, esi
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x2c]
mov byte [esi + eax], cl
inc eax
mov dword [esp + 0x2c], eax
mov esi, ebx
test esi, esi
jne 0x4765ca
jmp 0x4766dc
mov eax, dword [esp + 0x7c]
movzx eax, byte [eax]
cmp dword [esp + 4], eax
jne 0x47637b
mov eax, dword [esp + 0x88]
movzx eax, byte [eax]
test al, al
je 0x476381
mov ecx, dword [esp + 0x48]
dec ecx
mov esi, dword [esp + 0x88]
mov dword [esp + 0x48], ecx
lea edi, [ecx + 1]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4762fa
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x476351
jmp 0x4766a7
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x4766a7
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x476337
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x476690
inc dword [esp + 0x10]
jmp 0x476351
movzx edx, byte [ecx]
mov dword [esp + 4], edx
test edx, edx
je 0x47669a
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
movzx eax, byte [esi]
cmp dword [esp + 4], eax
jne 0x476388
test edi, edi
jle 0x476388
movzx eax, byte [esi + 1]
inc esi
mov ecx, dword [esp + 0x48]
add ecx, 0xffffffff
setb dl
test al, al
je 0x476388
test dl, dl
jne 0x4762c7
jmp 0x476388
mov esi, dword [esp + 0x7c]
jmp 0x476388
mov esi, dword [esp + 0x88]
test al, al
je 0x4763e8
mov edi, dword [esp + 0x6c]
cmp byte [esp + 0x4c], 0
jne 0x476598
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x6c]
and eax, 0x100
je 0x476598
mov eax, esi
sub eax, dword [esp + 0x7c]
test eax, eax
jle 0x476498
add esi, dword [esp + 0xa0]
xor ecx, ecx
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + ecx]
cmp dl, byte [edi + ecx]
jne 0x4764a0
inc ecx
cmp ecx, eax
mov edx, dword [esp + 0x6c]
jl 0x4763cd
jmp 0x4764b1
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x47647a
mov ecx, dword [esp + 0x2c]
lea edi, [ecx + ecx]
mov ebx, dword [esp + 0x88]
jmp 0x476437
push eax
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x476472
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
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 0x47647e
mov esi, dword [esp + 0x14]
cmp ecx, dword [esp + 0x3c]
jne 0x476420
mov dword [esp + 0x2c], ecx
cmp edi, 0x101
mov eax, 0x100
cmovae eax, edi
test esi, esi
mov dword [esp + 0x4c], eax
je 0x476405
push eax
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x476412
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
mov ecx, dword [esp + 0x2c]
jmp 0x476420
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x50]
test esi, esi
cmovg esi, dword [esp + 0x48]
mov al, 1
mov dword [esp + 0x4c], eax
jmp 0x4765b6
xor ecx, ecx
mov esi, dword [esp + 0x6c]
jmp 0x4764a7
mov edx, dword [esp + 0x6c]
lea esi, [edx + ecx]
mov edi, esi
cmp ecx, eax
jne 0x476598
movzx eax, byte [esi]
cmp dword [esp + 4], eax
jne 0x4765a3
cmp dword [esp + 0x48], 0
js 0x4765a3
movzx eax, byte [esi + 1]
test al, al
je 0x4765a3
cmp dword [esp + 0x48], 0
je 0x4765a3
inc esi
mov ecx, dword [esp + 0x48]
neg ecx
mov edi, esi
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x476519
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x476570
jmp 0x4766cb
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x4766cb
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x476556
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x4766b4
inc dword [esp + 0x10]
jmp 0x476570
movzx edx, byte [ecx]
mov dword [esp + 4], edx
test edx, edx
je 0x4766be
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
movzx eax, byte [edi]
cmp dword [esp + 4], eax
jne 0x476592
movzx eax, byte [edi + 1]
test al, al
je 0x476592
inc edi
mov edx, dword [esp + 0x48]
lea ecx, [edx + 1]
cmp edx, 0xffffffff
jne 0x4764e9
not dword [esp + 0x48]
jmp 0x4765a3
test edi, edi
je 0x47716b
movzx eax, byte [edi]
test al, al
jne 0x47716b
mov esi, dword [esp + 0x50]
test esi, esi
cmovg esi, dword [esp + 0x48]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
test esi, esi
je 0x4766dc
mov eax, dword [edx]
test eax, eax
jne 0x4760ca
mov eax, dword [edi + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x477a14
mov ebx, esi
test byte [edi + 0x1004], 1
mov ecx, dword [edi]
jne 0x476619
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x477216
mov ecx, eax
inc dword [esp + 0x10]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x1c]
jmp 0x476637
movzx edx, byte [ecx]
test edx, edx
je 0x4771fc
mov esi, edx
inc ecx
inc dword [esp + 0x10]
mov edi, dword [esp + 8]
mov dword [edi], ecx
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov esi, ebx
jmp 0x4760e3
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x47668c
mov esi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x6b]
mov byte [esi + eax], cl
inc eax
mov dword [esp + 0x2c], eax
mov al, 1
mov dword [esp + 0x4c], eax
mov al, 1
mov dword [esp + 0x70], eax
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x50]
test esi, esi
jne 0x4765ca
jmp 0x4766dc
xor esi, esi
jmp 0x476651
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov dword [esp + 4], 0xffffffff
jmp 0x47624a
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
neg dword [esp + 0x48]
mov dword [esp + 4], 0xffffffff
jmp 0x4765a0
mov dword [esp + 4], ecx
jmp 0x477a14
movzx edx, byte [ecx]
test edx, edx
je 0x477238
mov edi, edx
inc dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 8]
mov dword [eax], ecx
jmp 0x4759c4
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.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x4785bd
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 + 4]
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
jne 0x4771be
cmp byte [esp + 0x20], 0
mov esi, dword [esp + 0x44]
mov eax, 0
cmovs esi, eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
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.00474220
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x476831
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 8]
je 0x4767d8
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
jmp 0x476805
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x478604
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x476813
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x4785f1
mov ecx, eax
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x476797
jmp 0x478604
movzx ebx, byte [ecx]
test ebx, ebx
je 0x4785fb
mov esi, edi
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, ebx
mov edi, esi
mov esi, dword [esp + 0x2c]
jmp 0x476809
mov dword [esp + 4], ebx
cmp eax, 1
jne 0x478604
add dword [esp + 0x44], 2
cmp byte [esp + 0x24], 0
jne 0x4768be
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x44], ecx
jne 0x4768be
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 0x47689f
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 1]
cmp edi, esi
jbe 0x47689f
lea eax, [esi + esi]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x4768a9
jmp 0x47873f
test eax, eax
je 0x47873f
mov esi, edi
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
lea eax, [eax + ecx*2]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], esi
cmp dword [esp + 0x50], 0
jle 0x4768d4
cmp dword [esp + 0x50], 1
je 0x478308
dec dword [esp + 0x50]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x476766
mov dword [esp + 4], 0xffffffff
jmp 0x478308
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x477258
mov esi, eax
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x14], esi
mov eax, dword [esp + 4]
mov byte [esi], al
cmp dword [esp + 0x50], 0
je case.0x4751ed.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x476957
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov ebx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ebx, 0xffffffff
jne 0x4769a8
jmp case.0x4751ed.38
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x4751ed.38
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x476992
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x478707
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x4769a8
movzx ebx, byte [ecx]
test ebx, ebx
je 0x478711
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
push ebx
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x61
jne case.0x4751ed.38
cmp dword [esp + 0x50], 0
setg byte [esp + 4]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x476a11
test esi, esi
je 0x4769f2
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x476a07
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x476a11
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x47724a
mov esi, eax
mov dword [esp + 0x3c], 0x100
xor eax, eax
movzx ecx, byte [esp + 4]
mov al, cl
mov dword [esp + 0x14], esi
mov byte [esi + 1], bl
cmp dword [esp + 0x50], eax
je case.0x4751ed.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x476a57
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x476aae
jmp case.0x4751ed.38
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x4751ed.38
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x476a94
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x478707
inc dword [esp + 0x10]
jmp 0x476aae
movzx edx, byte [ecx]
mov dword [esp + 4], edx
test edx, edx
je 0x478711
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
push dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x4751ed.38
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x476af7
test eax, eax
je 0x476ae2
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x476aef
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 4]
mov byte [eax + 2], cl
mov dword [esp + 0x2c], 3
jmp 0x477a31
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x47725f
mov esi, eax
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x14], esi
mov eax, dword [esp + 4]
mov byte [esi], al
cmp dword [esp + 0x50], 0
je case.0x4751ed.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x476b6b
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov ebx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ebx, 0xffffffff
jne 0x476bbc
jmp case.0x4751ed.38
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x4751ed.38
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x476ba6
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x478707
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x476bbc
movzx ebx, byte [ecx]
test ebx, ebx
je 0x478711
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
push ebx
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x4751ed.38
cmp dword [esp + 0x50], 0
setg byte [esp + 4]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x476c25
test esi, esi
je 0x476c06
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x476c1b
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x476c25
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x477251
mov esi, eax
mov dword [esp + 0x3c], 0x100
xor eax, eax
movzx ecx, byte [esp + 4]
mov al, cl
mov dword [esp + 0x14], esi
mov byte [esi + 1], bl
sub dword [esp + 0x50], eax
je case.0x4751ed.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x476c6b
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x476cc2
jmp case.0x4751ed.38
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x4751ed.38
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x476ca8
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x478707
inc dword [esp + 0x10]
jmp 0x476cc2
movzx edx, byte [ecx]
mov dword [esp + 4], edx
test edx, edx
je 0x478711
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
push dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x66
jne case.0x4751ed.38
xor ebx, ebx
cmp dword [esp + 0x50], 0
setg byte [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x476d17
test eax, eax
je 0x476d02
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x476d0f
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 + 4]
mov byte [eax + 2], cl
mov dword [esp + 0x2c], 3
sub dword [esp + 0x50], ebx
je 0x477a31
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x476f00
push dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne 0x476f0d
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.00478a60
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 4]
mov byte [eax + 3], cl
sub esi, ebx
je case.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
cmp eax, 0xffffffff
je case.0x4751ed.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x4751ed.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.00478a60
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 4], bl
sub esi, edi
je case.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
cmp eax, 0xffffffff
je case.0x4751ed.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne case.0x4751ed.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.00478a60
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 5], bl
sub esi, edi
je case.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
cmp eax, 0xffffffff
je case.0x4751ed.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x74
jne case.0x4751ed.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.00478a60
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 6], bl
cmp esi, edi
je case.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je case.0x4751ed.38
push dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x79
jne case.0x4751ed.38
mov ecx, 7
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.00478a60
add esp, 4
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov byte [esi + 7], al
mov dword [esp + 0x2c], 8
jmp 0x477a35
mov dword [esp + 4], 0xffffffff
jmp 0x477a31
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0
lea eax, [esp + 0x14]
push eax
call fcn.00478850
add esp, 8
jmp 0x477a31
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov dword [esp + 4], 0xffffffff
cmp byte [esp + 0x20], 0
js 0x4783ae
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
jmp 0x478399
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x40], 0
je case.0x4751ed.38
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
cmp eax, 0xffffffff
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
jne 0x476fb8
jmp 0x4785bd
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x477112
mov dword [esp + 4], eax
push eax
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
jne 0x4770f2
test bl, bl
js 0x476ff8
lea eax, [edi + 1]
mov ecx, dword [esp + 4]
mov byte [edi], cl
test ebx, 0x600
je 0x476ff6
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x47708f
mov edi, eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x477012
cmp eax, 1
je 0x477123
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
test eax, eax
jne 0x476f9f
mov dword [esp + 0x40], edi
mov eax, dword [edx + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x478382
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x477064
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x4771ec
inc dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
jmp 0x476faf
movzx esi, byte [ecx]
test esi, esi
je 0x4771da
mov edx, esi
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov eax, edx
jmp 0x476faf
mov eax, dword [esp + 0x38]
lea edi, [eax + eax]
push edi
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x4770c7
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 1]
cmp edi, esi
jbe 0x4770c7
push esi
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x4770d1
jmp 0x478663
test eax, eax
je 0x478663
mov esi, edi
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 + 8]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
jmp 0x476ffc
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.00478850
add esp, 8
jmp 0x478382
mov dword [esp + 0x40], edi
mov dword [esp + 4], 0xffffffff
jmp 0x478382
mov dword [esp + 0x40], edi
jmp 0x478382
movzx edx, byte [ecx]
mov dword [esp + 4], edx
test edx, edx
je 0x477295
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
jmp 0x4772aa
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x477998
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
jmp 0x4779a5
cmp dword [esp + 4], 0xffffffff
je 0x4771a3
mov eax, dword [esp + 8]
test byte [eax + 0x1004], 1
jne 0x4779f3
mov eax, dword [esp + 8]
push dword [eax]
push dword [esp + 8]
call sub.msvcrt.dll_ungetc
add esp, 8
lea eax, [esp + 0x10]
mov ecx, 0xffffffff
jmp 0x477a12
mov dword [esp + 4], 0xffffffff
jmp 0x477a14
xor esi, esi
jmp 0x47598d
xor esi, esi
jmp 0x475b14
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.00478850
add esp, 8
jmp 0x478308
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
jmp 0x477116
mov eax, dword [esp + 8]
or byte [eax + 0x100c], 1
jmp 0x477116
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov dword [esp + 4], 0xffffffff
jmp 0x477a14
mov eax, dword [esp + 8]
or byte [eax + 0x100c], 1
mov dword [esp + 4], 0xffffffff
jmp 0x477a14
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
jmp 0x47764f
xor esi, esi
jmp 0x476a11
xor esi, esi
jmp 0x476c25
xor esi, esi
jmp 0x47691a
xor esi, esi
jmp 0x476b2e
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x477d6c
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [eax], esi
jmp 0x4783ae
mov eax, dword [esp + 8]
or byte [eax + 0x100c], 1
jmp 0x4772aa
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov dword [esp + 4], 0xffffffff
xor ecx, ecx
movzx eax, byte [esp + 0x4c]
mov cl, al
mov eax, dword [esp + 0x50]
sub eax, ecx
inc dword [esp + 0x2c]
mov dword [esp + 0x50], eax
test eax, eax
je 0x477306
push dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x477313
test bl, bl
je 0x477319
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 + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
mov dword [esp + 0x4c], 0x10
jmp 0x477321
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
jmp 0x477641
mov eax, dword [esp + 0x48]
jmp 0x47731d
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
cmp dword [esp + 4], 0xffffffff
je 0x477641
cmp dword [esp + 0x50], 0
je 0x477641
mov edx, dword [esp + 0x4c]
cmp edx, 0xa
setne al
test dword [esp + 0x20], 0x100
sete cl
or cl, al
mov byte [esp + 0x70], cl
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
cmp edx, 0x10
mov dword [esp + 4], eax
mov dword [esp + 0x50], esi
jne 0x477381
push eax
call sub.msvcrt.dll_isxdigit
add esp, 4
test eax, eax
jne 0x4774d0
jmp 0x4775e0
add eax, 0xffffffd0
cmp eax, 0xa
setb cl
cmp eax, edx
setl al
test cl, al
jne 0x4774d0
mov dword [esp + 0x2c], edi
cmp byte [esp + 0x70], 0
jne 0x477641
test esi, esi
mov edi, 0x7fffffff
cmovg edi, esi
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax]
cmp dword [esp + 4], eax
jne 0x47747f
mov eax, dword [esp + 0x98]
movzx eax, byte [eax]
test al, al
je 0x477485
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 + 8]
je 0x47740a
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x477455
jmp 0x4774a9
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x4774a9
mov dword [esp + 4], ebx
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x47743d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x47748e
mov ecx, eax
inc dword [esp + 0x10]
jmp 0x477451
movzx edx, byte [ecx]
test edx, edx
je 0x477498
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
mov ecx, edx
mov ebx, dword [esp + 4]
movzx eax, byte [esi]
cmp ecx, eax
mov dword [esp + 4], ecx
jne 0x4774b6
test ebx, ebx
jle 0x4774b6
movzx eax, byte [esi + 1]
inc esi
mov ecx, edi
add ecx, 0xffffffff
setb dl
test al, al
je 0x4774b6
test dl, dl
jne 0x4773dd
jmp 0x4774b6
mov esi, dword [esp + 0x6c]
jmp 0x4774b6
mov esi, dword [esp + 0x98]
jmp 0x4774b6
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov ebx, dword [esp + 4]
movzx eax, byte [esi]
mov dword [esp + 4], 0xffffffff
mov edi, ebx
test al, al
jne 0x4775ee
mov eax, dword [esp + 0x50]
test eax, eax
cmovg eax, edi
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x2c]
dec edi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], edi
jne 0x477509
mov ebx, edi
add edi, edi
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x477513
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x477520
push esi
call fcn.00498f4e
add esp, 4
jmp 0x477528
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x477534
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x477528
mov esi, eax
mov dword [esp + 0x3c], edi
jmp 0x47752a
xor esi, esi
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edi, ebx
mov dword [esp + 0x14], esi
mov byte [esi + edi], al
inc edi
xor ebx, ebx
mov esi, dword [esp + 0x50]
test esi, esi
setg byte [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x477565
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
jmp 0x4775be
mov dword [esp + 0x2c], edi
mov eax, dword [edx + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x477641
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x4775a2
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x47762e
inc dword [esp + 0x10]
jmp 0x4775b6
movzx esi, byte [ecx]
test esi, esi
je 0x47761f
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
mov eax, esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
cmp eax, 0xffffffff
mov edx, dword [esp + 0x4c]
je 0x4775d6
movzx ecx, byte [esp + 0x48]
mov bl, cl
sub esi, ebx
jne 0x47735e
mov dword [esp + 0x2c], edi
mov dword [esp + 4], eax
jmp 0x477641
mov dword [esp + 0x2c], edi
mov dword [esp + 0x4c], 0x10
jmp 0x477641
cmp esi, dword [esp + 0x6c]
jbe 0x477641
cmp dword [esp + 4], 0xffffffff
je 0x4783ce
mov eax, dword [esp + 8]
test byte [eax + 0x1004], 1
jne 0x478278
mov eax, dword [esp + 8]
push dword [eax]
push dword [esp + 8]
jmp 0x4783ec
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
jmp 0x477639
mov eax, dword [esp + 8]
or byte [eax + 0x100c], 1
mov dword [esp + 4], 0xffffffff
cmp dword [esp + 0x2c], 0
je 0x4776ac
cmp dword [esp + 0x2c], 1
jne 0x477670
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
cmp eax, 0x2b
je 0x4786bc
mov dword [esp + 0x2c], 1
cmp eax, 0x2d
je 0x4786bc
cmp dword [esp + 4], 0xffffffff
je 0x4777b9
mov eax, dword [esp + 8]
test byte [eax + 0x1004], 1
jne 0x4777c3
mov eax, dword [esp + 8]
push dword [eax]
push dword [esp + 8]
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x4777e2
test byte [esp + 0x20], 0x20
je 0x4786bc
push dword [esp + 4]
call sub.msvcrt.dll_tolower
add esp, 4
cmp al, 0x28
jne 0x4786bc
mov bl, 0x6e
mov esi, 0xfffffffc
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4776fa
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x47774f
jmp 0x4786b4
mov eax, dword [edx + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x4786bc
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x477737
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x47869d
inc dword [esp + 0x10]
jmp 0x47774f
movzx edi, byte [ecx]
test edi, edi
je 0x4786a7
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
mov eax, edi
movsx edi, bl
mov dword [esp + 4], eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
movsx eax, al
cmp eax, edi
jne 0x4786bc
movzx ebx, byte [esi + 0x49e5f2]
inc esi
mov edx, dword [esp + 8]
jne 0x4776d6
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x477c6b
test esi, esi
je 0x477c4c
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x477c61
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x477c6b
mov dword [esp + 4], 0xffffffff
jmp 0x4777e4
dec dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 4]
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 0x47783d
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x477826
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x477837
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x47783d
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x47793e
mov esi, eax
mov dword [esp + 0x3c], edi
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 0x47786c
test byte [esp + 0x20], 0x10
jne 0x477884
push dword [esp + 0x4c]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtoul
jmp 0x477893
test byte [esp + 0x20], 0x10
jne 0x47789a
push dword [esp + 0x4c]
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.0046e2a0
jmp 0x4778a9
push dword [esp + 0x4c]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtol
add esp, 0xc
mov ebx, eax
jmp 0x4778b5
push dword [esp + 0x4c]
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.0046e050
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x74]
je case.0x4751ed.38
cmp byte [esp + 0x20], 0
js 0x4783ae
test byte [esp + 0x20], 0x10
test byte [esp + 0x20], 8
jne 0x477906
test byte [esp + 0x20], 4
jne 0x4778ef
test byte [esp + 0x20], 2
jne 0x477945
test byte [esp + 0x20], 1
jne 0x47796b
cmp dword [esp + 0x24], 0
je 0x47795a
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [eax], ebx
jmp 0x477934
cmp dword [esp + 0x24], 0
je 0x47791b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
jmp 0x477928
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 0x4783b2
xor esi, esi
jmp 0x47783d
cmp dword [esp + 0x24], 0
je 0x477986
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
jmp 0x477993
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x477934
cmp dword [esp + 0x24], 0
je 0x477ca3
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov byte [eax], bl
jmp 0x477934
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], bx
jmp 0x477934
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 0x4783ae
cmp dword [esp + 0x24], 0
je 0x477d80
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0x40], eax
jmp 0x477d91
cmp dword [esp + 0x24], 0
je 0x477d9d
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov dword [esp + 0x44], eax
jmp 0x477dae
dec dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 4]
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.0x4751ed.38
test byte [esp + 0x20], 0x40
je 0x477a31
cmp dword [esp + 0x2c], 2
je case.0x4751ed.38
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x477a8a
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x477a73
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x477a84
push esi
call fcn.00498f4e
add esp, 4
xor esi, esi
jmp 0x477a8a
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x477bdf
mov esi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x2c]
mov byte [esi + eax], 0
test byte [esp + 0x20], 8
jne 0x477b1c
mov eax, dword [esp + 0x14]
test byte [esp + 0x20], 4
jne 0x477b76
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.0046e560
add esp, 8
fstp dword [esp + 0xa4]
cmp byte [esp + 0x20], 0
js 0x477c29
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x477c29
movss xmm0, dword [esp + 0xa4]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x477b00
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x49e3d0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x477bfb
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
jmp 0x477c08
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
call fcn.0046e6b0
add esp, 8
cmp byte [esp + 0x20], 0
js 0x477b6f
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x477b6f
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 0x477be6
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
jmp 0x477bf3
fstp st(0)
jmp 0x477c29
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.0046e6b0
add esp, 8
fstp qword [esp + 0xb0]
cmp byte [esp + 0x20], 0
js 0x477c29
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x477c29
movsd xmm0, qword [esp + 0xb0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x477bca
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x49e3c0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x477c13
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
jmp 0x477c20
xor esi, esi
jmp 0x477a8a
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 0x477c29
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 0x477c29
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.0x4751ed.38
xor eax, eax
cmp byte [esp + 0x20], 0
setns al
mov esi, dword [esp + 0x18]
add esi, eax
jmp 0x4783b2
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x4782b1
mov esi, eax
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x14], esi
mov byte [esi], 0x30
mov dword [esp + 0x2c], 1
jmp 0x4777e4
movzx esi, word [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x4782b8
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov word [eax], si
jmp 0x4783ae
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x477934
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 0x47861d
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 + 0x40], ecx
jmp 0x477d20
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 0x47861d
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 + 0x44], ecx
test ecx, ecx
je 0x478633
mov edi, dword [esp + 0x28]
test edi, edi
je 0x477d37
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x477d51
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 0x477db9
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], esi
jmp 0x4783ae
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
add eax, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x40], 0
jne 0x477db9
jmp case.0x4751ed.38
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.0x4751ed.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 edi, dword [esp + 0x50]
cmp edi, 0x7fffffff
mov eax, 0x7fffffff
cmovae edi, eax
cmp dword [esp + 0x3c], 0xff
mov eax, dword [esp + 0x14]
ja 0x477e17
mov dword [esp + 0x3c], 0x100
test eax, eax
je 0x477e06
push eax
call fcn.00498f4e
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 0x477e82
cmp ecx, 0x2d
jne 0x477e8a
mov byte [eax + ecx], 1
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
jmp 0x477e9a
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 0x477eb4
test eax, eax
je case.0x4751ed.38
cmp eax, 0x5d
jne 0x477e90
jmp 0x477ee2
movzx ebx, byte [esi]
test ebx, ebx
je 0x477e90
cmp ebx, 0x5d
je 0x477e90
movzx edx, byte [ecx - 1]
cmp dl, bl
ja 0x477e90
mov ecx, esi
cmp dl, bl
jae 0x477e9a
mov ecx, esi
mov eax, dword [esp + 0x14]
mov byte [eax + edx], 1
inc edx
movzx eax, byte [ecx]
cmp edx, eax
jb 0x477ed0
jmp 0x477e9a
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
call fcn.004787d0
mov dword [esp + 4], eax
test byte [esp + 0x20], 4
jne 0x478077
cmp dword [esp + 4], 0xffffffff
je 0x4785bd
xor eax, eax
cmp byte [esp + 0x2c], 0x5e
sete al
mov dword [esp + 0x50], eax
inc edi
jmp 0x477f49
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
mov dword [esp + 4], eax
inc dword [esp + 0x10]
cmp dword [esp + 4], 0xffffffff
je 0x47836c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
movsx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x50]
je 0x47825c
cmp byte [esp + 0x20], 0
js 0x477fed
mov ecx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov edx, dword [esp + 4]
mov byte [ecx], dl
test dword [esp + 0x20], 0x600
je 0x477f91
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x477f97
mov dword [esp + 0x40], eax
jmp 0x477fed
mov eax, dword [esp + 0x38]
lea ebx, [eax + eax]
push ebx
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x477fcf
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 1]
cmp ebx, esi
jbe 0x477fcf
push esi
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x477fd9
jmp 0x478663
test eax, eax
je 0x478663
mov esi, ebx
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], esi
mov eax, edi
dec eax
cmp eax, 2
jl 0x478374
mov edi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x477f26
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x478374
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x47804d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x477f3a
jmp 0x478352
movzx edx, byte [ecx]
mov dword [esp + 4], edx
test edx, edx
je 0x47835f
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
cmp dword [esp + 4], 0xffffffff
jne 0x477f49
jmp 0x47836c
cmp dword [esp + 4], 0xffffffff
je 0x4785bd
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 + 0x50], 0
jmp 0x4780d1
lea ecx, [eax - 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
mov dword [esp + 4], eax
inc dword [esp + 0x10]
cmp dword [esp + 4], 0xffffffff
je 0x4782e7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
movsx eax, byte [eax + ecx]
cmp eax, esi
je 0x478240
cmp byte [esp + 0x20], 0
js 0x4781ba
mov eax, dword [esp + 4]
mov byte [esp + 0x83], al
lea eax, [esp + 0x8c]
push eax
push 1
lea eax, [esp + 0x8b]
push eax
push dword [esp + 0x50]
call fcn.00474220
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x478127
inc dword [esp + 0x50]
jmp 0x4781c4
add dword [esp + 0x44], 2
mov dword [esp + 0x50], 0
test dword [esp + 0x20], 0x600
je 0x4781ba
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x44], ecx
jne 0x4781ba
mov ecx, dword [esp + 0x38]
lea edx, [ecx + ecx]
mov dword [esp + 0x44], edx
lea ecx, [ecx*4]
push ecx
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x478199
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp dword [esp + 0x44], ebx
jbe 0x478199
lea eax, [ebx + ebx]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x4781a5
jmp 0x47873f
test eax, eax
je 0x47873f
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
lea eax, [eax + ecx*2]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ebx
cmp edi, 2
jl 0x4782ef
dec edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x4780ae
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
mov dword [esp + 4], 0xffffffff
test al, 1
jne 0x4782ef
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x478216
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x4780c2
jmp 0x4782cd
movzx edx, byte [ecx]
mov dword [esp + 4], edx
test edx, edx
je 0x4782da
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [eax], ecx
cmp dword [esp + 4], 0xffffffff
jne 0x4780d1
jmp 0x4782e7
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.00478850
add esp, 8
jmp 0x4782ef
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.00478850
add esp, 8
jmp 0x478374
dec dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x1008]
mov edx, dword [esp + 4]
mov dword [ecx + eax*4 + 4], edx
jmp 0x478411
cmp dword [esp + 0x24], 0
je 0x478341
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.00478980
mov byte [eax], bl
jmp 0x4783ae
xor esi, esi
jmp 0x477c6b
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], si
jmp 0x4783ae
mov eax, dword [esp + 8]
or byte [eax + 0x100c], 1
jmp 0x4782e7
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov dword [esp + 4], 0xffffffff
cmp dword [esp + 0x50], 0
jne 0x478604
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
je case.0x4751ed.38
cmp byte [esp + 0x20], 0
js 0x4783ae
mov edx, dword [esp + 0x44]
mov word [edx], 0
add edx, 2
mov eax, dword [esp + 0x38]
add eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], edx
push eax
jmp 0x47839d
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x4783ae
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x4783ae
mov eax, dword [esp + 8]
or byte [eax + 0x100c], 1
jmp 0x47836c
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
je case.0x4751ed.38
cmp byte [esp + 0x20], 0
js 0x4783ae
mov edx, dword [esp + 0x40]
mov byte [edx], 0
inc edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
push dword [esp + 0x38]
call fcn.00478a30
add esp, 4
mov esi, dword [esp + 0x18]
inc esi
xor edi, edi
jmp 0x4783b6
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 0x474c17
jmp 0x4784aa
dec esi
cmp esi, dword [esp + 0x6c]
jbe 0x47841e
movzx eax, byte [esi]
mov ecx, dword [esp + 8]
test byte [ecx + 0x1004], 1
jne 0x4783ff
mov ecx, dword [esp + 8]
push dword [ecx]
push eax
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x47841a
dec dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x1008]
mov dword [edx + ecx*4 + 4], eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
add dword [ecx], eax
jmp 0x4783ce
movzx eax, byte [esi]
jmp 0x4775da
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov esi, 0xffffffff
jmp 0x4784be
xor edi, edi
xor esi, esi
jmp 0x4784aa
mov ecx, eax
jmp 0x478461
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov edx, dword [esp + 8]
mov dword [edx + 0x100c], eax
mov ecx, 0xffffffff
test byte [edx + 0x1004], 1
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
jne 0x478488
push dword [edx]
push ecx
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x47849f
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.004788a0
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 0x47859d
mov edx, edi
lea esi, [edi + 0x1008]
jmp 0x478501
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 + 8]
je 0x478564
mov eax, dword [esi]
test eax, eax
jne 0x4784e0
mov eax, dword [edx + 0x100c]
mov edi, 0xffffffff
test al, 1
jne 0x4784f0
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x478537
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x478547
inc dword [esp + 0x10]
mov edi, eax
jmp 0x4784f0
movzx edi, byte [ecx]
test edi, edi
je 0x478554
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
jmp 0x4784f0
mov eax, dword [esp + 8]
or byte [eax + 0x100c], 1
jmp 0x4784f0
or eax, 1
mov dword [edx + 0x100c], eax
mov edi, 0xffffffff
jmp 0x4784f0
cmp edi, 0xffffffff
je 0x47859d
test byte [edx + 0x1004], 1
jne 0x478588
push dword [edx]
push edi
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea esi, [esp + 0x10]
jmp 0x47859b
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 0x4784aa
mov edx, dword [esp + 8]
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 0x4784b6
lea eax, [esp + 0x10]
mov ecx, esi
push 0
push eax
call fcn.00478850
add esp, 8
jmp case.0x4751ed.38
mov edx, dword [esp + 8]
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 0x4785d2
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, esi
push eax
push 0
jmp 0x4784b6
mov ecx, dword [esp + 0x20]
and ecx, 0x400
xor eax, eax
neg ecx
sbb eax, eax
mov esi, dword [esp + 0x18]
jmp 0x4785c8
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
call fcn.004789b0
mov esi, 0xffffffff
jmp 0x4784be
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x47868e
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 0x4785d4
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
jmp 0x4785e4
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
jmp 0x4785bd
cmp dword [esp + 4], 0xffffffff
je 0x4785bd
lea eax, [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 1
jmp 0x4785e6
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0x100c], eax
jmp case.0x4751ed.38
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x100c]
or ecx, 1
mov eax, dword [esp + 8]
mov dword [eax + 0x100c], ecx
jmp case.0x4751ed.38
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x47868e
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
mov word [eax + ecx*2 - 2], 0
jmp 0x478681