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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a636b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x3c0], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x3d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x354]
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x64], edx
call fcn.1008e4f2
xor ebx, ebx
mov dword [esp + 0x3e0], ebx
push ebx
lea edi, [esp + 0x68]
call fcn.1008c3d0
mov byte [esp + 0x3e0], 1
mov edx, dword [esp + 0x1c]
push 1
mov ecx, edi
push ecx
push edx
lea eax, [esp + 0x360]
call fcn.1008e571
test al, al
jne 0x1005b072
mov byte [esp + 0x3e0], bl
mov ecx, edi
call fcn.1008c668
mov dword [esp + 0x3e0], 0xffffffff
lea eax, [esp + 0x354]
push eax
call fcn.1005c390
xor al, al
jmp 0x1005c368
mov edi, dword [esp + 0x14]
call fcn.10047c00
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.10053b70
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
lea eax, [esp + 0x244]
push eax
call fcn.10037db0
mov byte [esp + 0x3e0], 2
push ebx
lea edi, [esp + 0x28]
call fcn.1008c3d0
mov byte [esp + 0x3e0], 3
push ebx
lea edi, [esp + 0x140]
call fcn.1008c3d0
mov byte [esp + 0x3e0], 4
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x68]
call fcn.1008d2b3
mov byte [esp + 0x3e0], 5
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
mov dword [esp + 0x18], ebx
je 0x1005b34b
mov edi, dword [esp + 0x4c]
mov edx, edi
sub edx, ecx
mov dword [esp + 0x1c], edx
mov eax, 0x92492493
imul edx
add edx, dword [esp + 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
je 0x1005b34b
mov dword [esp + 0x20], ebx
jmp 0x1005b138
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x1005b157
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x1005b161
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
add ecx, edx
push ebx
push ecx
lea ecx, [esp + 0x170]
mov dword [esp + 0x188], 0xf
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
call fcn.10007580
mov byte [esp + 0x3e0], 6
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x168]
push ecx
lea edx, [esp + 0xd4]
push edx
lea ebx, [esp + 0x70]
call fcn.1008d270
mov byte [esp + 0x3e0], 7
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008c6df
mov byte [esp + 0x3e0], 6
lea ecx, [esp + 0xcc]
call fcn.1008c668
lea ecx, [esp + 0x24]
call fcn.1008d3b6
test al, al
jne 0x1005b2f2
call fcn.1008d57d
test al, al
jne 0x1005b2f2
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.1008c775
mov byte [esp + 0x3e0], 8
mov eax, dword [esp + 0x168]
mov ebx, 0x10
cmp dword [esp + 0x17c], ebx
jae 0x1005b234
lea eax, [esp + 0x168]
mov edi, dword [esp + 0x178]
push eax
lea esi, [esp + 0x248]
call fcn.1006d210
mov eax, dword [esp + 0x18c]
add esp, 4
cmp dword [esp + 0x19c], ebx
jae 0x1005b262
lea eax, [esp + 0x188]
mov edi, dword [esp + 0x198]
push eax
lea esi, [esp + 0x264]
call fcn.1006d210
mov eax, dword [esp + 0x44]
add esp, 4
push eax
lea ecx, [esp + 0x248]
call fcn.10053540
mov esi, eax
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [esp + 0x24c]
mov ecx, esi
call fcn.100076e0
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x1c]
lea eax, [esp + 0x268]
call fcn.100076e0
mov byte [esp + 0x3e0], 6
cmp dword [esp + 0x19c], 0x10
jb 0x1005b2d3
mov ecx, dword [esp + 0x188]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x40]
mov dword [esp + 0x19c], 0xf
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
jmp 0x1005b2f4
xor ebx, ebx
mov byte [esp + 0x3e0], 5
cmp dword [esp + 0x17c], 0x10
jb 0x1005b316
mov edx, dword [esp + 0x168]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 0x1c
add eax, 1
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
xor ebx, ebx
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x18], eax
jb 0x1005b130
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edi, dword [esp + 0x14]
push eax
push esi
push ecx
push esi
lea eax, [edi + 0x28]
push eax
call fcn.10055550
push 0x100ac898
lea ecx, [esp + 0x68]
push ecx
call fcn.1008d04d
push eax
lea edx, [esp + 0x28]
push edx
call fcn.1008c6df
lea ecx, [esp + 0x24]
call fcn.1008d3b6
test al, al
jne 0x1005b3f8
lea eax, [esp + 0x9c]
push eax
push ecx
call fcn.1008c775
mov byte [esp + 0x3e0], 9
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x1005b3ad
mov eax, dword [eax + 4]
jmp 0x1005b3b0
add eax, 4
push eax
call dword [sym.imp.MSVCR80.dll_atol]
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x3e0], 5
cmp dword [esp + 0xb4], esi
jb 0x1005b3dd
mov edx, dword [esp + 0xa0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jmp 0x1005b3ff
mov dword [edi], ebx
mov esi, 0x10
push 0x100acd30
lea eax, [esp + 0x68]
push eax
call fcn.1008d04d
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.1008c6df
mov eax, 7
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1b4], ebx
mov word [esp + 0x1a4], bx
mov byte [esp + 0x3e0], 0xa
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d0], ebx
mov word [esp + 0x1c0], bx
mov byte [esp + 0x3e0], 0xb
push str.version
lea edx, [esp + 0x68]
push edx
call fcn.1008d04d
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008c6df
lea ecx, [esp + 0x24]
call fcn.1008d3b6
test al, al
jne 0x1005b511
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.1008c775
mov byte [esp + 0x3e0], 0xc
cmp dword [esp + 0x17c], esi
mov eax, dword [esp + 0x168]
jae 0x1005b4b6
lea eax, [esp + 0x168]
mov edi, dword [esp + 0x178]
push eax
lea esi, [esp + 0x1a4]
call fcn.1006d210
add esp, 4
mov byte [esp + 0x3e0], 0xb
cmp dword [esp + 0x17c], 0x10
jb 0x1005b4ef
mov eax, dword [esp + 0x168]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov esi, 0x10
push str.fp_version
lea ecx, [esp + 0x68]
push ecx
call fcn.1008d04d
push eax
lea edx, [esp + 0x28]
push edx
call fcn.1008c6df
lea ecx, [esp + 0x24]
call fcn.1008d3b6
test al, al
jne 0x1005b5c4
lea eax, [esp + 0x164]
push eax
push ecx
call fcn.1008c775
mov byte [esp + 0x3e0], 0xd
cmp dword [esp + 0x17c], esi
mov eax, dword [esp + 0x168]
jae 0x1005b569
lea eax, [esp + 0x168]
mov edi, dword [esp + 0x178]
push eax
lea esi, [esp + 0x1c0]
call fcn.1006d210
add esp, 4
mov byte [esp + 0x3e0], 0xb
cmp dword [esp + 0x17c], 0x10
jb 0x1005b5a2
mov edx, dword [esp + 0x168]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov esi, 0x10
push 0x100acd48
lea eax, [esp + 0x68]
push eax
call fcn.1008d04d
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.1008c6df
push str.status
lea edx, [esp + 0x68]
push edx
call fcn.1008d04d
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008c6df
lea ecx, [esp + 0x24]
call fcn.1008d3b6
test al, al
jne 0x1005b737
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.1008c775
mov byte [esp + 0x3e0], 0xe
cmp dword [esp + 0x17c], esi
mov eax, dword [esp + 0x168]
jae 0x1005b63a
lea eax, [esp + 0x168]
push 0x100abea0
push eax
call dword [sym.imp.MSVCR80.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1005b693
mov dword [edi + 0x24], 1
mov byte [esp + 0x3e0], 0xb
cmp dword [esp + 0x17c], esi
jb 0x1005b675
mov eax, dword [esp + 0x168]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
jmp 0x1005b73e
mov dword [edi + 0x24], 4
mov byte [esp + 0x3e0], 0xb
cmp dword [esp + 0x17c], esi
jb 0x1005b6bb
mov ecx, dword [esp + 0x168]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov byte [esp + 0x3e0], 0xa
mov edi, 8
cmp dword [esp + 0x1d4], edi
jb 0x1005b6fa
mov edx, dword [esp + 0x1c0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov word [esp + 0x1c0], bx
mov byte [esp + 0x3e0], 5
cmp dword [esp + 0x1b8], edi
jb 0x1005c2b4
mov eax, dword [esp + 0x1a4]
push eax
jmp 0x1005c2ac
mov dword [edi + 0x24], 4
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov byte [esp + 0x3e0], 0xf
push str.forms
lea edx, [esp + 0x68]
push edx
call fcn.1008d04d
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008c6df
lea ecx, [esp + 0x24]
call fcn.1008d57d
test al, al
je 0x1005c1cb
lea ecx, [esp + 0x54]
push ecx
call fcn.1005cfc0
mov byte [esp + 0x3e0], 0x10
push ebx
lea edi, [esp + 0xd0]
call fcn.1008c3d0
mov byte [esp + 0x3e0], 0x11
lea edx, [esp + 0x27c]
push edx
call fcn.10037db0
mov byte [esp + 0x3e0], 0x12
lea eax, [esp + 0x34]
push eax
call fcn.100534d0
mov byte [esp + 0x3e0], 0x13
xor esi, esi
lea eax, [esp + 0x24]
mov dword [esp + 0x40], esi
call fcn.1008ce33
lea ecx, [esp + 0x2b4]
push ecx
mov dword [esp + 0x20], eax
call fcn.100567d0
mov byte [esp + 0x3e0], 0x14
lea edx, [esp + 0x1f4]
push edx
call fcn.10047780
mov byte [esp + 0x3e0], 0x15
lea eax, [esp + 0x324]
push eax
call fcn.1004ad30
mov byte [esp + 0x3e0], 0x16
mov edi, dword [esp + 0x80]
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x10]
lea ecx, [esp + 0x340]
call fcn.100076e0
push ecx
mov ecx, dword [edi + 0xf4]
cmp ecx, ebx
mov eax, esp
mov dword [esp + 0x80], esp
mov dword [eax], ecx
je 0x1005b85b
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x3e4], 0x17
mov byte [esp + 0x3e4], 0x16
lea edi, [esp + 0x328]
call fcn.10037490
cmp dword [esp + 0x1c], ebx
jbe 0x1005c141
push esi
lea ecx, [esp + 0x28]
push ecx
call fcn.1008ce99
mov edi, eax
mov ecx, edi
mov dword [esp + 0x7c], edi
call fcn.1008d3b6
test al, al
jne 0x1005c130
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x38]
call fcn.10053b70
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov dword [eax], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x184]
push ecx
mov ecx, edi
mov dword [eax + 8], eax
call fcn.1008d2b3
mov byte [esp + 0x3e0], 0x18
mov ecx, dword [esp + 0x188]
cmp ecx, ebx
mov edi, dword [esp + 0x18c]
jne 0x1005b8f9
mov dword [esp + 0x20], ebx
jmp 0x1005b914
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
jbe 0x1005bb4e
mov dword [esp + 0x18], ebx
jmp 0x1005b93e
mov edi, dword [esp + 0x18c]
mov ecx, dword [esp + 0x188]
cmp ecx, ebx
je 0x1005b95f
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x1005b973
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x18c]
mov ecx, dword [esp + 0x188]
cmp ecx, ebx
mov esi, dword [esp + 0x18]
mov edx, dword [ecx + esi + 0x14]
mov dword [esp + 0xc8], edx
je 0x1005b9a1
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x1005b9ae
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x188]
cmp dword [ecx + esi + 0x18], 0x10
jb 0x1005b9bb
mov ecx, dword [ecx + esi + 4]
jmp 0x1005b9bf
lea ecx, [ecx + esi + 4]
mov edi, dword [esp + 0xc8]
push ecx
lea esi, [esp + 0x280]
call fcn.1006d210
mov esi, dword [esp + 0x18c]
add esp, 4
cmp esi, ebx
je 0x1005ba03
mov ecx, dword [esp + 0x18c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x1005ba10
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x188]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
lea ecx, [esp + 0x13c]
push ecx
add eax, esi
push eax
lea edx, [esp + 0x16c]
push edx
call fcn.1008d270
mov byte [esp + 0x3e0], 0x19
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.1008c6df
mov bl, 0x18
mov byte [esp + 0x3e0], bl
lea ecx, [esp + 0x164]
call fcn.1008c668
lea ecx, [esp + 0xcc]
call fcn.1008d3b6
test al, al
jne 0x1005bb32
lea ecx, [esp + 0x1d8]
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.1008c775
mov byte [esp + 0x3e0], 0x1a
cmp dword [esp + 0x1f0], 0x10
mov eax, dword [esp + 0x1dc]
jae 0x1005baa4
lea eax, [esp + 0x1dc]
mov edi, dword [esp + 0x1ec]
push eax
lea esi, [esp + 0x29c]
call fcn.1006d210
add esp, 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x280]
call fcn.10053540
mov esi, eax
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x284]
mov ecx, esi
call fcn.100076e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
lea eax, [esp + 0x2a0]
call fcn.100076e0
mov byte [esp + 0x3e0], bl
cmp dword [esp + 0x1f0], 0x10
jb 0x1005bb14
mov ecx, dword [esp + 0x1dc]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x1f0], 0xf
mov dword [esp + 0x1ec], 0
mov byte [esp + 0x1dc], 0
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 0x1c
add eax, 1
xor ebx, ebx
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jb 0x1005b930
mov edx, dword [esp + 0x38]
push 2
mov edi, 7
push 0x100ac850
lea esi, [esp + 0xf0]
mov dword [esp + 0x158], edx
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
call fcn.10011cd0
mov byte [esp + 0x3e0], 0x1b
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x38]
push ecx
mov eax, esi
call fcn.1005cf20
mov byte [esp + 0x3e0], 0x18
cmp dword [esp + 0x100], 8
jb 0x1005bbc2
mov edx, dword [esp + 0xec]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push edi
push 0x100acd54
lea esi, [esp + 0x10c]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
call fcn.10011cd0
mov byte [esp + 0x3e0], 0x1c
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x38]
push ecx
mov eax, esi
call fcn.1005cf20
mov byte [esp + 0x3e0], 0x18
cmp dword [esp + 0x11c], 8
jb 0x1005bc3e
mov edx, dword [esp + 0x108]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 4
push 0x100acd64
lea esi, [esp + 0x128]
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], bx
call fcn.10011cd0
mov byte [esp + 0x3e0], 0x1d
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x38]
push ecx
mov eax, esi
call fcn.1005cf20
mov byte [esp + 0x3e0], 0x18
cmp dword [esp + 0x138], 8
jb 0x1005bcbb
mov edx, dword [esp + 0x124]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 3
push 0x100ac840
lea esi, [esp + 0xa4]
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], bx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
call fcn.10011cd0
mov byte [esp + 0x3e0], 0x1e
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x38]
push ecx
mov eax, esi
call fcn.1005cf20
mov byte [esp + 0x3e0], 0x18
cmp dword [esp + 0xb4], 8
jb 0x1005bd38
mov edx, dword [esp + 0xa0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x34]
cmp eax, dword [esp + 0x74]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
je 0x1005bd5e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x150]
cmp esi, dword [esp + 0x78]
je 0x1005c0bb
lea ecx, [esp + 0x34]
cmp ecx, dword [esp + 0x94]
je 0x1005bd82
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x98]
je 0x1005c0bb
mov edi, dword [esp + 0xc0]
lea edx, [esp + 0x34]
cmp edx, edi
je 0x1005bda4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0xc4]
je 0x1005c0bb
lea eax, [esp + 0x34]
cmp eax, dword [esp + 0xe0]
je 0x1005bdc4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0xe4]
je 0x1005c0bb
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x58]
call fcn.1005d850
mov eax, dword [esp + 0x58]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], ebx
mov dword [eax], eax
mov eax, dword [esp + 0x58]
push ebx
mov dword [eax + 8], eax
push 0x100aab60
lea esi, [esp + 0x204]
mov dword [esp + 0x1fc], ebx
mov dword [esp + 0x200], ebx
call fcn.10011cd0
push ebx
push 0x100aab60
lea esi, [esp + 0x220]
call fcn.10011cd0
lea ebx, [esp + 0x234]
call fcn.10053450
test edi, edi
jne 0x1005be42
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0xc4]
cmp esi, dword [edi + 4]
jne 0x1005be54
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x94]
test ebx, ebx
jne 0x1005be65
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x98]
cmp edi, dword [ebx + 4]
jne 0x1005be77
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [esp + 0x1f4]
push eax
add esi, 0x44
push esi
lea ecx, [edi + 0x44]
lea edx, [esp + 0x32c]
call fcn.100622a0
test eax, eax
jne 0x1005c076
cmp dword [esp + 0x23c], eax
je 0x1005c076
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x1005beb5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x78]
cmp edi, dword [ebx + 4]
jne 0x1005bec4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [edi + 0x5c], 8
jb 0x1005becf
mov eax, dword [edi + 0x48]
jmp 0x1005bed2
lea eax, [edi + 0x48]
call fcn.1006ab50
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x238]
lea ecx, [esp + 0x234]
mov dword [esp + 0x1f8], edx
mov ebx, dword [eax]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x158], eax
jmp 0x1005bf10
lea ecx, [esp + 0x234]
cmp ecx, dword [esp + 0xb8]
je 0x1005bf26
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x158], ebx
je 0x1005c076
lea edi, [esp + 0x2b4]
call fcn.10056770
mov esi, dword [esp + 0xb8]
test esi, esi
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x1005bf52
call edi
cmp ebx, dword [esi + 4]
jne 0x1005bf59
call edi
cmp dword [ebx + 0x54], 0
jne 0x1005bf79
cmp ebx, dword [esi + 4]
jne 0x1005bf66
call edi
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x40]
lea eax, [esp + 0x204]
call fcn.100076e0
cmp ebx, dword [esi + 4]
jne 0x1005bf80
call edi
cmp dword [ebx + 0x38], 0
jne 0x1005bfa0
cmp ebx, dword [esi + 4]
jne 0x1005bf8d
call edi
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x24]
lea eax, [esp + 0x220]
call fcn.100076e0
cmp ebx, dword [esi + 4]
jne 0x1005bfa7
call edi
lea edx, [esp + 0x2b4]
push edx
lea eax, [ebx + 8]
push eax
call fcn.10056bd0
add esp, 8
cmp dword [esp + 0x2d0], 0
je 0x1005c068
mov eax, dword [esp + 0x314]
test eax, eax
je 0x1005c068
mov ecx, dword [esp + 0x318]
sub ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x1005c068
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
cmp esi, dword [ecx + 4]
jne 0x1005c008
call edi
cmp dword [esi + 0x5c], 8
jb 0x1005c013
mov esi, dword [esi + 0x48]
jmp 0x1005c016
add esi, 0x48
push esi
call dword [sym.imp.MSVCR80.dll__wtoi64]
mov dword [esp + 0x2bc], edx
add esp, 4
lea edx, [esp + 0x2b4]
push edx
lea esi, [esp + 0x88]
mov dword [esp + 0x2b8], eax
call fcn.10058090
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c0]
call fcn.1005d030
mov esi, eax
lea eax, [esp + 0x2b4]
call fcn.1005a760
mov esi, dword [esp + 0xb8]
cmp ebx, dword [esi + 4]
jne 0x1005c06f
call edi
mov ebx, dword [ebx]
jmp 0x1005bf10
cmp dword [esp + 0x5c], 0
je 0x1005c0b9
mov ecx, dword [esp + 0x60]
push ecx
lea ecx, [esp + 0x21c]
call fcn.1005d150
mov edi, eax
lea edx, [esp + 0x54]
cmp edi, edx
je 0x1005c0b9
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push edi
push ecx
push edi
lea eax, [esp + 0x16c]
push eax
call fcn.1005d6f0
lea ebx, [esp + 0x54]
mov eax, edi
call fcn.1005d7c0
xor ebx, ebx
mov byte [esp + 0x3e0], 0x16
mov eax, dword [esp + 0x188]
cmp eax, ebx
je 0x1005c117
mov edi, dword [esp + 0x18c]
cmp eax, edi
je 0x1005c10e
lea esi, [eax + 0x18]
lea esp, [esp]
cmp dword [esi], 0x10
jb 0x1005c0f1
mov eax, dword [esi - 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x1005c0e0
mov eax, dword [esp + 0x188]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x40]
mov dword [esp + 0x188], ebx
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x190], ebx
add esi, 1
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x40], esi
jb 0x1005b881
mov byte [esp + 0x3e0], 0x15
lea edx, [esp + 0x324]
push edx
call fcn.1004adb0
mov byte [esp + 0x3e0], 0x14
lea eax, [esp + 0x1f4]
push eax
call fcn.10047930
mov byte [esp + 0x3e0], 0x13
lea ecx, [esp + 0x2b4]
push ecx
call fcn.100559f0
mov byte [esp + 0x3e0], 0x12
lea eax, [esp + 0x34]
call fcn.10053bf0
mov byte [esp + 0x3e0], 0x11
lea edx, [esp + 0x27c]
push edx
call fcn.1001b200
mov byte [esp + 0x3e0], 0x10
lea ecx, [esp + 0xcc]
call fcn.1008c668
mov byte [esp + 0x3e0], 0xf
lea eax, [esp + 0x54]
call fcn.1005d8d0
mov edi, dword [esp + 0x80]
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
je 0x1005c201
cmp dword [edi + 0xf8], 0xb
mov eax, dword [ecx]
jne 0x1005c1e9
mov edx, dword [eax + 0x38]
jmp 0x1005c1ec
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
push ebx
lea edx, [esp + 0x88]
push edx
call eax
mov byte [esp + 0x3e0], 0xb
mov edi, dword [esp + 0x88]
cmp edi, ebx
je 0x1005c23d
mov esi, dword [esp + 0x8c]
cmp edi, esi
je 0x1005c234
nop
push edi
call fcn.100559f0
add edi, 0x70
cmp edi, esi
jne 0x1005c220
mov edi, dword [esp + 0x88]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov byte [esp + 0x3e0], 0xa
mov edi, 8
cmp dword [esp + 0x1d4], edi
jb 0x1005c278
mov ecx, dword [esp + 0x1c0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov word [esp + 0x1c0], bx
mov byte [esp + 0x3e0], 5
cmp dword [esp + 0x1b8], edi
jb 0x1005c2b4
mov edx, dword [esp + 0x1a4]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov word [esp + 0x1a4], bx
mov byte [esp + 0x3e0], 4
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x1005c2f8
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x4c]
push ecx
call fcn.1005f090
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x3e0], 3
lea ecx, [esp + 0x13c]
call fcn.1008c668
mov byte [esp + 0x3e0], 2
lea ecx, [esp + 0x24]
call fcn.1008c668
mov byte [esp + 0x3e0], 1
lea eax, [esp + 0x244]
push eax
call fcn.1001b200
mov byte [esp + 0x3e0], bl
lea ecx, [esp + 0x64]
call fcn.1008c668
mov dword [esp + 0x3e0], 0xffffffff
lea ecx, [esp + 0x354]
push ecx
call fcn.1005c390
mov al, 1
mov ecx, dword [esp + 0x3d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret 0x10