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

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
mov eax, dword [esi + 0x60]
inc eax
test eax, eax
jle 0x1007f893
xor ebx, ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x114]
mov edx, dword [esi + 8]
push ecx
lea ecx, [eax + ebx + 0xe4]
push edx
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0x60]
add esp, 0xc
inc edi
add ebx, 0xf0
inc edx
cmp edi, edx
jl 0x1007f866
mov eax, dword [esi + 0x114]
push eax
call fcn.10083cf0
mov eax, dword [esi + 0x60]
add esp, 4
test eax, eax
jle 0x1007f908
xor edi, edi
test eax, eax
jle 0x1007f8f9
mov ecx, dword [esi + 0x124]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x1007f8f1
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
add eax, 0x38
push ecx
push eax
call fcn.1007ccd0
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x44]
push ecx
call fcn.10083cf0
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
push eax
call fcn.10083cf0
add esp, 0x14
mov eax, dword [esi + 0x60]
inc edi
cmp edi, eax
jl 0x1007f8af
mov ecx, dword [esi + 0x124]
push ecx
call fcn.10083cf0
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 8]
push edx
add ecx, 0x38
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 8]
push edx
add ecx, 0x38
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xc0]
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xcc]
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xe4]
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x128]
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add esp, 0x48
lea ecx, [esi + 0x134]
push edx
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x140]
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xfc]
push eax
push ecx
call fcn.1007ccd0
mov al, byte [esi + 0x18]
add esp, 0x24
test al, 1
je 0x1007f9fa
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xa8]
push eax
push ecx
call fcn.1007ccd0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xb4]
push eax
push ecx
call fcn.1007ccd0
add esp, 0x18
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x44]
push eax
call fcn.10083cf0
mov ecx, dword [esi + 0xa0]
push ecx
call fcn.10083cf0
mov edx, dword [esi + 0xa4]
mov eax, dword [edx + 0x44]
push eax
call fcn.10083cf0
mov ecx, dword [esi + 0xa4]
push ecx
call fcn.10083cf0
mov al, byte [esi + 0x18]
add esp, 0x10
test al, 4
je 0x1007fa49
mov edx, dword [esi + 0x98]
push edx
call fcn.10083cf0
add esp, 4
test byte [esi + 0x18], 8
je 0x1007fa5e
mov eax, dword [esi + 0x9c]
push eax
call fcn.10083cf0
add esp, 4
mov eax, dword [esi + 0x90]
test eax, eax
jle 0x1007fac6
mov edx, dword [esi + 0x248]
xor ecx, ecx
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x10305
test eax, eax
mov dword [esp + 0x10], edx
jle 0x1007fab7
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + edi*8]
lea eax, [eax + edi*8]
test ecx, ecx
je 0x1007faac
mov eax, dword [eax + 4]
lea edx, [esp + 0xc]
push 0
push edx
push 2
push eax
call ecx
add esp, 0x10
mov eax, dword [esi + 0x90]
inc edi
cmp edi, eax
jl 0x1007fa8a
mov ecx, dword [esi + 0x94]
push ecx
call fcn.10083cf0
add esp, 4
mov edx, dword [esi + 0x78]
push edx
call fcn.10083cf0
mov eax, dword [esi + 0x88]
add esp, 4
test eax, eax
jbe 0x1007faeb
mov eax, dword [esi + 0x8c]
push eax
call fcn.10083cf0
add esp, 4
mov eax, dword [esi + 0x240]
test eax, eax
jle 0x1007fb9b
mov ebx, 1
mov edi, 0x48
mov eax, dword [esi + 0x240]
mov ecx, dword [esi + 0x250]
cmp eax, ecx
mov edx, eax
jl 0x1007fb17
mov edx, ecx
cmp edx, 1
jge 0x1007fb23
mov eax, 1
jmp 0x1007fb29
cmp eax, ecx
jl 0x1007fb29
mov eax, ecx
cmp ebx, eax
jge 0x1007fb56
mov ecx, dword [esi + 0x244]
mov edx, dword [edi + ecx + 0x3c]
push edx
call fcn.10083cf0
mov eax, dword [esi + 0x244]
mov ecx, dword [edi + eax + 0x40]
push ecx
call fcn.10083cf0
add esp, 8
inc ebx
add edi, 0x48
jmp 0x1007fb03
mov edx, dword [esi + 0x244]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x1007fb6c
push eax
call fcn.10083cf0
add esp, 4
mov eax, dword [esi + 0x240]
xor edi, edi
test eax, eax
jle 0x1007fb9b
xor ebx, ebx
mov eax, dword [esi + 0x244]
mov ecx, dword [ebx + eax + 0x1c]
push ecx
call fcn.10083cf0
mov eax, dword [esi + 0x240]
add esp, 4
inc edi
add ebx, 0x48
cmp edi, eax
jl 0x1007fb7a
mov edx, dword [esi + 0x244]
push edx
call fcn.10083cf0
push esi
call fcn.10083cf0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret