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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x200
mov ecx, dword [esp + 0x214]
mov esi, dword [ecx]
mov bl, 1
test esi, esi
je 0x1005ad00
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005ad33
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1005ad51
cmp dword [ecx], 0
sete bl
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
je 0x1005ad8a
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005ad66
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1005ad7d
test bl, bl
jne 0x1005ad8e
mov eax, dword [esp + 0x228]
or byte [eax], 4
xor ebx, ebx
jmp 0x1005c06a
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x100c2744]
mov ecx, esi
call edi
mov ecx, dword [esp + 0x214]
cmp ax, 0xffff
jne 0x1005acfa
mov dword [ecx], 0
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
jne 0x1005ad0d
jmp 0x1005ad8a
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x100c2744]
mov ecx, esi
call edi
cmp ax, 0xffff
jne 0x1005ad1e
lea eax, [esp + 0x218]
mov dword [eax], 0
test bl, bl
jne 0x1005ad22
movzx ecx, byte [esp + 0x21c]
xorps xmm0, xmm0
movsd qword [esp + 0x38], xmm0
mov dword [esp + 0x40], 0
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
movsd qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
movsd qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
lea edi, [esp + 0x28]
lea eax, [esp + 0x44]
lea edx, [esp + 0x2c]
lea ebx, [esp + 0x18]
movzx ecx, cl
lea ebp, [esp + 0x66]
lea esi, [esp + 0x68]
push edi
push eax
push edx
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x78]
push eax
push ebp
push esi
push dword [esp + 0x240]
push ecx
call fcn.1005c900
add esp, 0x28
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x238]
mov eax, dword [esp + 0x234]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [esp + 0x200]
mov dword [esp + 0x50], eax
lea esi, [esp + 0x70]
mov dword [esp + 0x24], 0x100588d0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x214]
jmp 0x1005ae8d
mov ecx, ebp
lea eax, [esp + 0x218]
mov dword [eax], ecx
mov esi, dword [esp]
mov ecx, dword [esp + 0x10]
inc ecx
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp ecx, 4
je 0x1005bdde
mov ebp, dword [edi]
mov bl, 1
test ebp, ebp
mov dword [esp], esi
je 0x1005aeaf
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x1005aee0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1005aefb
cmp dword [edi], 0
sete bl
lea eax, [esp + 0x218]
mov ebp, dword [eax]
test ebp, ebp
je 0x1005af38
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x1005af10
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1005af2b
test bl, bl
jne 0x1005af42
jmp 0x1005bdde
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x100c2744]
mov ecx, ebp
call esi
mov esi, dword [esp]
cmp ax, 0xffff
jne 0x1005aea9
mov dword [edi], 0
lea eax, [esp + 0x218]
mov ebp, dword [eax]
test ebp, ebp
jne 0x1005aebc
jmp 0x1005af38
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x100c2744]
mov ecx, ebp
call esi
mov esi, dword [esp]
cmp ax, 0xffff
jne 0x1005aecd
lea eax, [esp + 0x218]
mov dword [eax], 0
xor ebp, ebp
test bl, bl
jne 0x1005bdde
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax + 0x68]
cmp eax, 4
ja case.default.0x1005af54
jmp dword [eax*4 + 0x1005c270]
cmp dword [esp + 0x10], 3
jne 0x1005b456
jmp 0x1005bdde
mov dword [esp + 8], 0
jmp 0x1005af86
add eax, 2
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov bl, 1
test esi, esi
je 0x1005afd4
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005afb0
movzx eax, word [eax]
jmp 0x1005afc1
mov eax, dword [esi]
mov ebp, dword [eax + 0x24]
mov ecx, ebp
call dword [0x100c2744]
mov ecx, esi
call ebp
cmp ax, 0xffff
je 0x1005b010
mov eax, dword [esp + 0x214]
cmp dword [eax], 0
sete bl
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
je 0x1005b03d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005aff0
movzx eax, word [eax]
jmp 0x1005b001
mov eax, dword [esi]
mov ebp, dword [eax + 0x24]
mov ecx, ebp
call dword [0x100c2744]
mov ecx, esi
call ebp
cmp ax, 0xffff
je 0x1005b030
test bl, bl
jne 0x1005b045
jmp 0x1005b30a
mov eax, dword [esp + 0x214]
mov dword [eax], 0
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
jne 0x1005afe1
jmp 0x1005b03d
lea eax, [esp + 0x218]
mov dword [eax], 0
test bl, bl
jne 0x1005b30a
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b060
movzx ebp, word [eax]
jmp 0x1005b073
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov ebp, eax
mov edi, dword [esp + 0x230]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100c2744]
movzx eax, bp
mov ecx, edi
push eax
push 4
call esi
test al, al
je 0x1005b100
mov edx, dword [esp + 0x238]
mov eax, dword [edx]
mov esi, dword [esp + 0x54]
cmp eax, esi
jne 0x1005b1c7
mov edi, dword [esp + 0x234]
mov eax, dword [edi]
sub esi, eax
sete cl
mov edx, esi
add esi, esi
test cl, 1
mov ecx, 2
cmovne esi, ecx
mov ebx, edx
cmp edx, 0x7fffffff
mov ecx, 0xffffffff
cmovae esi, ecx
cmp dword [edi + 4], 0x100588d0
je 0x1005b192
push esi
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1005b1a3
jmp 0x1005c15a
movzx eax, byte [esp + 0x38]
test al, 1
je 0x1005b120
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x1005b12a
jmp 0x1005b30a
shr eax, 1
test eax, eax
je 0x1005b30a
cmp dword [esp + 8], 0
je 0x1005b30a
cmp bp, word [esp + 0x64]
jne 0x1005b30a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jne 0x1005b202
mov ecx, dword [esp]
sub edx, ecx
sete al
lea esi, [edx + edx]
test al, 1
mov eax, 4
cmovne esi, eax
mov edi, edx
cmp edx, 0x7fffffff
mov eax, 0xffffffff
cmovae esi, eax
cmp dword [esp + 0x24], 0x100588d0
je 0x1005b1d9
push esi
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1005b1ea
jmp 0x1005c15a
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1005c15a
mov edi, dword [esp + 0x234]
mov dword [edi], eax
mov dword [edi + 4], fcn.100b4b08
mov ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x238]
mov dword [edx], ecx
and esi, 0xfffffffe
add esi, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], esi
lea ecx, [eax + 2]
mov dword [edx], ecx
mov word [eax], bp
inc dword [esp + 8]
jmp 0x1005b217
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1005c15a
mov ecx, edi
add ecx, eax
and esi, 0xfffffffc
add esi, eax
mov dword [esp + 0x24], fcn.100b4b08
mov dword [esp + 0x50], esi
mov dword [esp], eax
mov eax, dword [esp + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 8], 0
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x1005af80
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
jmp 0x1005af86
cmp dword [esp + 0x10], 2
jb 0x1005b339
cmp dword [esp + 0xc], 0
jne 0x1005b339
cmp dword [esp + 0x10], 2
sete al
cmp byte [esp + 0x6b], 0
setne cl
test dword [esp + 0x224], 0x200
jne 0x1005b5b3
and al, cl
jne 0x1005b5b3
mov dword [esp + 0xc], 0
jmp case.default.0x1005af54
movzx ecx, byte [esp + 0x2c]
mov edx, ecx
and dl, 1
je 0x1005b362
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1005b36e
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b68e
movzx eax, word [eax]
lea esi, [esp + 0x2e]
test dl, dl
je 0x1005b2c7
mov esi, dword [esp + 0x34]
cmp ax, word [esi]
jne 0x1005b564
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b773
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x1005b78e
cmp dword [esp + 0x10], 3
je 0x1005bdde
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b3c9
movzx esi, word [eax]
jmp 0x1005b3dc
mov esi, dword [esp]
cmp esi, dword [esp + 0x14]
je 0x1005ba9e
cmp dword [esp + 8], 0
je 0x1005ba9e
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x14], edx
je 0x1005b6fe
mov ecx, dword [esp + 0x14]
jmp 0x1005ba91
movzx edx, byte [esp + 0x18]
mov dh, dl
and dh, 1
mov esi, dword [esp + 0x20]
mov ebx, esi
lea eax, [esp + 0x1a]
cmove ebx, eax
mov edi, ebx
cmp dword [esp + 0x10], 0
jne 0x1005b5c8
jmp 0x1005b821
mov eax, ecx
shr eax, 1
test eax, eax
jne 0x1005b2aa
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
je 0x1005b577
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1005b583
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b747
movzx eax, word [eax]
lea ecx, [esp + 0x46]
test bl, bl
je 0x1005b3a7
mov ecx, dword [esp + 0x4c]
cmp ax, word [ecx]
jne 0x1005b6ba
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005ba1b
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x1005ba36
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov esi, eax
mov eax, dword [esp + 0x230]
mov eax, dword [eax]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x100c2744]
movzx eax, si
mov ecx, dword [esp + 0x230]
push eax
push 8
call ebx
test al, al
je 0x1005bfc6
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b41c
lea ecx, [eax + 2]
mov dword [esi + 0xc], ecx
movzx eax, word [eax]
jmp 0x1005b42d
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
movzx eax, ax
lea ecx, [esp + 0x58]
push eax
call fcn.100353e0
jmp 0x1005b456
lea ecx, [eax + 2]
mov dword [esi + 0xc], ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [esp + 0x58]
push eax
call fcn.100353e0
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x1005b48f
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b470
movzx eax, word [eax]
jmp 0x1005b483
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov bl, 1
cmp ax, 0xffff
je 0x1005b4d0
cmp dword [edi], 0
sete bl
test ebp, ebp
je 0x1005b4da
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x1005b4a0
movzx eax, word [eax]
jmp 0x1005b4b2
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x100c2744]
mov ecx, ebp
call esi
xor ecx, ecx
cmp ax, 0xffff
sete al
je 0x1005b4bf
mov ecx, ebp
mov ebp, ecx
cmp bl, al
jne 0x1005b4e9
jmp 0x1005ae6d
mov dword [edi], 0
test ebp, ebp
jne 0x1005b493
xor ebp, ebp
mov ecx, 0
test bl, bl
jne 0x1005ae6d
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b500
movzx esi, word [eax]
jmp 0x1005b513
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov esi, eax
mov edi, dword [esp + 0x230]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x100c2744]
movzx eax, si
mov ecx, edi
push eax
push 8
call ebx
mov edi, dword [esp + 0x214]
test al, al
je 0x1005ae6b
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x1005b440
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
jmp 0x1005b449
mov esi, dword [esp]
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
jne 0x1005b37e
mov eax, edx
shr eax, 1
test eax, eax
jne 0x1005b38a
test cl, 1
je 0x1005b6cb
mov eax, dword [esp + 0x30]
test dl, 1
jne 0x1005b6d9
shr dl, 1
movzx ecx, dl
test eax, eax
jne 0x1005b6e5
test ecx, ecx
jne 0x1005b6ed
jmp case.default.0x1005af54
movzx edx, byte [esp + 0x18]
test dl, 1
mov esi, dword [esp + 0x20]
mov ebx, esi
lea eax, [esp + 0x1a]
cmove ebx, eax
mov dh, dl
and dh, 1
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 1
ja 0x1005b687
mov eax, edx
shr al, 1
test dh, dh
mov ecx, esi
movzx eax, al
cmovne eax, dword [esp + 0x1c]
mov byte [esp + 8], dl
mov byte [esp + 7], dh
lea edx, [esp + 0x1a]
cmove ecx, edx
lea eax, [ecx + eax*2]
cmp ebx, eax
jne 0x1005b634
movzx edx, byte [esp + 8]
mov dh, byte [esp + 7]
jmp 0x1005b7bd
mov eax, dword [esp + 0x1c]
mov ecx, esi
add ebx, 2
lea eax, [ecx + eax*2]
cmp ebx, eax
je 0x1005b7bd
movzx edi, word [ebx]
mov eax, dword [esp + 0x230]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100c2744]
mov ecx, dword [esp + 0x230]
push edi
push 8
call esi
movzx edx, byte [esp + 0x18]
mov esi, dword [esp + 0x20]
mov dh, dl
test al, al
je 0x1005b7ba
and dh, 1
jne 0x1005b620
movzx eax, dl
shr eax, 1
lea ecx, [esp + 0x1a]
add ebx, 2
lea eax, [ecx + eax*2]
cmp ebx, eax
jne 0x1005b634
jmp 0x1005b7bd
mov edi, ebx
jmp 0x1005b821
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
movzx ecx, byte [esp + 0x2c]
mov edx, ecx
and dl, 1
lea esi, [esp + 0x2e]
test dl, dl
jne 0x1005b2c3
jmp 0x1005b2c7
movzx ecx, byte [esp + 0x2c]
mov esi, dword [esp]
test cl, 1
jne 0x1005b58c
shr cl, 1
movzx eax, cl
test dl, 1
je 0x1005b599
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x1005b5a6
test ecx, ecx
jne 0x1005bfc9
test eax, eax
mov eax, dword [esp + 0x22c]
setne byte [eax]
jmp case.default.0x1005af54
sub edx, esi
sete al
mov ecx, esi
lea esi, [edx + edx]
test al, 1
mov eax, 4
cmovne esi, eax
mov edi, edx
cmp edx, 0x7fffffff
mov eax, 0xffffffff
cmovae esi, eax
cmp dword [esp + 0x24], 0x100588d0
je 0x1005ba69
push esi
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1005ba7a
jmp 0x1005c16d
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
lea ecx, [esp + 0x46]
test bl, bl
jne 0x1005b3a3
jmp 0x1005b3a7
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
movzx ecx, byte [esp + 0x2c]
mov edx, ecx
and dl, 1
mov eax, dword [esp + 0x22c]
mov byte [eax], 0
test dl, dl
mov esi, dword [esp]
je 0x1005b7a5
mov eax, dword [esp + 0x30]
jmp 0x1005b7aa
shr cl, 1
movzx eax, cl
cmp eax, 2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
jmp 0x1005ba5d
and dh, 1
test dh, dh
mov edi, esi
lea eax, [esp + 0x1a]
cmove edi, eax
movzx eax, byte [esp + 0x58]
test al, 1
mov byte [esp + 8], dl
mov byte [esp + 7], dh
je 0x1005b7df
mov ecx, dword [esp + 0x5c]
jmp 0x1005b7e3
mov ecx, eax
shr ecx, 1
mov edx, ebx
sub edx, edi
sar edx, 1
cmp edx, ecx
ja 0x1005b818
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x5a]
test byte [esp + 0x6c], 1
je 0x1005b800
mov eax, dword [esp + 0x60]
lea eax, [eax + ecx*2]
add edx, edx
sub eax, edx
push edx
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x1005b818
mov edi, ebx
movzx edx, byte [esp + 8]
mov dh, byte [esp + 7]
shr dl, 1
test dh, dh
movzx eax, dl
cmovne eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1a]
cmove esi, ecx
lea eax, [esi + eax*2]
cmp edi, eax
jne 0x1005b876
mov esi, dword [esp]
test dword [esp + 0x224], 0x200
jne 0x1005b9eb
mov edi, dword [esp + 0x214]
jmp case.default.0x1005af54
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 2
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x1005b9da
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov bl, 1
test esi, esi
je 0x1005b8c8
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b8a0
movzx eax, word [eax]
jmp 0x1005b8b5
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
mov dword [esp + 8], ecx
call dword [0x100c2744]
mov ecx, esi
call dword [esp + 8]
cmp ax, 0xffff
je 0x1005b910
mov eax, dword [esp + 0x214]
cmp dword [eax], 0
sete bl
test ebp, ebp
je 0x1005b93d
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x1005b8e0
movzx eax, word [eax]
jmp 0x1005b8f2
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x100c2744]
mov ecx, ebp
call esi
cmp ax, 0xffff
je 0x1005b930
test bl, bl
jne 0x1005b947
jmp 0x1005b83b
mov eax, dword [esp + 0x214]
mov dword [eax], 0
test ebp, ebp
jne 0x1005b8cc
jmp 0x1005b93d
lea eax, [esp + 0x218]
mov dword [eax], 0
xor ebp, ebp
test bl, bl
jne 0x1005b9d7
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b960
movzx eax, word [eax]
jmp 0x1005b971
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
cmp ax, word [edi]
jne 0x1005b83b
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005b9a0
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x1005b9b1
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
movzx eax, byte [esp + 0x18]
test al, 1
mov esi, dword [esp]
jne 0x1005b860
shr eax, 1
lea ecx, [esp + 0x1a]
add edi, 2
lea eax, [ecx + eax*2]
cmp edi, eax
jne 0x1005b876
jmp 0x1005b9da
mov esi, dword [esp]
test dword [esp + 0x224], 0x200
je 0x1005b84f
movzx eax, byte [esp + 0x18]
test al, 1
je 0x1005b9fe
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x1005ba04
shr eax, 1
lea ecx, [esp + 0x1a]
lea eax, [ecx + eax*2]
cmp edi, eax
mov edi, dword [esp + 0x214]
je case.default.0x1005af54
jmp 0x1005bfc9
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
mov eax, dword [esp + 0x22c]
mov byte [eax], 1
test bl, bl
mov esi, dword [esp]
je 0x1005ba4d
mov eax, dword [esp + 0x48]
jmp 0x1005ba52
shr dl, 1
movzx eax, dl
cmp eax, 2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x44]
cmovae eax, ecx
mov dword [esp + 0xc], eax
jmp case.default.0x1005af54
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1005c16d
mov ecx, edi
add ecx, eax
and esi, 0xfffffffc
add esi, eax
mov dword [esp + 0x24], fcn.100b4b08
mov dword [esp + 0x50], esi
mov esi, eax
mov eax, dword [esp + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0x214]
jle 0x1005bbb1
mov dword [esp], esi
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x1005baf4
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bac8
movzx eax, word [eax]
jmp 0x1005bae0
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x100c2744]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
cmp ax, 0xffff
je 0x1005baee
cmp dword [edi], 0
sete bl
jmp 0x1005baf4
mov dword [edi], 0
mov esi, dword [esp]
lea eax, [esp + 0x218]
mov ebp, dword [eax]
test ebp, ebp
je 0x1005bb46
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x1005bb1e
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1005bb39
test bl, bl
jne 0x1005bb50
jmp 0x1005bfc9
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x100c2744]
mov ecx, ebp
call esi
mov esi, dword [esp]
cmp ax, 0xffff
jne 0x1005bb15
lea eax, [esp + 0x218]
mov dword [eax], 0
xor ebp, ebp
test bl, bl
jne 0x1005bfc9
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bb5f
movzx eax, word [eax]
jmp 0x1005bb70
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
cmp ax, word [esp + 0x66]
jne 0x1005bfc6
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bb8d
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x1005bb9e
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
cmp dword [esp + 0x28], 0
jg 0x1005bbda
lea eax, [esp + 0x218]
mov dword [eax], ebp
mov esi, dword [esp]
mov eax, dword [esp + 0x238]
mov eax, dword [eax]
mov ecx, dword [esp + 0x234]
cmp eax, dword [ecx]
jne case.default.0x1005af54
jmp 0x1005bfc9
add ecx, 2
mov dword [esi + 0xc], ecx
test eax, eax
jle 0x1005bba5
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x1005bc0f
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bbf0
movzx eax, word [eax]
jmp 0x1005bc03
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov bl, 1
cmp ax, 0xffff
je 0x1005bc50
cmp dword [edi], 0
sete bl
test ebp, ebp
je 0x1005bc5a
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x1005bc20
movzx eax, word [eax]
jmp 0x1005bc32
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x100c2744]
mov ecx, ebp
call esi
xor ecx, ecx
cmp ax, 0xffff
sete al
je 0x1005bc3f
mov ecx, ebp
mov ebp, ecx
cmp bl, al
jne 0x1005bc69
jmp 0x1005bfbd
mov dword [edi], 0
test ebp, ebp
jne 0x1005bc13
xor ebp, ebp
mov ecx, 0
test bl, bl
jne 0x1005bfbd
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bc80
movzx esi, word [eax]
jmp 0x1005bc93
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov esi, eax
mov edi, dword [esp + 0x230]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x100c2744]
movzx eax, si
mov ecx, edi
push eax
push 4
call ebx
mov edi, dword [esp + 0x214]
test al, al
je 0x1005bfbb
mov eax, dword [esp + 0x238]
mov ecx, dword [eax]
mov edx, dword [esp + 0x54]
cmp ecx, edx
je 0x1005bcf0
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bd83
movzx eax, word [eax]
mov esi, dword [esp + 0x238]
jmp 0x1005bd9d
mov eax, dword [esp + 0x234]
mov eax, dword [eax]
sub edx, eax
sete cl
mov esi, 2
test cl, 1
jne 0x1005bd0b
lea esi, [edx + edx]
mov ebx, edx
cmp edx, 0x7fffffff
mov ecx, 0xffffffff
cmovae esi, ecx
mov ecx, dword [esp + 0x234]
cmp dword [ecx + 4], 0x100588d0
je 0x1005bd3e
push esi
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1005bd4f
jmp 0x1005c15f
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x1005c15f
mov edx, dword [esp + 0x234]
mov dword [edx], eax
mov dword [edx + 4], fcn.100b4b08
mov ecx, ebx
add ecx, eax
mov eax, dword [esp + 0x238]
mov dword [eax], ecx
and esi, 0xfffffffe
add esi, dword [edx]
mov dword [esp + 0x54], esi
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x1005bcdf
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov esi, dword [esp + 0x238]
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov dword [esi], edx
mov word [ecx], ax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
mov esi, dword [edi]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 0x10]
jne 0x1005bbd0
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x100c2744]
mov ecx, esi
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x1005bbda
jmp 0x1005bba5
cmp dword [esp + 0xc], 0
mov dword [esp], esi
je 0x1005bf97
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx]
test al, 1
je 0x1005be04
mov eax, dword [ecx + 4]
cmp eax, 2
jae 0x1005be0f
jmp 0x1005bf97
shr eax, 1
cmp eax, 2
jb 0x1005bf97
mov eax, dword [esp + 0xc]
add eax, 2
mov dword [esp + 8], eax
mov ebp, 1
jmp 0x1005be46
mov eax, dword [ecx + 4]
mov esi, dword [esp]
mov edi, dword [esp + 0x214]
inc ebp
cmp ebp, eax
jae 0x1005bf97
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x1005be65
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005be90
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1005beae
cmp dword [edi], 0
sete bl
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
je 0x1005befb
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bed0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1005beee
test bl, bl
jne 0x1005bf03
jmp 0x1005bfc6
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x100c2744]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
cmp ax, 0xffff
jne 0x1005be5f
mov dword [edi], 0
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
jne 0x1005be76
jmp 0x1005befb
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x100c2744]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
cmp ax, 0xffff
jne 0x1005be87
lea eax, [esp + 0x218]
mov dword [eax], 0
test bl, bl
jne 0x1005bfc6
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bf20
movzx eax, word [eax]
jmp 0x1005bf38
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x100c2744]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
mov ecx, dword [esp + 0xc]
test byte [ecx], 1
mov ecx, dword [esp + 8]
mov esi, dword [esp]
je 0x1005bf4f
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
cmp ax, word [ecx + ebp*2]
jne 0x1005bfc9
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bf70
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x1005bf81
mov eax, dword [esi]
mov edi, dword [eax + 0x28]
mov ecx, edi
call dword [0x100c2744]
mov ecx, esi
call edi
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx]
test al, 1
jne 0x1005be30
shr eax, 1
jmp 0x1005be33
mov bl, 1
mov eax, dword [esp + 0x14]
cmp esi, eax
je 0x1005bfb7
movzx eax, byte [esp + 0x38]
test al, 1
je 0x1005c077
mov ecx, dword [esp + 0x3c]
jmp 0x1005c07b
mov esi, eax
jmp 0x1005bfd5
mov ecx, ebp
lea eax, [esp + 0x218]
mov dword [eax], ecx
mov esi, dword [esp]
mov eax, dword [esp + 0x228]
or byte [eax], 4
xor ebx, ebx
test byte [esp + 0x58], 1
jne 0x1005bffe
test byte [esp + 0x44], 1
jne 0x1005c011
test byte [esp + 0x2c], 1
jne 0x1005c024
test byte [esp + 0x18], 1
jne 0x1005c037
test byte [esp + 0x38], 1
jne 0x1005c04a
test esi, esi
jne 0x1005c05a
jmp 0x1005c06a
push dword [esp + 0x60]
call fcn.1002c850
add esp, 4
test byte [esp + 0x44], 1
je 0x1005bfe3
push dword [esp + 0x4c]
call fcn.1002c850
add esp, 4
test byte [esp + 0x2c], 1
je 0x1005bfea
push dword [esp + 0x34]
call fcn.1002c850
add esp, 4
test byte [esp + 0x18], 1
je 0x1005bff1
push dword [esp + 0x20]
call fcn.1002c850
add esp, 4
test byte [esp + 0x38], 1
je 0x1005bff8
push dword [esp + 0x40]
call fcn.1002c850
add esp, 4
test esi, esi
je 0x1005c06a
mov ecx, dword [esp + 0x24]
call dword [0x100c2744]
push esi
call ecx
add esp, 4
mov eax, ebx
add esp, 0x200
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
shr ecx, 1
mov edx, dword [esp + 0x14]
sub edx, esi
cmp edx, 5
jl 0x1005bfd5
test ecx, ecx
je 0x1005bfd5
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffffc
cmp ecx, esi
jbe 0x1005c0d6
lea eax, [esi + 4]
mov edi, ecx
nop word cs:[eax + eax]
mov edx, dword [eax - 4]
mov esi, dword [ecx]
mov dword [eax - 4], esi
mov dword [ecx], edx
add ecx, 0xfffffffc
lea edx, [eax + 4]
cmp eax, ecx
mov eax, edx
jb 0x1005c0b0
movzx ecx, byte [esp + 0x38]
test cl, 1
je 0x1005c0e2
mov eax, dword [esp + 0x40]
jmp 0x1005c0e6
mov edi, ecx
test al, 1
je 0x1005c0f8
mov eax, dword [esp + 0x40]
jmp 0x1005c0fc
lea eax, [esp + 0x39]
mov esi, dword [esp]
cmp edi, esi
jbe 0x1005c0fc
test cl, 1
je 0x1005c121
mov ecx, dword [esp + 0x3c]
jmp 0x1005c123
lea eax, [esp + 0x39]
movzx eax, byte [eax]
mov ecx, eax
dec cl
cmp cl, 0x7d
ja 0x1005c11a
mov ecx, dword [edi]
dec ecx
cmp ecx, eax
mov bl, 1
jae 0x1005bfc9
jmp 0x1005bfd5
mov bl, 1
jmp 0x1005bfd5
shr ecx, 1
add ecx, eax
mov ebp, ecx
mov edx, esi
jmp 0x1005c145
mov ecx, ebp
sub ecx, eax
xor ebx, ebx
cmp ecx, 2
setge bl
add eax, ebx
add edx, 4
cmp edx, edi
jae 0x1005c0fc
movzx ecx, byte [eax]
mov ebx, ecx
dec bl
cmp bl, 0x7d
ja 0x1005c130
cmp dword [edx], ecx
je 0x1005c130
jmp 0x1005bfc9
call fcn.10084730
lea eax, [esp + 0x218]
mov dword [eax], ebp
call fcn.10084730
call fcn.10084730
push eax
call fcn.10028f1b
mov edi, eax
jmp 0x1005c1c6
test byte [esp + 0x58], 1
jne 0x1005c1f2
test byte [esp + 0x44], 1
jne 0x1005c205
test byte [esp + 0x2c], 1
jne 0x1005c218
test byte [esp + 0x18], 1
jne 0x1005c22b
test byte [esp + 0x38], 1
jne 0x1005c23e
mov esi, dword [esp]
test esi, esi
jne 0x1005c251
jmp 0x1005c261
push dword [esp + 0x60]
call fcn.1002c850
add esp, 4
test byte [esp + 0x44], 1
je 0x1005c1d4
push dword [esp + 0x4c]
call fcn.1002c850
add esp, 4
test byte [esp + 0x2c], 1
je 0x1005c1db
push dword [esp + 0x34]
call fcn.1002c850
add esp, 4
test byte [esp + 0x18], 1
je 0x1005c1e2
push dword [esp + 0x20]
call fcn.1002c850
add esp, 4
test byte [esp + 0x38], 1
je 0x1005c1e9
push dword [esp + 0x40]
call fcn.1002c850
add esp, 4
mov esi, dword [esp]
test esi, esi
je 0x1005c261
mov ecx, dword [esp + 0x24]
call dword [0x100c2744]
push esi
call ecx
add esp, 4
push edi
call fcn.10081b20
push eax
call fcn.10028f1b
nop dword [eax]
pop ebx
scasd eax, dword es:[edi]
add eax, 0x5b2e910
adc byte [edx - 0x4e], al
add eax, 0x5b28e10
adc byte [ebx - 0x51], ch
add eax, 0xcccccc10
int3