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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1014bb0a
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x104]
mov dword [esp + 0x24], ecx
mov ecx, esi
mov dword [esp + 0x1c], esi
call eax
mov edi, dword [ebp + 8]
cmp edi, eax
jge 0x100403b0
test edi, edi
jl 0x100403b0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1003efb9
mov ecx, dword [esi + 0x50]
sub ecx, eax
mov eax, 0x86d90545
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003efbf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x4c]
mov eax, edi
imul eax, eax, 0x1e60
mov edx, dword [eax + ecx + 0xa90]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push ecx
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xdc]
push edi
mov ecx, esi
call edx
and eax, 0xffff
mov dword [esp + 0x38], eax
jne 0x1003f018
mov eax, edi
mov ecx, esi
call fcn.1003d580
test eax, eax
je 0x1003f018
mov eax, dword [ebx]
mov edx, dword [eax + 0x128]
push 1
mov ecx, ebx
mov dword [ebp + 0x10], 0
call edx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1003f03b
mov ecx, dword [esi + 0x50]
sub ecx, eax
mov eax, 0x86d90545
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003f041
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx + 0xa84]
mov eax, dword [ebx]
mov edx, dword [eax + 0x50c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x5bc]
mov ecx, ebx
call edx
test eax, eax
mov ecx, ebx
jne 0x1003f166
mov eax, dword [ebx]
mov edx, dword [eax + 0x5d4]
call edx
test eax, eax
push edi
mov ecx, esi
je 0x1003f0a7
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
call edx
test eax, 0x100
je 0x1003f179
lea eax, [ebp + 0x10]
push eax
mov eax, edi
mov ecx, esi
call fcn.1003e310
jmp 0x1003f179
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
call eax
test eax, 0x100
je 0x1003f179
mov edx, dword [ebx]
mov eax, dword [edx + 0x124]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
test eax, eax
je 0x1003f0df
lea ecx, [ebp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.1003e310
cmp byte [ebp + 0x1c], 0
jne 0x1003f10b
mov edx, dword [ebx]
mov eax, dword [edx + 0x124]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x48]
call eax
test eax, eax
je 0x1003f10b
lea ecx, [ebp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.1003e310
mov edx, dword [ebx]
mov eax, dword [edx + 0x124]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x5c]
call eax
test eax, eax
jne 0x1003f179
mov edx, dword [ebx]
mov eax, dword [edx + 0x124]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
test ax, ax
je 0x1003f179
mov edx, dword [ebx]
mov eax, dword [edx + 0x124]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
test eax, eax
jne 0x1003f179
lea ecx, [ebp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.1003e310
jmp 0x1003f179
mov edx, dword [ebx]
mov eax, dword [edx + 0x128]
push 1
mov dword [ebp + 0x10], 0
call eax
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x8c], ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1003f1a5
mov ecx, dword [esi + 0x50]
sub ecx, eax
mov eax, 0x86d90545
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003f1ab
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax + 0x1e58]
mov edx, dword [ebx]
mov edx, dword [edx + 0x5c8]
push eax
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, esi
call edx
test al, 0x20
je 0x1003f5b5
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax + 0x288]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push edi
mov ecx, esi
call edx
test eax, eax
je 0x1003f207
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2a0]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov eax, dword [eax + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
add edi, 0x2c0
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov edx, dword [eax + 0x7c]
push ecx
mov ecx, esi
add edi, 0x2c4
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov edi, dword [ebx]
mov edx, dword [edx + 0xa4]
push 0
push 0
push eax
mov ecx, esi
add edi, 0x2a8
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov eax, dword [ebx]
mov edi, dword [esp + 0x18]
add eax, 0x28c
add esi, 0x58
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x29c
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x290
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x280
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x284
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x298
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x294
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [eax]
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x5e4]
push 0
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10c]
push 1
mov ecx, ebx
call edx
cmp dword [ebp + 0x10], 0
jne 0x1003f393
mov eax, dword [ebx]
mov edx, dword [eax + 0x29c]
push 0xffffffffffffffff
mov ecx, ebx
call edx
jmp 0x100403b0
cmp dword [esp + 0x38], 0
je 0x1003f3ad
mov eax, dword [ebx]
mov edx, dword [eax + 0x288]
push 0
mov ecx, ebx
call edx
jmp 0x100403b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edi, dword [esp + 0x20]
mov esi, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xe0]
add esp, 4
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xe4]
push eax
push ecx
mov ecx, edi
call edx
xor esi, esi
push 0x428
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x48], esi
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x8b0], eax
mov edx, dword [edi]
mov eax, dword [edx + 0xe0]
mov ecx, edi
call eax
sub eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
jne 0x1003f4e4
cmp dword [esp + 0x1c], esi
jl 0x1003f4b0
jmp 0x1003f450
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
mov edx, dword [edi]
mov edx, dword [edx + 0xec]
push 0
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x1003f4a9
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x1003f49e
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f563
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f450
or eax, 0xffffffff
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x29c]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1003f58b
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x1003f586
mov edx, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
jmp 0x1003f589
cmp eax, 1
jne 0x1003f56e
cmp dword [esp + 0x1c], 0
jl 0x1003f4b0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xec]
push 0
push ecx
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x1003f557
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
je 0x1003f53f
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x1003f54c
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f563
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f4f4
jmp 0x1003f4b0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x1003f4b0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
jmp 0x1003f4b3
or eax, 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x2ac]
lea ecx, [esp + 0x260]
push ecx
mov ecx, ebx
call edx
test esi, esi
je 0x1004039c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x1004039c
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, esi
call edx
test eax, 0x20000
je 0x1003f913
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax + 0x288]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push edi
mov ecx, esi
call edx
test eax, eax
je 0x1003f5f9
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2a0]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov eax, dword [eax + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
add edi, 0x2c0
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov edx, dword [eax + 0x7c]
push ecx
mov ecx, esi
add edi, 0x2c4
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov edi, dword [ebx]
mov edx, dword [edx + 0xa4]
push 0
push 0
push eax
mov ecx, esi
add edi, 0x2a8
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov eax, dword [ebx]
mov edi, dword [esp + 0x18]
add eax, 0x28c
add esi, 0x58
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x29c
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x290
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x280
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x284
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x298
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x294
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [eax]
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x5e4]
push 0
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10c]
push 1
mov ecx, ebx
call edx
cmp dword [ebp + 0x10], 0
je 0x1003f380
cmp dword [esp + 0x38], 0
jne 0x1003f39a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edi, dword [esp + 0x20]
mov esi, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xe0]
add esp, 4
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xe4]
push eax
push ecx
mov ecx, edi
call edx
xor esi, esi
push 0x428
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x48], esi
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x8b0], 1
mov edx, dword [edi]
mov eax, dword [edx + 0xe0]
mov ecx, edi
call eax
sub eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
jne 0x1003f888
cmp dword [esp + 0x1c], esi
jl 0x1003f4b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
mov edx, dword [edi]
mov edx, dword [edx + 0xec]
push 0
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x1003f87c
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x1003f871
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f563
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f823
jmp 0x1003f4b0
cmp eax, 1
jne 0x1003f56e
cmp dword [esp + 0x1c], 0
jl 0x1003f4b0
lea esp, [esp]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xec]
push 0
push ecx
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x1003f907
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
je 0x1003f8eb
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x1003f8fc
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f563
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f8a0
jmp 0x1003f4b0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, esi
call edx
test eax, 0x80000
je 0x1003fc73
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax + 0x288]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push edi
mov ecx, esi
call edx
test eax, eax
je 0x1003f957
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2a0]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov eax, dword [eax + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
add edi, 0x2c0
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov edx, dword [eax + 0x7c]
push ecx
mov ecx, esi
add edi, 0x2c4
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov edi, dword [ebx]
mov edx, dword [edx + 0xa4]
push 0
push 0
push eax
mov ecx, esi
add edi, 0x2a8
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov eax, dword [ebx]
mov edi, dword [esp + 0x18]
add eax, 0x28c
add esi, 0x58
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x29c
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x290
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x280
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x284
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x298
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x294
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [eax]
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x5e4]
push 0
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10c]
push 1
mov ecx, ebx
call edx
cmp dword [ebp + 0x10], 0
je 0x1003f380
cmp dword [esp + 0x38], 0
jne 0x1003f39a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edi, dword [esp + 0x20]
mov esi, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xe0]
add esp, 4
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xe4]
push eax
push ecx
mov ecx, edi
call edx
xor esi, esi
push 0x428
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x48], esi
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x8b0], 2
mov edx, dword [edi]
mov eax, dword [edx + 0xe0]
mov ecx, edi
call eax
sub eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
jne 0x1003fbe6
cmp dword [esp + 0x1c], esi
jl 0x1003f4b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
mov edx, dword [edi]
mov edx, dword [edx + 0xec]
push 0
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x1003fbda
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x1003fbcf
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f563
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003fb81
jmp 0x1003f4b0
cmp eax, 1
jne 0x1003f56e
cmp dword [esp + 0x1c], 0
jl 0x1003f4b0
lea ebx, [ebx]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xec]
push 0
push ecx
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x1003fc67
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
je 0x1003fc4b
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x1003fc5c
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f563
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003fc00
jmp 0x1003f4b0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, esi
call edx
test eax, 0x200
je 0x1003fe6d
xor esi, esi
push 0x2c
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x48], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
call fcn.1000b9e0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
xor eax, eax
mov dword [esp + 0x8b0], 3
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
call fcn.1000ba50
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
xor eax, eax
mov byte [esp + 0x8b0], 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call fcn.1000ba50
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], esi
push 0x34
lea ecx, [esp + 0x90]
push esi
push ecx
mov byte [esp + 0x8bc], 5
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x208
lea edx, [esp + 0xc4]
push esi
push edx
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
push 0x38
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], eax
mov dword [esp + 0x2e0], eax
mov dword [esp + 0x2e4], eax
mov dword [esp + 0x2e8], eax
lea eax, [esp + 0x2ec]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x308]
push ecx
call fcn.100080e0
mov dword [esp + 0x8b0], 6
mov edx, dword [ebx]
xor eax, eax
mov dword [esp + 0x320], eax
mov dword [esp + 0x324], eax
mov dword [esp + 0x328], eax
mov eax, dword [edx + 0x11c]
mov ecx, ebx
call eax
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x1003fde0
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, eax
lea esi, [esp + 0x3c]
call fcn.10008290
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esi, 0x58
call fcn.1005b850
push 0x1d88
push eax
lea ecx, [ebx + 0x1840]
push ecx
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov esi, dword [ebx]
mov edx, dword [edx + 0xa4]
add esp, 0xc
push 0
push 0
push eax
add esi, 0x330
call edx
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
cmp dword [esp + 0x14], 0
je 0x1003fe53
mov edx, dword [ebx]
mov eax, dword [edx + 0x11c]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x8b4], 0xffffffff
call fcn.10008050
jmp 0x100403b0
mov edx, dword [ebx]
mov eax, dword [ebp + 0x10]
mov edx, dword [edx + 0xbc]
push eax
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push edi
mov ecx, esi
call edx
test eax, eax
je 0x1003fe9c
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax + 0xd8]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov eax, dword [eax + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
add edi, 0xe8
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebx]
mov edx, dword [eax + 0x7c]
push ecx
mov ecx, esi
add edi, 0xec
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov edi, dword [ebx]
mov edx, dword [edx + 0xa4]
push 0
push 0
push 0
push eax
mov ecx, esi
add edi, 0xe0
call edx
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
mov eax, dword [ebx]
mov edi, dword [esp + 0x18]
add eax, 0xc0
add esi, 0x58
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xd0
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xc4
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xac
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
shr ecx, 4
and ecx, 1
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xa0
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
shr ecx, 1
and ecx, 1
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xb0
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
shr ecx, 5
and ecx, 1
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0x9c
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
and ecx, 1
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xa8
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
shr ecx, 3
and ecx, 1
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xa4
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
shr ecx, 2
and ecx, 1
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xb8
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xcc
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xb4
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
shr ecx, 6
and ecx, 0x3fffff
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xc8
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [eax]
mov ecx, ebx
call edx
mov eax, dword [ebx]
add eax, 0xd4
mov dword [esp + 0x14], eax
call fcn.1005b850
mov eax, dword [eax + 0x30]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx]
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xf4
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x1964]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov eax, dword [ebx]
add eax, 0xf8
mov dword [esp + 0x14], eax
call fcn.1005b850
mov ecx, dword [eax + 0x1968]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x5e4]
push 0
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x10c]
push 1
mov ecx, ebx
call eax
cmp dword [ebp + 0x10], 0
jne 0x10040160
mov edx, dword [ebx]
mov eax, dword [edx + 0xd0]
push 0xffffffffffffffff
mov ecx, ebx
call eax
jmp 0x100403b0
cmp dword [esp + 0x38], 0
je 0x1004017a
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
push 0
mov ecx, ebx
call eax
jmp 0x100403b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edi, dword [esp + 0x20]
mov esi, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xe0]
add esp, 4
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xe4]
push eax
push ecx
mov ecx, edi
call edx
xor esi, esi
push 0x428
lea eax, [esp + 0x474]
push esi
push eax
mov dword [esp + 0x478], esi
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x8b0], 7
mov edx, dword [edi]
mov eax, dword [edx + 0xe0]
mov ecx, edi
call eax
sub eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
jne 0x100402b9
cmp dword [esp + 0x1c], esi
jl 0x10040285
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
mov edx, dword [edi]
mov edx, dword [edx + 0xec]
push 0
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x1004027e
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x46c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x10040273
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x10040342
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x10040222
or eax, 0xffffffff
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0xd0]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004036a
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x10040365
mov edx, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
jmp 0x10040368
cmp eax, 1
jne 0x1004034d
cmp dword [esp + 0x1c], 0
jl 0x10040285
lea esp, [esp]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xec]
push 0
push ecx
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x10040336
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x46c]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
je 0x1004031e
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x1004032b
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x10040342
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x100402d0
jmp 0x10040285
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x10040285
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
jmp 0x10040288
or eax, 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xe4]
lea ecx, [esp + 0x690]
push ecx
mov ecx, ebx
call edx
test esi, esi
je 0x1004038b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004039c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ebx, [esp + 0x28]
mov dword [esp + 0x8b0], 0xffffffff
call fcn.100036e0
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.10130e50
mov esp, ebp
pop ebp
ret 0x18