Function at 0x1004b390
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 0x1004ec82
mov esi, edx
test edx, edx
je 0x1004ec82
cmp dword [ecx], 0
je 0x1004ec82
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 0x1004b414
xor edx, edx
cmp byte [eax], 0
cmovne edx, eax
movzx eax, byte [esi]
test al, al
mov ecx, dword [esp + 4]
je 0x1004ec97
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 0x1004b581
push edi
call sub.msvcrt.dll_strlen
add esp, 4
lea ecx, [esp + 0xa8]
push ecx
push eax
push edi
call fcn.1006fbb0
add esp, 0xc
test eax, eax
jle 0x1004b57e
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 0x1004b4f0
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x1004b550
jmp 0x1004ecb8
mov eax, dword [edx + 0x100c]
mov ecx, 0xffffffff
test al, 1
jne 0x1004ecbd
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004b52e
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004eca1
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
jmp 0x1004b550
movzx ebx, byte [ecx]
test ebx, ebx
je 0x1004ecab
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 0x1004ec9d
inc edi
dec esi
cmp esi, 1
jg 0x1004b4d0
mov dword [esp + 8], eax
mov edi, dword [esp + 0x34]
movzx eax, byte [edi]
test al, al
jne 0x1004b497
jmp 0x1004ed24
movzx eax, byte [edi]
lea esi, [edi + 1]
cmp al, 0x25
je 0x1004b6d8
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 0x1004b642
mov dword [esp + 0x50], esi
mov eax, dword [ebx]
test eax, eax
je 0x1004b5d6
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 0x1004b629
jmp 0x1004ee19
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x1004ee19
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004b612
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ee06
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov edx, dword [esp + 4]
jmp 0x1004b629
movzx esi, byte [ecx]
test esi, esi
je 0x1004ee10
inc ecx
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
cmp dword [esp + 0x20], 0
jne 0x1004b674
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
cmp esi, eax
jne 0x1004ee3a
mov edi, edx
mov edx, dword [esp + 0x34]
movzx eax, byte [edx]
mov esi, ecx
test al, al
jne 0x1004b491
jmp 0x1004ed2a
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 0x1004ee19
push esi
call sub.msvcrt.dll_isspace
mov edx, dword [esp + 8]
add esp, 4
test eax, eax
je 0x1004b630
mov eax, dword [ebx]
test eax, eax
jne 0x1004b65a
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x1004ee19
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004b6c3
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ee06
mov esi, eax
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
jmp 0x1004b674
movzx esi, byte [ecx]
test esi, esi
je 0x1004ee10
inc ecx
inc edi
mov dword [esp + 0x10], edi
mov dword [edx], ecx
jmp 0x1004b674
movzx eax, byte [esi]
add eax, 0xffffffd0
xor ebx, ebx
cmp eax, 9
ja 0x1004b733
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 0x1004b71b
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 0x1004b700
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 0x1004b748
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x6c]
jmp 0x1004b748
or ebx, 0x80
inc esi
movzx eax, byte [esi]
cmp eax, 0x27
je 0x1004b777
cmp eax, 0x2a
je 0x1004b741
cmp eax, 0x49
jne 0x1004b795
movzx eax, byte [esi + 1]
cmp eax, 0x33
je 0x1004b786
cmp eax, 0x36
jne 0x1004b78f
cmp byte [esi + 2], 0x34
jne 0x1004b78f
add esi, 2
or ebx, 0xc
inc esi
jmp 0x1004b748
mov eax, ebx
or eax, 0x100
test edx, edx
cmovne ebx, eax
inc esi
jmp 0x1004b748
cmp byte [esi + 2], 0x32
jne 0x1004b78f
add esi, 2
or ebx, 4
inc esi
jmp 0x1004b748
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x1004b7c0
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 0x1004b79f
cmp ecx, 1
mov edi, 0
sbb edi, edi
or edi, ecx
jmp 0x1004b7c5
mov edi, 0xffffffff
movzx eax, al
lea ecx, [eax - 0x4c]
cmp ecx, 0x2e
mov dword [esp + 0x50], edi
ja case.default.0x1004b7d8
jmp dword [ecx*4 + 0x10078500]
inc esi
or ebx, 0xc
jmp case.0x1004b7d8.77
or ebx, 4
inc esi
jmp case.0x1004b7d8.77
movzx eax, byte [esi + 1]
cmp al, 0x6c
jne 0x1004bbb8
or ebx, 0x404
add esi, 2
jmp 0x1004b83d
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.0x1004b7d8.77
movzx eax, byte [esi + 1]
cmp eax, 0x53
je 0x1004b836
cmp eax, 0x73
je 0x1004b836
cmp eax, 0x5b
jne 0x1004b83d
inc esi
or ebx, 0x200
mov edi, dword [esp + 0x50]
jmp case.0x1004b7d8.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.0x1004b7d8.77
or ebx, 8
inc esi
jmp case.0x1004b7d8.77
test eax, eax
je case.0x1004ba60.38
movzx edx, byte [esi]
test dl, dl
je case.0x1004ba60.38
lea eax, [esi + 1]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x20], ebx
je 0x1004b8a5
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 0x1004b8fc
movzx eax, dl
cmp eax, 0x62
jg 0x1004b9be
cmp eax, 0x43
je 0x1004b9cc
cmp eax, 0x5b
je 0x1004b9cc
jmp 0x1004b885
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 0x1004ee19
push edi
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
je 0x1004b97c
cmp edi, 0xffffffff
je 0x1004b8d8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x1004b926
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 0x1004b8eb
jmp 0x1004b8d8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x1004b8d8
mov edx, dword [esp + 4]
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004b95d
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004b8c5
mov edi, eax
inc dword [esp + 0x10]
jmp 0x1004b8eb
movzx edi, byte [ecx]
mov dword [esp + 8], edi
test edi, edi
je 0x1004b8cf
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
mov edi, dword [esp + 8]
jmp 0x1004b8eb
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 0x1004b9ef
test byte [ecx + 0x1004], 1
jne 0x1004b9d2
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 0x1004b9ed
cmp eax, 0x63
je 0x1004ba05
cmp eax, 0x6e
jne 0x1004b885
mov ecx, dword [esp + 4]
jmp 0x1004ba51
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 0x1004baa5
movzx eax, dl
cmp eax, 0x63
jne 0x1004ba51
test bl, 4
jne case.0x1004ba60.67
cmp edi, 0xffffffff
mov esi, edi
mov eax, 1
cmove esi, eax
test bl, bl
js 0x1004bb5b
test dword [esp + 0x20], 0x600
je 0x1004bc90
cmp dword [esp + 0x24], 0
je 0x1004c091
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0xc], eax
jmp 0x1004c0a2
movzx eax, dl
add eax, 0xffffffdb
cmp eax, 0x53
ja case.0x1004ba60.38
jmp dword [eax*4 + 0x100785bc]
xor ebx, ebx
test edi, edi
setg byte [esp + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x1004bb7a
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 0x1004bbf1
jmp 0x1004ee19
test bl, 4
jne case.0x1004ba60.83
test bl, bl
js 0x1004d7d3
test dword [esp + 0x20], 0x600
je 0x1004c1ab
cmp dword [esp + 0x24], 0
je 0x1004c859
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0xc], eax
jmp 0x1004c86a
cmp edi, 0xffffffff
mov eax, 1
cmove edi, eax
mov dword [esp + 0x50], edi
test bl, bl
js 0x1004c62d
test dword [esp + 0x20], 0x600
je 0x1004bcb0
cmp dword [esp + 0x24], 0
je 0x1004c11b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0xc], eax
jmp 0x1004c12c
test bl, bl
js 0x1004cf80
test dword [esp + 0x20], 0x600
je 0x1004bede
cmp dword [esp + 0x24], 0
je 0x1004c2d0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0xc], eax
jmp 0x1004c2e1
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x1004c55a
jmp 0x1004ee19
mov eax, dword [ecx + 0x100c]
test al, 1
jne 0x1004ee19
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004bbd2
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, 0xffffffff
je 0x1004ef29
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x1004bbf1
mov edx, eax
or ebx, 0x400
inc esi
mov edi, dword [esp + 0x50]
test dl, dl
jne 0x1004b873
jmp case.0x1004ba60.38
movzx edx, byte [ecx]
mov dword [esp + 0x78], edx
test edx, edx
je 0x1004ef33
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 0x1004bc0a
cmp dword [esp + 0x78], 0x2b
jne 0x1004bc44
cmp dword [esp + 0x50], 0
je case.0x1004ba60.38
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x1004bc4d
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 0x1004bf17
jmp case.0x1004ba60.38
mov edi, dword [esp + 0x78]
jmp 0x1004bf28
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x100c]
test cl, 1
jne case.0x1004ba60.38
mov edx, dword [esp + 4]
test byte [edx + 0x1004], 1
mov edx, dword [edx]
jne 0x1004befe
push edx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ef7f
mov edi, eax
inc dword [esp + 0x10]
jmp 0x1004bf17
cmp dword [esp + 0x24], 0
je 0x1004c3f2
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0x44], eax
jmp 0x1004c403
cmp dword [esp + 0x24], 0
je 0x1004c611
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0x48], eax
jmp 0x1004c622
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 0x1004bdf1
test bl, bl
js 0x1004e87e
test byte [esp + 0x20], 8
jne 0x1004d99b
test byte [esp + 0x20], 4
jne 0x1004dab6
test byte [esp + 0x20], 2
jne 0x1004e164
mov ebx, dword [esp + 0x10]
test byte [esp + 0x20], 1
jne 0x1004e754
cmp dword [esp + 0x24], 0
je 0x1004e7ea
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [eax], ebx
jmp 0x1004e87e
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 0x1004bdf1
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 0x1004bdf1
test bl, 4
jne 0x1004c820
cmp byte [esp + 0x20], 0
js 0x1004e28a
test dword [esp + 0x20], 0x600
je 0x1004decb
cmp dword [esp + 0x24], 0
je 0x1004e188
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0xc], eax
jmp 0x1004e199
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 0x1004be0d
lea ecx, [eax - 1]
mov edx, dword [esp + 4]
mov dword [edx + 0x1008], ecx
mov edi, dword [edx + eax*4]
jmp 0x1004be42
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x1004ee19
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004bea9
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ef29
mov edi, eax
inc dword [esp + 0x10]
mov eax, edi
cmp edi, 0x2b
je 0x1004be6c
mov eax, edi
cmp edi, 0x2d
je 0x1004be6c
mov dword [esp + 0x2c], 0
mov eax, edi
cmp edi, 0xffffffff
jne 0x1004c229
jmp 0x1004ee19
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x1004c1ea
test esi, esi
je 0x1004c1cb
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004c1e0
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004c1ea
movzx edx, byte [ecx]
test edx, edx
je 0x1004ef33
mov edi, edx
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x1004be46
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0x25
je 0x1004e87e
jmp 0x1004ef45
cmp dword [esp + 0x24], 0
je 0x1004cf64
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0x48], eax
jmp 0x1004cf75
movzx esi, byte [edx]
test esi, esi
je 0x1004ef89
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 0x1004bf78
cmp eax, 0x6e
jne 0x1004bfb5
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x1004d175
test esi, esi
je 0x1004d156
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004d16b
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004d175
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x1004d387
test esi, esi
je 0x1004d368
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004d37d
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004d387
mov dword [esp + 0x2c], 0
mov byte [esp + 0x4f], 0x65
mov eax, edi
cmp edi, 0x30
jne 0x1004c8e2
cmp dword [esp + 0x50], 0
je 0x1004c8e2
xor ecx, ecx
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.1004f2c0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax], 0x30
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
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 0x1004c8da
push edi
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x1004c8e2
mov ecx, 1
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.1004f2c0
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.1004f030
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 0x1004c8e2
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 0x1004ee79
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 0x1004ee8f
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1004c0eb
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x1004c105
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 0x1004c40e
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 0x1004ee79
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 0x1004ee8f
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1004c17b
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x1004c195
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 0x1004c62d
cmp dword [esp + 0x24], 0
je 0x1004d7b7
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0x44], eax
jmp 0x1004d7c8
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004da00
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 0x1004c28a
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 0x1004c281
mov eax, edi
cmp edi, 0x30
jne 0x1004c281
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 0x1004c373
test esi, esi
je 0x1004c354
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004c369
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004c373
mov dword [esp + 8], edi
jmp 0x1004db71
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004e8f2
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004cf47
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004da7e
mov edi, eax
jmp 0x1004c21d
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 0x1004ee79
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 0x1004ee8f
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1004c31c
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x1004c336
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 0x1004cf80
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004da07
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 0x1004c3a6
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 0x1004dafa
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004dafa
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004d97c
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004dad8
inc dword [esp + 0x10]
mov dword [esp + 8], eax
jmp 0x1004dafa
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.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004ee19
cmp byte [esp + 0x20], 0
js 0x1004c55a
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 8]
jmp 0x1004c45b
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 0x1004c608
test dword [esp + 0x20], 0x600
je 0x1004c4d7
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 0x1004c4cd
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 0x1004c4b1
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edi, ebx
jbe 0x1004c4b1
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 0x1004eea8
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 0x1004c4db
mov eax, dword [esp + 0x1c]
mov byte [ebx], cl
inc ebx
cmp esi, 2
jl 0x1004c5fb
mov eax, dword [eax]
test eax, eax
jne 0x1004c441
mov dword [esp + 0x44], ebx
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x1004d797
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004c537
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004d780
mov ecx, eax
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x44]
jmp 0x1004c451
movzx edx, byte [ecx]
test edx, edx
je 0x1004d78a
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 0x1004c451
cmp esi, 2
jl 0x1004e87e
mov ebx, dword [esp + 0x50]
inc ebx
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
jmp 0x1004c591
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1004d797
dec ebx
cmp ebx, 3
jb 0x1004c5f2
mov eax, dword [esi]
test eax, eax
jne 0x1004c572
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x1004d797
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004c5d2
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004d780
mov ecx, eax
inc dword [esp + 0x10]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
jmp 0x1004c58b
movzx edx, byte [ecx]
test edx, edx
je 0x1004d78a
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 0x1004c58b
mov dword [esp + 8], eax
jmp 0x1004d79f
mov dword [esp + 8], ecx
mov dword [esp + 0x44], ebx
jmp 0x1004d79f
mov dword [esp + 0x44], ebx
jmp 0x1004d797
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.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004ee19
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 0x1004c70a
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 0x1004c6ab
mov esi, dword [esp + 0x48]
jmp 0x1004c70a
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 0x1004c6ed
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 1]
cmp edi, esi
jbe 0x1004c6ed
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 0x1004eea8
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 0x1004c73f
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1004ee60
mov dword [esp + 8], eax
mov byte [esp + 0x83], al
push ebx
push 1
lea eax, [esp + 0x8b]
push eax
push esi
call fcn.1006f980
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x1004c7bd
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 4]
jne 0x1004c71b
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x1004ee60
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004c793
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ee4d
inc dword [esp + 0x10]
jmp 0x1004c734
movzx ebx, byte [ecx]
test ebx, ebx
je 0x1004ee57
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 0x1004c734
cmp eax, 1
jne 0x1004ee60
add dword [esp + 0x48], 2
cmp dword [esp + 0x50], 2
jl 0x1004c801
dec dword [esp + 0x50]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x24]
jne 0x1004c675
mov dword [esp + 8], 0xffffffff
cmp byte [esp + 0x20], 0
js 0x1004e87e
mov eax, dword [esp + 0x38]
add eax, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
push eax
jmp 0x1004e85a
cmp byte [esp + 0x20], 0
js 0x1004e28a
test dword [esp + 0x20], 0x600
je 0x1004deeb
cmp dword [esp + 0x24], 0
je 0x1004e1bc
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0xc], eax
jmp 0x1004e1cd
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 0x1004ee79
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 0x1004ee8f
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1004c8a2
mov ecx, dword [esi]
cmp ecx, 0x20
jb 0x1004c8bc
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 0x1004d7d3
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 0x1004c938
lea ecx, [eax - 1]
mov dword [esi + 0x1008], ecx
mov ecx, dword [esi + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x1004d9f3
xor eax, eax
test edi, edi
setg al
sub edi, eax
lea eax, [ecx - 0x30]
cmp eax, 0xa
mov dword [esp + 0x50], edi
jb 0x1004c973
cmp byte [esp + 0x70], 0
jne 0x1004c9c8
mov eax, edx
and eax, 0x40
je 0x1004c9c8
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 0x1004c9fe
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x1004cace
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 0x1004caa7
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004cab8
push edi
call sub.msvcrt.dll_free
add esp, 4
xor edi, edi
jmp 0x1004cabe
cmp byte [esp + 0x70], 0
je 0x1004c9fe
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 0x1004ca7a
cmp ecx, 0x2d
je 0x1004c973
cmp ecx, 0x2b
je 0x1004c973
jmp 0x1004ca7a
cmp dword [esp + 0x2c], 0
je 0x1004ca7a
cmp byte [esp + 0x70], 0
jne 0x1004ca7a
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 0x1004ca7a
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x1004ceb8
mov eax, dword [esp + 0x2c]
lea esi, [eax + eax]
cmp esi, 0x101
mov eax, 0x100
cmovb esi, eax
test edi, edi
je 0x1004cea5
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004ceb2
push edi
call sub.msvcrt.dll_free
add esp, 4
xor edi, edi
jmp 0x1004ceb8
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 0x1004caef
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x40]
movzx eax, byte [ebx]
mov dword [esp + 0x40], edi
jmp 0x1004cbe6
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004cbd2
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 0x1004ce28
jmp 0x1004cf3e
mov eax, dword [esp + 0x7c]
movzx eax, byte [eax]
cmp dword [esp + 8], eax
jne 0x1004cbd9
mov eax, dword [esp + 0x88]
movzx eax, byte [eax]
test al, al
je 0x1004cbdf
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 0x1004cb51
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 0x1004cba8
jmp 0x1004cf09
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x1004cf09
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004cb8e
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004cef2
inc dword [esp + 0x10]
jmp 0x1004cba8
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x1004cefc
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 0x1004cbe6
test edi, edi
jle 0x1004cbe6
movzx eax, byte [ebx + 1]
inc ebx
mov ecx, dword [esp + 0x40]
add ecx, 0xffffffff
setb dl
test al, al
je 0x1004cbe6
test dl, dl
jne 0x1004cb1e
jmp 0x1004cbe6
xor edi, edi
jmp 0x1004cabe
mov ebx, dword [esp + 0x7c]
jmp 0x1004cbe6
mov ebx, dword [esp + 0x88]
test al, al
je 0x1004cc46
mov edi, dword [esp + 0x6c]
cmp byte [esp + 0x68], 0
jne 0x1004cdf2
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x6c]
and eax, 0x100
je 0x1004cdf2
mov eax, ebx
sub eax, dword [esp + 0x7c]
test eax, eax
jle 0x1004ccf2
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 0x1004ccfa
inc ecx
cmp ecx, eax
mov edx, dword [esp + 0x6c]
jl 0x1004cc2b
jmp 0x1004cd0b
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x1004ccd4
mov ecx, dword [esp + 0x2c]
lea edi, [ecx + ecx]
mov ebx, dword [esp + 0x88]
jmp 0x1004cc95
push eax
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004ccd0
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 0x1004ccd8
mov esi, dword [esp + 0x14]
cmp ecx, dword [esp + 0x3c]
jne 0x1004cc7e
mov dword [esp + 0x2c], ecx
cmp edi, 0x101
mov eax, 0x100
cmovae eax, edi
test esi, esi
mov dword [esp + 0x68], eax
je 0x1004cc63
push eax
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004cc70
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004cc7a
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 0x1004ce10
xor ecx, ecx
mov ebx, dword [esp + 0x6c]
jmp 0x1004cd01
mov edx, dword [esp + 0x6c]
lea ebx, [edx + ecx]
mov edi, ebx
cmp ecx, eax
jne 0x1004cdf2
movzx eax, byte [ebx]
cmp dword [esp + 8], eax
jne 0x1004cdfd
cmp dword [esp + 0x40], 0
js 0x1004cdfd
movzx eax, byte [ebx + 1]
test al, al
je 0x1004cdfd
cmp dword [esp + 0x40], 0
je 0x1004cdfd
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 0x1004cd73
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 0x1004cdca
jmp 0x1004cf2d
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne 0x1004cf2d
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004cdb0
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004cf16
inc dword [esp + 0x10]
jmp 0x1004cdca
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x1004cf20
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 0x1004cdec
movzx eax, byte [edi + 1]
test al, al
je 0x1004cdec
inc edi
mov edx, dword [esp + 0x40]
lea ecx, [edx + 1]
cmp edx, 0xffffffff
jne 0x1004cd43
not dword [esp + 0x40]
jmp 0x1004cdfd
test edi, edi
je 0x1004d9bb
movzx eax, byte [edi]
test al, al
jne 0x1004d9bb
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 0x1004cf3e
mov eax, dword [ebx]
test eax, eax
jne 0x1004c916
mov eax, dword [esi + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004df2c
test byte [esi + 0x1004], 1
mov ecx, dword [esi]
jne 0x1004ce7c
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004da66
mov ecx, eax
inc dword [esp + 0x10]
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x1004c92f
movzx edx, byte [ecx]
test edx, edx
je 0x1004da4c
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 0x1004c92f
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004ceee
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 0x1004cade
xor edi, edi
jmp 0x1004ceb8
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 0x1004ca9b
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 0x1004cdfa
mov dword [esp + 8], ecx
jmp 0x1004df2c
movzx edx, byte [ecx]
test edx, edx
je 0x1004da88
mov edi, edx
inc dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x1004c221
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.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004ee19
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 0x1004da0e
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.1006f980
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x1004d095
mov eax, dword [edi]
test eax, eax
mov edx, dword [esp + 4]
je 0x1004d03a
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
jmp 0x1004d067
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x1004ee60
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004d075
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ee4d
mov ecx, eax
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x1004cff9
jmp 0x1004ee60
movzx ebx, byte [ecx]
test ebx, ebx
je 0x1004ee57
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 0x1004d06b
mov dword [esp + 8], ebx
cmp eax, 1
jne 0x1004ee60
add dword [esp + 0x48], 2
cmp byte [esp + 0x24], 0
jne 0x1004d119
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 0x1004d119
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 0x1004d0fc
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x1004d0fc
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 0x1004ef9b
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 0x1004d12f
cmp dword [esp + 0x50], 1
je 0x1004e7c2
dec dword [esp + 0x50]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x1004cfc8
mov dword [esp + 8], 0xffffffff
jmp 0x1004e7c2
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004daa8
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.0x1004ba60.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x1004d1b0
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 0x1004d201
jmp case.0x1004ba60.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x1004ba60.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004d1eb
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ef63
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x1004d201
movzx ebx, byte [ecx]
test ebx, ebx
je 0x1004ef6d
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.0x1004ba60.38
cmp dword [esp + 0x50], 0
setg byte [esp + 8]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x1004d26a
test esi, esi
je 0x1004d24b
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004d260
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004d26a
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004da9a
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.0x1004ba60.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x1004d2b0
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 0x1004d307
jmp case.0x1004ba60.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x1004ba60.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004d2ed
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004ef63
inc dword [esp + 0x10]
jmp 0x1004d307
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x1004ef6d
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.0x1004ba60.38
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x1004d350
test eax, eax
je 0x1004d33b
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x1004d348
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 0x1004df49
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004daaf
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.0x1004ba60.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x1004d3c2
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 0x1004d413
jmp case.0x1004ba60.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x1004ba60.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004d3fd
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004ef63
mov ebx, eax
inc dword [esp + 0x10]
jmp 0x1004d413
movzx ebx, byte [ecx]
test ebx, ebx
je 0x1004ef6d
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.0x1004ba60.38
cmp dword [esp + 0x50], 0
setg byte [esp + 8]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x1004d47c
test esi, esi
je 0x1004d45d
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004d472
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004d47c
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004daa1
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.0x1004ba60.38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x1004d4c2
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 0x1004d519
jmp case.0x1004ba60.38
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
test al, 1
jne case.0x1004ba60.38
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004d4ff
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004ef63
inc dword [esp + 0x10]
jmp 0x1004d519
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x1004ef6d
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.0x1004ba60.38
xor ebx, ebx
cmp dword [esp + 0x50], 0
setg byte [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 2
jne 0x1004d56e
test eax, eax
je 0x1004d559
push 0x100
push eax
call sub.msvcrt.dll_realloc
add esp, 8
jmp 0x1004d566
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 0x1004df49
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1004d757
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne 0x1004d764
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.1004f2c0
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov byte [eax + 3], cl
sub esi, ebx
je case.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
cmp eax, 0xffffffff
je case.0x1004ba60.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x6e
jne case.0x1004ba60.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.1004f2c0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 4], bl
sub esi, edi
je case.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
cmp eax, 0xffffffff
je case.0x1004ba60.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x69
jne case.0x1004ba60.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.1004f2c0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 5], bl
sub esi, edi
je case.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
cmp eax, 0xffffffff
je case.0x1004ba60.38
mov ebx, eax
push eax
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x74
jne case.0x1004ba60.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.1004f2c0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [eax + 6], bl
cmp esi, edi
je case.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je case.0x1004ba60.38
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x79
jne case.0x1004ba60.38
mov ecx, 7
lea edx, [esp + 0x3c]
push dword [esp + 0x14]
call fcn.1004f2c0
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 0x1004df4d
mov dword [esp + 8], 0xffffffff
jmp 0x1004df49
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
lea eax, [esp + 0x14]
push eax
call fcn.1004f0b0
add esp, 8
jmp 0x1004df49
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 0x1004e87e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
jmp 0x1004e856
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.0x1004ba60.38
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
call fcn.1004f030
cmp eax, 0xffffffff
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
jne 0x1004d80f
jmp 0x1004ee19
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1004d962
mov dword [esp + 8], eax
push eax
call sub.msvcrt.dll_isspace
add esp, 4
test eax, eax
jne 0x1004d942
test bl, bl
js 0x1004d84f
lea eax, [edi + 1]
mov ecx, dword [esp + 8]
mov byte [edi], cl
test ebx, 0x600
je 0x1004d84d
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x1004d8e8
mov edi, eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x1004d869
cmp eax, 1
je 0x1004d973
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
test eax, eax
jne 0x1004d7f6
mov dword [esp + 0x44], edi
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004e83f
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004d8bd
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004da3c
mov ecx, eax
inc dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
jmp 0x1004d806
movzx esi, byte [ecx]
test esi, esi
je 0x1004da2a
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 0x1004d806
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 0x1004d919
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x1004d919
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 0x1004eebf
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 0x1004d853
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.1004f0b0
add esp, 8
jmp 0x1004e83f
mov dword [esp + 0x44], edi
mov dword [esp + 8], 0xffffffff
jmp 0x1004e83f
mov dword [esp + 0x44], edi
jmp 0x1004e83f
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x1004dae5
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
jmp 0x1004dafa
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x1004deb0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
jmp 0x1004debd
cmp dword [esp + 8], 0xffffffff
je 0x1004d9f3
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x1004df0b
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 0x1004df2a
mov dword [esp + 8], 0xffffffff
jmp 0x1004df2c
xor esi, esi
jmp 0x1004c1ea
xor esi, esi
jmp 0x1004c373
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.1004f0b0
add esp, 8
jmp 0x1004e7c2
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x1004d966
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x1004d966
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
jmp 0x1004df2c
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
mov dword [esp + 8], 0xffffffff
jmp 0x1004df2c
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x1004e8f2
xor esi, esi
jmp 0x1004d26a
xor esi, esi
jmp 0x1004d47c
xor esi, esi
jmp 0x1004d175
xor esi, esi
jmp 0x1004d387
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x1004e23d
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [eax], esi
jmp 0x1004e87e
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x1004dafa
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 0x1004db56
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp eax, 0x78
jne 0x1004db63
test bl, bl
je 0x1004db69
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.1004f030
mov dword [esp + 8], eax
mov dword [esp + 0x40], 0x10
jmp 0x1004db71
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
jmp 0x1004e8e4
mov eax, dword [esp + 0x68]
jmp 0x1004db6d
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
cmp dword [esp + 8], 0xffffffff
je 0x1004e8e4
cmp dword [esp + 0x50], 0
je 0x1004e8e4
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 0x1004dbd2
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x1004de33
movzx eax, byte [esp + 0x50]
mov bl, al
sub edi, ebx
je 0x1004de33
cmp dword [esp + 0x40], 0x10
mov dword [esp + 8], ecx
jne 0x1004dbef
push ecx
call sub.msvcrt.dll_isxdigit
add esp, 4
test eax, eax
jne 0x1004dbfd
jmp 0x1004de3c
lea eax, [ecx - 0x30]
cmp eax, 9
ja 0x1004dc06
cmp eax, dword [esp + 0x40]
jge 0x1004dc06
mov ecx, dword [esp + 0x2c]
jmp 0x1004dd3f
cmp byte [esp + 0x68], 0
jne 0x1004e8e4
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 0x1004dcf0
mov eax, dword [esp + 0x98]
movzx eax, byte [eax]
test al, al
je 0x1004dcf6
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 0x1004dc79
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov ecx, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x1004dcc6
jmp 0x1004dd1a
mov eax, dword [edx + 0x100c]
test al, 1
jne 0x1004dd1a
mov dword [esp + 8], ebx
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004dcac
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004dcff
mov ecx, eax
inc dword [esp + 0x10]
jmp 0x1004dcc2
movzx edx, byte [ecx]
test edx, edx
je 0x1004dd09
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 0x1004dd27
test ebx, ebx
jle 0x1004dd27
movzx eax, byte [esi + 1]
inc esi
mov ecx, edi
add ecx, 0xffffffff
setb dl
test al, al
je 0x1004dd27
test dl, dl
jne 0x1004dc4c
jmp 0x1004dd27
mov esi, dword [esp + 0x6c]
jmp 0x1004dd27
mov esi, dword [esp + 0x98]
jmp 0x1004dd27
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 0x1004de49
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 0x1004dd7f
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 0x1004dd89
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004dd9a
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004dda0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
jmp 0x1004ddae
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004de2c
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 0x1004dbaa
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004e8e4
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004de0b
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004de98
mov ecx, eax
jmp 0x1004dbb6
movzx esi, byte [ecx]
test esi, esi
je 0x1004de7e
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 0x1004dbc3
jmp 0x1004de33
xor esi, esi
jmp 0x1004dda0
mov dword [esp + 8], ecx
jmp 0x1004e8e4
mov dword [esp + 0x40], 0x10
jmp 0x1004e8e4
cmp esi, dword [esp + 0x6c]
jbe 0x1004e8e4
cmp dword [esp + 8], 0xffffffff
je 0x1004e8a9
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x1004e739
mov eax, dword [esp + 4]
push dword [eax]
push dword [esp + 0xc]
jmp 0x1004e86b
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
jmp 0x1004e8e4
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
mov dword [esp + 8], 0xffffffff
jmp 0x1004e8e4
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 0x1004e87e
cmp dword [esp + 0x24], 0
je 0x1004e251
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0x44], eax
jmp 0x1004e262
cmp dword [esp + 0x24], 0
je 0x1004e26e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [esp + 0x48], eax
jmp 0x1004e27f
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.0x1004ba60.38
test byte [esp + 0x20], 0x40
je 0x1004df49
cmp dword [esp + 0x2c], 2
je case.0x1004ba60.38
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x1004dfa2
mov eax, dword [esp + 0x2c]
lea esi, [eax + eax]
cmp esi, 0x101
mov eax, 0x100
cmovb esi, eax
test edi, edi
je 0x1004df8b
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004df9c
push edi
call sub.msvcrt.dll_free
add esp, 4
xor edi, edi
jmp 0x1004dfa2
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004e0f7
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 0x1004e034
mov eax, dword [esp + 0x14]
test byte [esp + 0x20], 4
jne 0x1004e08e
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.10049cb0
add esp, 8
fstp dword [esp + 0xa4]
cmp byte [esp + 0x20], 0
js 0x1004e141
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x1004e141
movss xmm0, dword [esp + 0xa4]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x1004e018
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x100784f0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x1004e113
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
jmp 0x1004e120
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
call fcn.10049e10
add esp, 8
cmp byte [esp + 0x20], 0
js 0x1004e087
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x1004e087
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 0x1004e0fe
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
jmp 0x1004e10b
fstp st(0)
jmp 0x1004e141
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.10049e10
add esp, 8
fstp qword [esp + 0xb0]
cmp byte [esp + 0x20], 0
js 0x1004e141
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
je 0x1004e141
movsd xmm0, qword [esp + 0xb0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x78], 0x2d
jne 0x1004e0e2
movaps xmm0, xmmword [esp + 0x50]
xorps xmm0, xmmword [0x100784e0]
movaps xmmword [esp + 0x50], xmm0
cmp dword [esp + 0x24], 0
je 0x1004e12b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
jmp 0x1004e138
xor edi, edi
jmp 0x1004dfa2
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 0x1004e141
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 0x1004e141
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.0x1004ba60.38
xor eax, eax
cmp byte [esp + 0x20], 0
setns al
mov esi, dword [esp + 0x18]
add esi, eax
jmp 0x1004e882
movzx esi, word [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x1004e772
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov word [eax], si
jmp 0x1004e87e
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 0x1004ee79
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 0x1004e1f1
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 0x1004ee79
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 0x1004ee8f
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1004e208
mov ecx, dword [edi]
cmp ecx, 0x20
jb 0x1004e222
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 0x1004e28a
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], esi
jmp 0x1004e87e
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 0x1004e28a
jmp case.0x1004ba60.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.0x1004ba60.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 0x1004e2ec
mov dword [esp + 0x3c], 0x100
test eax, eax
je 0x1004e2db
push eax
call sub.msvcrt.dll_free
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 0x1004e357
cmp ecx, 0x2d
jne 0x1004e35f
mov byte [eax + ecx], 1
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
jmp 0x1004e36f
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 0x1004e389
test eax, eax
je case.0x1004ba60.38
cmp eax, 0x5d
jne 0x1004e365
jmp 0x1004e3b9
movzx ebx, byte [esi]
test ebx, ebx
je 0x1004e365
cmp ebx, 0x5d
je 0x1004e365
movzx edx, byte [ecx - 1]
cmp dl, bl
ja 0x1004e365
mov ecx, esi
cmp dl, bl
jae 0x1004e36f
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 0x1004e3a7
jmp 0x1004e36f
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.1004f030
mov dword [esp + 8], eax
test byte [esp + 0x20], 4
jne 0x1004e542
cmp dword [esp + 8], 0xffffffff
je 0x1004ee19
xor ebx, ebx
cmp byte [esp + 0x2c], 0x5e
sete bl
inc dword [esp + 0x50]
jmp 0x1004e41f
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 0x1004e829
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
movsx eax, byte [eax + ecx]
cmp eax, ebx
je 0x1004e71d
cmp byte [esp + 0x20], 0
js 0x1004e4b4
mov ecx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov edx, dword [esp + 8]
mov byte [ecx], dl
test dword [esp + 0x20], 0x600
je 0x1004e461
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x38]
add edx, ecx
cmp eax, edx
je 0x1004e467
mov dword [esp + 0x44], eax
jmp 0x1004e4b4
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 0x1004e498
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
cmp esi, edi
jbe 0x1004e498
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 0x1004eebf
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 0x1004e831
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x1004e3fc
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004e831
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004e518
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x1004e410
jmp 0x1004e80f
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x1004e81c
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
cmp dword [esp + 8], 0xffffffff
jne 0x1004e41f
jmp 0x1004e829
cmp dword [esp + 8], 0xffffffff
je 0x1004ee19
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 0x1004e59c
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 0x1004e7a1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
movsx eax, byte [eax + ecx]
mov ecx, esi
cmp eax, esi
je 0x1004e701
cmp byte [esp + 0x20], 0
js 0x1004e676
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.1006f980
add esp, 0x10
cmp eax, 0xfffffffe
jne 0x1004e5f4
inc dword [esp + 0x2c]
jmp 0x1004e685
add dword [esp + 0x48], 2
mov dword [esp + 0x2c], 0
test dword [esp + 0x20], 0x600
je 0x1004e676
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 0x1004e676
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 0x1004e659
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
cmp edi, ebx
jbe 0x1004e659
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 0x1004ef9b
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 0x1004e7a9
dec dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x1004e579
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004e7a9
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004e6d7
push ecx
call sub.msvcrt.dll_getc
add esp, 4
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x1004e58d
jmp 0x1004e787
movzx edx, byte [ecx]
mov dword [esp + 8], edx
test edx, edx
je 0x1004e794
inc ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [eax], ecx
cmp dword [esp + 8], 0xffffffff
jne 0x1004e59c
jmp 0x1004e7a1
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.1004f0b0
add esp, 8
jmp 0x1004e7a9
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
lea eax, [esp + 0x14]
push eax
call fcn.1004f0b0
add esp, 8
jmp 0x1004e831
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 0x1004e89e
cmp dword [esp + 0x24], 0
je 0x1004e7fe
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov byte [eax], bl
jmp 0x1004e87e
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], si
jmp 0x1004e87e
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x1004e7a1
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
mov dword [esp + 8], 0xffffffff
cmp dword [esp + 0x2c], 0
jne 0x1004ee60
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
je case.0x1004ba60.38
cmp byte [esp + 0x20], 0
js 0x1004e87e
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 0x1004e85a
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x1004e87e
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x1004e87e
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x1004e829
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.0x1004ba60.38
cmp byte [esp + 0x20], 0
js 0x1004e87e
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.1004f290
add esp, 4
mov esi, dword [esp + 0x18]
inc esi
xor edi, edi
jmp 0x1004e886
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x1004e8a7
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 0x1004b487
jmp 0x1004ed06
mov eax, 1
mov ecx, dword [esp + 0x1c]
add dword [ecx], eax
dec esi
cmp esi, dword [esp + 0x6c]
jbe 0x1004e8dd
movzx eax, byte [esi]
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
jne 0x1004e8c9
mov ecx, dword [esp + 4]
push dword [ecx]
push eax
jmp 0x1004e86b
dec dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x1008]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1004e89e
movzx eax, byte [esi]
mov dword [esp + 8], eax
cmp dword [esp + 0x2c], 0
je 0x1004e94f
cmp dword [esp + 0x2c], 1
jne 0x1004e913
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
cmp eax, 0x2b
je 0x1004ef18
mov dword [esp + 0x2c], 1
cmp eax, 0x2d
je 0x1004ef18
cmp dword [esp + 8], 0xffffffff
je 0x1004ea60
mov eax, dword [esp + 4]
test byte [eax + 0x1004], 1
jne 0x1004ea6a
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 0x1004ea89
test byte [esp + 0x20], 0x20
je 0x1004ef18
push dword [esp + 8]
call sub.msvcrt.dll_tolower
add esp, 4
cmp al, 0x28
jne 0x1004ef18
mov bl, 0x6e
mov esi, 0xfffffffc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x1004e99d
lea ecx, [eax - 1]
mov dword [edx + 0x1008], ecx
mov eax, dword [edx + eax*4]
inc dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x1004e9f6
jmp 0x1004ef10
mov eax, dword [edx + 0x100c]
mov dword [esp + 8], 0xffffffff
test al, 1
jne 0x1004ef18
mov ecx, dword [esp + 4]
test byte [ecx + 0x1004], 1
mov ecx, dword [ecx]
jne 0x1004e9dc
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004eef9
mov ecx, eax
inc dword [esp + 0x10]
jmp 0x1004e9f6
movzx edi, byte [ecx]
test edi, edi
je 0x1004ef03
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 0x1004ef18
movzx ebx, byte [esi + str._free_locale]
inc esi
mov edx, dword [esp + 4]
jne 0x1004e979
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jne 0x1004ec56
test esi, esi
je 0x1004ec3b
push 0x100
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004ec4c
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004ec56
mov dword [esp + 8], 0xffffffff
jmp 0x1004ea8b
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 0x1004eae4
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax]
cmp edi, 0x101
mov eax, 0x100
cmovb edi, eax
test esi, esi
je 0x1004eacd
push edi
push esi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1004eade
push esi
call sub.msvcrt.dll_free
add esp, 4
xor esi, esi
jmp 0x1004eae4
push edi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004ebe5
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 0x1004eb13
test byte [esp + 0x20], 0x10
jne 0x1004eb2b
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtoul
jmp 0x1004eb3a
test byte [esp + 0x20], 0x10
jne 0x1004eb41
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll__strtoui64
jmp 0x1004eb50
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll_strtol
add esp, 0xc
mov ebx, eax
jmp 0x1004eb5c
push dword [esp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.msvcrt.dll__strtoi64
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x74]
je case.0x1004ba60.38
cmp byte [esp + 0x20], 0
js 0x1004e87e
test byte [esp + 0x20], 0x10
test byte [esp + 0x20], 8
jne 0x1004ebad
test byte [esp + 0x20], 4
jne 0x1004eb96
test byte [esp + 0x20], 2
jne 0x1004ebec
test byte [esp + 0x20], 1
jne 0x1004ec12
cmp dword [esp + 0x24], 0
je 0x1004ec01
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov dword [eax], ebx
jmp 0x1004ebdb
cmp dword [esp + 0x24], 0
je 0x1004ebc2
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
jmp 0x1004ebcf
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 0x1004e882
xor esi, esi
jmp 0x1004eae4
cmp dword [esp + 0x24], 0
je 0x1004ec29
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
jmp 0x1004ec36
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
jmp 0x1004ebdb
cmp dword [esp + 0x24], 0
je 0x1004ec6a
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
call fcn.1004f1e0
mov byte [eax], bl
jmp 0x1004ebdb
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov word [eax], bx
jmp 0x1004ebdb
push 0x100
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1004ec7e
mov dword [esp + 0x3c], 0x100
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esi], 0x30
mov dword [esp + 0x2c], 1
jmp 0x1004ea8b
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [eax], bl
jmp 0x1004ebdb
xor esi, esi
jmp 0x1004ec56
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov esi, 0xffffffff
jmp 0x1004ed1a
xor edi, edi
xor esi, esi
jmp 0x1004ed06
mov ecx, eax
jmp 0x1004ecbd
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 0x1004ece4
push dword [edx]
push ecx
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x1004ecfb
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.1004f100
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 0x1004edf9
mov edx, edi
lea esi, [edi + 0x1008]
jmp 0x1004ed5d
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 0x1004edc0
mov eax, dword [esi]
test eax, eax
jne 0x1004ed3c
mov eax, dword [edx + 0x100c]
mov edi, 0xffffffff
test al, 1
jne 0x1004ed4c
test byte [edx + 0x1004], 1
mov ecx, dword [edx]
jne 0x1004ed93
push ecx
call sub.msvcrt.dll_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1004eda3
inc dword [esp + 0x10]
mov edi, eax
jmp 0x1004ed4c
movzx edi, byte [ecx]
test edi, edi
je 0x1004edb0
inc ecx
inc dword [esp + 0x10]
mov dword [edx], ecx
jmp 0x1004ed4c
mov eax, dword [esp + 4]
or byte [eax + 0x100c], 1
jmp 0x1004ed4c
or eax, 1
mov dword [edx + 0x100c], eax
mov edi, 0xffffffff
jmp 0x1004ed4c
cmp edi, 0xffffffff
je 0x1004edf9
test byte [edx + 0x1004], 1
jne 0x1004ede4
push dword [edx]
push edi
call sub.msvcrt.dll_ungetc
add esp, 8
mov eax, 0xffffffff
lea esi, [esp + 0x10]
jmp 0x1004edf7
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 0x1004ed06
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 0x1004ed12
lea eax, [esp + 0x10]
mov ecx, esi
push 0
push eax
call fcn.1004f0b0
add esp, 8
jmp case.0x1004ba60.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 0x1004ee2e
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, esi
push eax
push 0
jmp 0x1004ed12
mov ecx, dword [esp + 0x20]
and ecx, 0x400
xor eax, eax
neg ecx
sbb eax, eax
mov esi, dword [esp + 0x18]
jmp 0x1004ee24
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
call fcn.1004f210
mov esi, 0xffffffff
jmp 0x1004ed1a
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x1004eeea
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 0x1004ee30
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 0x1004ee40
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x100c]
or eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0x100c], eax
jmp 0x1004ee19
cmp dword [esp + 8], 0xffffffff
je 0x1004ee19
lea eax, [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 1
jmp 0x1004ee42
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.0x1004ba60.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.0x1004ba60.38
mov ecx, 0xffffffff
test dword [esp + 0x20], 0x400
jne 0x1004eeea
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
mov word [eax + ecx*2 - 2], 0
jmp 0x1004eedd