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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10145b4a
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
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 0x10040260
test edi, edi
jl 0x10040260
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1003ee69
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 0x1003ee6f
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 0x1003eec8
mov eax, edi
mov ecx, esi
call fcn.1003d430
test eax, eax
je 0x1003eec8
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 0x1003eeeb
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 0x1003eef1
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 0x1003f016
mov eax, dword [ebx]
mov edx, dword [eax + 0x5d4]
call edx
test eax, eax
push edi
mov ecx, esi
je 0x1003ef57
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
call edx
test eax, 0x100
je 0x1003f029
lea eax, [ebp + 0x10]
push eax
mov eax, edi
mov ecx, esi
call fcn.1003e1c0
jmp 0x1003f029
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
call eax
test eax, 0x100
je 0x1003f029
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 0x1003ef8f
lea ecx, [ebp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.1003e1c0
cmp byte [ebp + 0x1c], 0
jne 0x1003efbb
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 0x1003efbb
lea ecx, [ebp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.1003e1c0
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 0x1003f029
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 0x1003f029
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 0x1003f029
lea ecx, [ebp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.1003e1c0
jmp 0x1003f029
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 0x1003f055
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 0x1003f05b
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 0x1003f465
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 0x1003f0b7
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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 0x1003f243
mov eax, dword [ebx]
mov edx, dword [eax + 0x29c]
push 0xffffffffffffffff
mov ecx, ebx
call edx
jmp 0x10040260
cmp dword [esp + 0x38], 0
je 0x1003f25d
mov eax, dword [ebx]
mov edx, dword [eax + 0x288]
push 0
mov ecx, ebx
call edx
jmp 0x10040260
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 0x1003f394
cmp dword [esp + 0x1c], esi
jl 0x1003f360
jmp 0x1003f300
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 0x1003f359
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 0x1003f34e
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f413
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f300
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 0x1003f43b
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x1003f436
mov edx, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
jmp 0x1003f439
cmp eax, 1
jne 0x1003f41e
cmp dword [esp + 0x1c], 0
jl 0x1003f360
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 0x1003f407
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 0x1003f3ef
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x1003f3fc
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f413
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f3a4
jmp 0x1003f360
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 0x1003f360
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
jmp 0x1003f363
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 0x1004024c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x1004024c
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, esi
call edx
test eax, 0x20000
je 0x1003f7c3
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 0x1003f4a9
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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 0x1003f230
cmp dword [esp + 0x38], 0
jne 0x1003f24a
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 0x1003f738
cmp dword [esp + 0x1c], esi
jl 0x1003f360
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 0x1003f72c
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 0x1003f721
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f413
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f6d3
jmp 0x1003f360
cmp eax, 1
jne 0x1003f41e
cmp dword [esp + 0x1c], 0
jl 0x1003f360
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 0x1003f7b7
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 0x1003f79b
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x1003f7ac
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f413
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003f750
jmp 0x1003f360
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, esi
call edx
test eax, 0x80000
je 0x1003fb23
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 0x1003f807
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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 0x1003f230
cmp dword [esp + 0x38], 0
jne 0x1003f24a
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 0x1003fa96
cmp dword [esp + 0x1c], esi
jl 0x1003f360
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 0x1003fa8a
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 0x1003fa7f
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f413
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003fa31
jmp 0x1003f360
cmp eax, 1
jne 0x1003f41e
cmp dword [esp + 0x1c], 0
jl 0x1003f360
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 0x1003fb17
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 0x1003fafb
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x1003fb0c
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1003f413
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x1003fab0
jmp 0x1003f360
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, esi
call edx
test eax, 0x200
je 0x1003fd1d
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.1000b880
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.1000b8a0
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.1000b8a0
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.10007ee0
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 0x1003fc90
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, eax
lea esi, [esp + 0x3c]
call fcn.10008090
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.1005b770
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 0x1003fd03
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.10007e50
jmp 0x10040260
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 0x1003fd4c
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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.1005b770
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 0x10040010
mov edx, dword [ebx]
mov eax, dword [edx + 0xd0]
push 0xffffffffffffffff
mov ecx, ebx
call eax
jmp 0x10040260
cmp dword [esp + 0x38], 0
je 0x1004002a
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
push 0
mov ecx, ebx
call eax
jmp 0x10040260
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 0x10040169
cmp dword [esp + 0x1c], esi
jl 0x10040135
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 0x1004012e
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 0x10040123
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x100401f2
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x100400d2
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 0x1004021a
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x10040215
mov edx, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
jmp 0x10040218
cmp eax, 1
jne 0x100401fd
cmp dword [esp + 0x1c], 0
jl 0x10040135
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 0x100401e6
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 0x100401ce
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
cmp eax, 1
jne 0x100401db
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x100401f2
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
sub dword [esp + 0x1c], 1
jns 0x10040180
jmp 0x10040135
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 0x10040135
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
jmp 0x10040138
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 0x1004023b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004024c
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.100036b0
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.1012d370
mov esp, ebp
pop ebp
ret 0x18