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

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0xd0
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [ebp + 0x42b1c]
push eax
push edx
call fcn.10016870
add esp, 8
xor ecx, ecx
test eax, eax
jbe 0x100400fb
mov ebx, dword [esp + 0xe4]
lea ecx, [eax + eax*8 - 9]
lea ecx, [ebx + ecx*4 + 0x28]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jmp 0x1003faa5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
sub eax, 1
je 0x1003fdef
sub eax, 1
push 1
push edi
je 0x1003fbbd
mov edx, dword [ecx]
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x1c], edx
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.10016540
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x18
push ecx
push 3
push 1
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003ee30
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
push 2
lea eax, [esp + 0xb4]
push edi
push eax
mov dword [esp + 0x1c], edx
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.10016540
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x18
push ecx
push 3
push 1
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003ee30
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 8]
push 3
lea eax, [esp + 0x8c]
push edi
push eax
mov dword [esp + 0x1c], edx
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.10016540
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x18
push ecx
push 3
push 1
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003ee30
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
push 4
mov dword [esp + 0x14], edx
push edi
lea eax, [esp + 0xd0]
push eax
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.10016540
mov ecx, dword [ebx + 0x14]
add esp, 0x18
push ecx
push 3
push 1
jmp 0x1003fdd9
cmp dword [ecx + 0xc], 0
jne 0x1003fcd8
mov ecx, dword [ecx]
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x1c], ecx
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.10016540
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push edx
mov edx, dword [eax]
push 3
push 3
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003ee30
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 4]
push 2
lea edx, [esp + 0xbc]
push edi
push edx
mov dword [esp + 0x1c], ecx
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.10016540
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push edx
mov edx, dword [eax]
push 3
push 3
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003ee30
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push 3
lea edx, [esp + 0x9c]
push edi
push edx
mov dword [esp + 0x1c], ecx
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.10016540
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push edx
mov edx, dword [eax]
push 3
push 3
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003ee30
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 4
mov dword [esp + 0x14], ecx
push edi
lea edx, [esp + 0xe0]
push edx
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.10016540
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push edx
mov edx, dword [eax]
push 3
push 3
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003ee30
jmp 0x1003ff1d
mov eax, dword [ecx]
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0x1c], eax
call fcn.10016540
mov edx, dword [eax]
push esi
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.10016540
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x18
push ecx
push 3
push 4
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003ee30
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
push 2
lea eax, [esp + 0xc4]
push edi
push eax
mov dword [esp + 0x1c], edx
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.10016540
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x18
push ecx
push 3
push 4
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003ee30
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 8]
push 3
lea eax, [esp + 0xac]
push edi
push eax
mov dword [esp + 0x1c], edx
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.10016540
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x18
push ecx
push 3
push 4
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003ee30
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
push 4
mov dword [esp + 0x14], edx
push edi
lea eax, [esp + 0xd8]
push eax
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.10016540
mov ecx, dword [ebx + 0x14]
add esp, 0x18
push ecx
push 3
push 4
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003ee30
jmp 0x1003ff1d
mov edx, dword [ebx + 0x14]
mov eax, dword [ecx]
push edx
push 0xc
push 2
push ecx
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
push 1
lea ecx, [esp + 0x38]
push edi
push ecx
mov dword [esp + 0x2c], eax
call fcn.10016540
mov edx, dword [eax]
push esi
push edx
lea eax, [esp + 0x50]
push eax
call fcn.10016540
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
add esp, 0x18
push 2
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003eeb0
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx - 4]
push 0xc
push 2
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
push 2
lea edx, [esp + 0x48]
push edi
push edx
mov dword [esp + 0x2c], ecx
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.10016540
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
add esp, 0x18
push 2
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003eeb0
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
push ecx
push 0xc
push 2
push ecx
mov ecx, esp
mov dword [ecx], eax
mov edx, dword [edx + 0xc]
push 3
lea eax, [esp + 0x58]
push edi
push eax
mov dword [esp + 0x2c], edx
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.10016540
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
add esp, 0x18
push 2
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003eeb0
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx - 0xc]
push 0xc
push 2
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
push 4
lea edx, [esp + 0x68]
push edi
push edx
mov dword [esp + 0x2c], ecx
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.10016540
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
add esp, 0x18
push 2
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003eeb0
mov ecx, dword [esp + 0x14]
test byte [ecx + 8], 2
je 0x100400e4
mov edx, dword [ebx + 0x14]
push edx
push 0x11
push 5
push ecx
mov eax, esp
push 1
mov dword [eax], 0x1007b1b0
lea eax, [esp + 0x78]
push edi
push eax
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.10016540
push 1
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa0]
push edi
push eax
call fcn.10016540
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.10016540
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov eax, dword [eax]
add esp, 0x30
push 7
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003eeb0
mov ecx, dword [ebx + 0x14]
push ecx
push 0x11
push 5
push ecx
mov eax, esp
push 2
lea edx, [esp + 0x98]
push edi
push edx
mov dword [eax], 0x1007b1b0
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.10016540
push 2
lea edx, [esp + 0xc0]
push edi
push edx
mov dword [esp + 0x44], eax
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.10016540
mov edx, dword [esp + 0x50]
mov ecx, dword [edx]
mov edx, dword [eax]
add esp, 0x30
push 7
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003eeb0
mov eax, dword [ebx + 0x14]
push eax
push 0x11
push 5
push ecx
mov eax, esp
push 3
lea ecx, [esp + 0xb8]
push edi
push ecx
mov dword [eax], 0x1007b1b0
call fcn.10016540
mov edx, dword [eax]
push esi
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.10016540
push 3
lea ecx, [esp + 0xe0]
push edi
push ecx
mov dword [esp + 0x44], eax
call fcn.10016540
mov edx, dword [eax]
push esi
push edx
lea eax, [esp + 0xf8]
push eax
call fcn.10016540
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov eax, dword [eax]
add esp, 0x30
push 7
push edx
push 7
push eax
mov ecx, ebp
call fcn.1003eeb0
mov ecx, dword [ebx + 0x14]
push ecx
push 0x11
push 5
push ecx
mov eax, esp
push 4
lea edx, [esp + 0xd8]
push edi
push edx
mov dword [eax], 0x1007b1b0
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.10016540
push 4
lea edx, [esp + 0x100]
push edi
push edx
mov dword [esp + 0x44], eax
call fcn.10016540
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x118]
push ecx
call fcn.10016540
mov edx, dword [esp + 0x50]
mov ecx, dword [edx]
mov edx, dword [eax]
add esp, 0x30
push 7
push ecx
push 7
push edx
mov ecx, ebp
call fcn.1003eeb0
sub dword [esp + 0x14], 0x24
add esi, 4
sub dword [esp + 0x18], 1
jne 0x1003faa1
mov ecx, dword [esp + 0x1c]
neg ecx
add ecx, ecx
pop edi
add ecx, ecx
add dword [ebp + 0x42b1c], ecx
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 8