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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100259c6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
fld qword [ebp + 0x18]
mov ebx, dword [ebp + 8]
fadd qword [0x10026768]
push 0xc
fmul st(0), st(0)
fstp qword [0x1002ecd0]
mov eax, dword [esi + 4]
mov dword [0x1002eccc], eax
mov dword [0x1002ecc0], ebx
mov ecx, dword [esi + 0x10]
mov dword [0x1002ecc8], ecx
mov dword [0x1002ec40], 0
call fcn.10005810
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
xor eax, eax
mov dword [esp + 0x80], eax
cmp edi, eax
je 0x1000bb27
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
xor ecx, ecx
inc eax
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10005810
add esp, 4
mov dword [edi + 8], eax
jmp 0x1000bb29
xor edi, edi
mov dword [0x1002ecc4], edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
push ecx
push edx
push ebx
mov dword [esp + 0x90], 0xffffffff
call fcn.1000da20
fstp qword [esp + 0x4c]
push 0xc
call fcn.10005810
mov edi, eax
add esp, 0x14
mov dword [esp + 0x38], edi
xor ecx, ecx
mov dword [esp + 0x80], 1
test edi, edi
je 0x1000bb96
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
inc eax
mov edx, 0x10
mul edx
mov dword [edi], ecx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10005810
add esp, 4
mov dword [edi + 8], eax
mov ecx, edi
fld qword [esp + 0x3c]
mov dword [0x1002ecd8], ecx
mov eax, dword [esi + 0x18]
push eax
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x8c], 0xffffffff
call fcn.10004c90
lea ebx, [ebx]
mov ecx, dword [0x1002ecd8]
cmp dword [ecx], 0
je 0x1000bc40
mov eax, dword [0x1002ec44]
test eax, eax
je 0x1000bbdc
cmp dword [0x1002ec40], eax
jg 0x1000bc40
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.1000b750
mov edx, dword [0x1002ecc4]
mov eax, dword [edx]
cmp dword [edx + 4], eax
jne 0x1000bc04
mov ecx, dword [edx + 8]
shl eax, 4
fld qword [eax + ecx - 0x10]
jmp 0x1000bc0a
fld qword [0x1002ece0]
fld qword [0x1002ecd0]
fld qword [esp + 0x3c]
fmul st(1), st(0)
fxch st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x1000bc36
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
sub esp, 8
fstp qword [esp]
call eax
jmp 0x1000bbc0
mov ecx, dword [0x1002ecd8]
fstp st(0)
jmp 0x1000bc46
mov edx, dword [0x1002ecc4]
mov edi, dword [ebp + 0xc]
xor eax, eax
test edi, edi
jle 0x1000bc9d
mov ebx, dword [ebp + 0x10]
xor esi, esi
cmp eax, dword [edx + 4]
lea ecx, [edx + 4]
jge 0x1000bc64
mov edx, dword [edx + 8]
fld qword [esi + edx]
jmp 0x1000bc6a
fld qword [0x1002ece0]
mov edx, dword [ebp + 0x14]
fstp qword [edx + eax*8]
cmp eax, dword [ecx]
jge 0x1000bc83
mov ecx, dword [0x1002ecc4]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + esi + 8]
jmp 0x1000bc86
or ecx, 0xffffffff
mov dword [ebx + eax*4], ecx
mov edx, dword [0x1002ecc4]
inc eax
add esi, 0x10
cmp eax, edi
jl 0x1000bc54
mov ecx, dword [0x1002ecd8]
mov esi, edx
test edx, edx
je 0x1000bcbb
mov eax, dword [edx + 8]
push eax
call fcn.10005810
push esi
call fcn.10005810
mov ecx, dword [0x1002ecd8]
add esp, 8
mov esi, ecx
test ecx, ecx
je 0x1000bcd3
mov ecx, dword [ecx + 8]
push ecx
call fcn.10005810
push esi
call fcn.10005810
add esp, 8
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18