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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x5c
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x58], edx
mov ebp, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x5c]
mov edx, dword [ecx + 0x60]
mov ecx, ebp
mov eax, dword [esp + 0x74]
imul ecx, ebx
cmp eax, dword [esp + 0x78]
je 0x1008fdb3
mov esi, dword [esp + 0x78]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x70]
cmp ecx, 0x7d0
mov esi, dword [esi + 0x50]
jle 0x1008fa67
test esi, esi
je 0x1008fa6f
test ebp, ebp
jle 0x1008fac6
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebp
mov ebp, eax
mov dword [esp + 0xc], 1
mov ecx, edi
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov edx, ebp
mov eax, dword [esp + 0x70]
call fcn.1008fdd0
mov edx, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0x14]
lea edi, [edi + ebx*8]
lea ebp, [ebp + edx*8]
jl 0x1008fa32
mov ebp, dword [esp + 0x14]
jmp 0x1008fac6
test esi, esi
jne 0x1008fb56
mov ecx, dword [esp + 0x70]
cmp ebx, 3
mov ecx, dword [ecx + 0x54]
jne 0x1008fa8f
push ecx
push 1
push ebp
push dword [esp + 0x30]
push edx
push eax
call fcn.1017a970
add esp, 0x18
jmp 0x1008fac6
cmp ebx, 5
jne 0x1008faa8
push ecx
push 1
push ebp
push dword [esp + 0x30]
push edx
push eax
call fcn.1017aab0
add esp, 0x18
jmp 0x1008fac6
push dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
push dword [ecx + 0x80]
push ebp
push ebx
push dword [esp + 0x34]
push edx
push eax
call fcn.1017ad40
add esp, 0x1c
mov eax, dword [esp + 0x70]
cmp ebp, 2
mov eax, dword [eax + 0x6c]
je 0x1008fd85
cmp ebp, 3
je 0x1008fb37
cmp ebp, 4
jne 0x1008faf6
push eax
push 1
push ebx
push dword [esp + 0x84]
push dword [esp + 0x34]
call fcn.1017af20
jmp 0x1008fb4b
cmp ebp, 5
jne 0x1008fb11
push eax
push 1
push ebx
push dword [esp + 0x84]
push dword [esp + 0x34]
call fcn.1017b180
jmp 0x1008fb4b
push dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x78]
push dword [eax + 0x68]
push ebx
push ebp
push dword [esp + 0x8c]
push dword [esp + 0x3c]
call fcn.1017b6b0
add esp, 0x78
pop ebp
pop ebx
pop edi
pop esi
ret
push eax
push 1
push ebx
push dword [esp + 0x84]
push dword [esp + 0x34]
call fcn.1017ba10
add esp, 0x14
add esp, 0x5c
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebx, dword [esp + 0x24]
js 0x1008fb4e
mov dword [esp + 0x34], eax
mov ecx, esi
mov edx, dword [esp + 0x70]
lea eax, [esi + esi*2]
mov dword [esp + 0x50], eax
cmp esi, ecx
mov ebp, dword [edx + eax*8 + 0x5c]
mov dword [esp + 0x48], ebp
mov edi, dword [edx + eax*8 + 0x58]
mov ebp, dword [edx + eax*8 + 0x64]
mov eax, dword [edx + eax*8 + 0x6c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x48]
jne 0x1008fc6b
cmp ebp, 3
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax*8 + 0x60]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 0x54]
mov dword [esp + 0x40], edx
jne 0x1008fbd2
push dword [esp + 0x40]
push dword [esp + 0x58]
push edi
push dword [esp + 0x30]
push dword [esp + 0x54]
push dword [esp + 0x48]
call fcn.1017a970
add esp, 0x18
jmp 0x1008fc6b
cmp ebp, 5
jne 0x1008fbf6
push dword [esp + 0x40]
push dword [esp + 0x58]
push edi
push dword [esp + 0x30]
push dword [esp + 0x54]
push dword [esp + 0x48]
call fcn.1017aab0
add esp, 0x18
jmp 0x1008fc6b
mov edx, dword [esp + 0x70]
cmp dword [esp + 0x54], 0
mov ecx, dword [edx + eax*8 + 0x80]
jle 0x1008fc6b
mov eax, edi
imul eax, ebp
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov esi, edx
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
push dword [esp + 0x58]
push dword [esp + 0x3c]
push edi
mov ecx, dword [eax + ebx*4]
push ebp
push esi
push dword [esp + 0x58]
lea eax, [edx + ecx*8]
push eax
call fcn.1017ad40
add esp, 0x1c
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, dword [esp + 0x54]
lea esi, [esi + eax*8]
jl 0x1008fc2f
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x1008fc73
mov ebx, dword [esp + 0x78]
cmp edi, 2
je 0x1008fd9e
cmp edi, 3
je 0x1008fd5c
cmp edi, 4
jne 0x1008fca2
push dword [esp + 0x4c]
push dword [esp + 0x58]
push ebp
push ebx
push dword [esp + 0x34]
call fcn.1017af20
jmp 0x1008fd6f
cmp edi, 5
jne 0x1008fcbf
push dword [esp + 0x4c]
push dword [esp + 0x58]
push ebp
push ebx
push dword [esp + 0x34]
call fcn.1017b180
jmp 0x1008fd6f
mov edx, dword [esp + 0x50]
test esi, esi
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + edx*8 + 0x68]
je 0x1008fd3c
cmp dword [esp + 0x54], 0
jle 0x1008fd72
mov eax, edi
xor edx, edx
imul eax, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov esi, edx
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
lea edx, [ebx + esi]
push dword [esp + 0x58]
push edi
push dword [esp + 0x34]
push dword [esp + 0x54]
push dword [esp + 0x38]
push edx
lea ecx, [eax + esi]
push ecx
call fcn.1017b6b0
add esp, 0x1c
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, dword [esp + 0x54]
lea esi, [esi + eax*8]
jl 0x1008fd03
mov esi, dword [esp + 0x18]
jmp 0x1008fd72
push dword [esp + 0x58]
push dword [esp + 0x50]
push ecx
push ebp
push edi
push dword [esp + 0x8c]
push dword [esp + 0x3c]
call fcn.1017b6b0
add esp, 0x1c
jmp 0x1008fd72
push dword [esp + 0x4c]
push dword [esp + 0x58]
push ebp
push ebx
push dword [esp + 0x34]
call fcn.1017ba10
add esp, 0x14
dec esi
js 0x1008fb4e
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x50]
jmp 0x1008fb62
push eax
push 1
push ebx
push dword [esp + 0x84]
push dword [esp + 0x34]
call fcn.1017bc20
jmp 0x1008fb4b
push dword [esp + 0x4c]
push dword [esp + 0x58]
push ebp
push ebx
push dword [esp + 0x34]
call fcn.1017bc20
jmp 0x1008fd6f
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], esi
lea esi, [esi + ecx*8]
mov edi, esi
neg edi
and edi, 0x3f
add esi, edi
mov dword [esp + 0x58], esi
jmp 0x1008fa07