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

Disassembly:
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1001034b
cmp dword [esp + 4], 0
je 0x1001034b
cmp dword [ebx + 4], 0
jne 0x1000f5fe
mov edi, ebx
mov eax, dword [0x1008f830]
mov ecx, dword [0x1008e3c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1000f5b4
push 0x1008f830
call fcn.1003ab89
add esp, 4
cmp dword [0x1008f830], 0xffffffff
jne 0x1000f5b4
lea esi, [esp + 0xa0]
push esi
call dword [0x1008be6c]
mov eax, dword [esi + 0x1c]
mov dword [0x1008f82c], eax
push 0x1008f830
call fcn.1003ab3f
add esp, 4
mov ebx, dword [0x1008f82c]
mov ecx, dword [esp + 4]
mov eax, ecx
xor edx, edx
div ebx
sub ebx, edx
test edx, edx
cmove ebx, edx
add ebx, ecx
mov dword [edi + 8], ebx
call dword [0x1008be40]
cmp byte [esp + 0x50], 0
jne 0x1001027b
invalid
shr edx, 1
lea eax, [edx + edx*2]
cmp dword [esi + eax*4], ecx
jae 0x1000ffde
lea esi, [esi + eax*4]
add esi, 0xc
not edx
add edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
test edx, edx
jg 0x1000ffbe
jmp 0x1000ffe8
jne 0x1000ffd4
cmp dword [esi + eax*4 + 4], ebx
jb 0x1000ffc8
jmp 0x1000ffd4
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax*4]
cmp esi, eax
je 0x1001000b
mov eax, dword [esp + 8]
cmp dword [esi], eax
ja 0x1001000b
cmp dword [esi + 4], ebx
jae 0x1000f53c
lea ecx, [esp + 0xa0]
mov dword [ecx + 4], ebx
mov eax, dword [esp + 8]
mov dword [ecx], eax
mov ebx, ecx
push 0x14
call fcn.1001ca10
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax + 4], xmm0
mov dword [ebx + 8], eax
or byte [ecx + 0x53f289f9], cl
call fcn.1006b770
add esp, 4
mov esi, eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x1000f53c
push eax
call fcn.10025e90
add esp, 4
jmp 0x1000f53c
mov esi, eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0xa0]
mov dword [ecx], eax
mov dword [ecx + 4], 0
call fcn.1003a240
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
cmp byte [eax + 8], 0
je 0x10010588
lea ecx, [esp + 0x48]
call fcn.1006b8c0
mov dword [esp + 4], eax
mov eax, dword [0x1008f85c]
mov ecx, dword [0x1008e3c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1001059d
mov ecx, dword [0x1008f858]
test ecx, ecx
je 0x100103bd
lea eax, [esp + 0x7c]
mov edx, dword [esp + 8]
mov dword [eax], edx
mov edx, dword [esp + 4]
mov dword [eax + 4], edx
xor edx, edx
mov dword [eax + 8], edx
movaps xmm0, xmmword [0x1007e2e0]
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], eax
call dword [section..00cfg]
xor eax, eax
inc eax
push eax
lea edx, [esp + 0xa4]
push edx
push eax
push 0x2000
push ebx
xor eax, eax
push eax
push esi
call ecx
mov ebx, edi
mov dword [edi + 4], eax
test eax, eax
jne 0x1000f5fe
jmp 0x1001034b
mov eax, dword [esp + 4]
inc eax
mov ecx, esi
mov edx, ebx
mov dword [esp + 4], eax
push eax
push dword [esp + 0xc]
call fcn.1006b910
add esp, 8
test eax, eax
je 0x10010344
push 1
push 0x2000
push ebx
push eax
call dword [0x1008bf2c]
test eax, eax
jne 0x1000f5f9
mov ecx, esi
mov edx, ebx
push dword [esp + 4]
push dword [esp + 0xc]
call fcn.1006b910
add esp, 8
test eax, eax
je 0x10010344
push 1
push 0x2000
push ebx
push eax
call dword [0x1008bf2c]
test eax, eax
jne 0x1000f5f9
mov ecx, esi
mov edx, ebx
push dword [esp + 4]
push dword [esp + 0xc]
call fcn.1006b910
add esp, 8
test eax, eax
je 0x10010344
push 1
push 0x2000
push ebx
push eax
call dword [0x1008bf2c]
test eax, eax
jne 0x1000f5f9
mov ecx, esi
mov edx, ebx
push dword [esp + 4]
push dword [esp + 0xc]
call fcn.1006b910
add esp, 8
test eax, eax
je 0x10010344
push 1
push 0x2000
push ebx
push eax
call dword [0x1008bf2c]
test eax, eax
jne 0x1000f5f9
mov ecx, esi
mov edx, ebx
push dword [esp + 4]
push dword [esp + 0xc]
call fcn.1006b910
add esp, 8
test eax, eax
je 0x10010344
push 1
push 0x2000
push ebx
push eax
call dword [0x1008bf2c]
test eax, eax
jne 0x1000f5f9
mov ecx, esi
mov edx, ebx
push dword [esp + 4]
push dword [esp + 0xc]
call fcn.1006b910
add esp, 8
test eax, eax
je 0x10010344
push 1
push 0x2000
push ebx
push eax
call dword [0x1008bf2c]
test eax, eax
jne 0x1000f5f9
mov ecx, esi
mov edx, ebx
push dword [esp + 4]
push dword [esp + 0xc]
call fcn.1006b910
add esp, 8
test eax, eax
je 0x10010344
push 1
push 0x2000
push ebx
push eax
call dword [0x1008bf2c]
mov dword [0x1008f8f4], 0x1008371f
int3
push 0x1008f85c
call fcn.1003ab89
add esp, 4
cmp dword [0x1008f85c], 0xffffffff
jne 0x100102d6
call 0x1006bab0
push 0x1008f85c
call fcn.1003ab3f
add esp, 4
jmp 0x100102d6