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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100c931c
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10119a70]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x10119a70]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x1c]
sub eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
sub ecx, dword [edx + 0x10]
inc eax
inc ecx
mov dword [esp + 0x28], eax
cmp ecx, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x24]
jl 0x1008762e
lea eax, [esp + 0x28]
mov ebx, dword [eax]
push 1
push 1
mov ecx, esi
mov dword [esp + 0x30], ebx
call dword [0x100cccd8]
dec ebx
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fld qword [0x100d0258]
fmul st(1), st(0)
fld st(1)
call fcn.100bb8c0
fmul st(1), st(0)
fxch st(1)
mov ebx, eax
call fcn.100bb8c0
sub ebx, eax
cmp dword [esp + 0x28], 0x20
mov dword [esp + 0x2c], ebx
fild dword [esp + 0x2c]
mov dword [esp + 0x24], eax
fst qword [esp + 0x4c]
jle 0x10087684
fld qword [0x100e61f0]
jmp 0x1008768a
fld qword [0x100d98e0]
fmul st(1)
call fcn.100bb8c0
fmul qword [0x100e61e8]
mov ebx, eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], eax
call fcn.100bb8c0
mov ecx, dword [esp + 0x24]
neg ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
fild dword [esp + 0x28]
add eax, ecx
neg eax
fmulp st(1)
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
call fcn.100bb8c0
mov dword [esp + 0x28], eax
fild dword [esp + 0x30]
mov eax, dword [edi + 0x18]
mov edx, dword [eax + 0x10]
add eax, 0x10
fstp dword [esp + 0x38]
mov dword [esp + 0xb0], edx
fld dword [esp + 0x38]
mov ecx, dword [eax + 4]
fdiv qword [0x100e61e0]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xb8], edx
mov ax, word [eax + 0xc]
sub esp, 8
lea ecx, [esp + 0xb8]
mov word [esp + 0xc4], ax
fld1
fsubrp st(1)
fst qword [esp + 0x6c]
fstp qword [esp]
call dword [0x100ccc90]
push 0
mov ecx, esi
call dword [0x100ccce8]
push 1
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x34]
call dword [0x100ccce4]
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov dword [esp + 0x104], 0
call dword [0x100ccce0]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x100], 0xffffffff
call dword [0x100cccdc]
mov ecx, esi
call dword [0x100cccf8]
lea eax, [esp + 0xa0]
push eax
mov ecx, edi
call dword [0x100cd6c0]
mov edi, eax
mov eax, dword [edi + 8]
cdq
mov ecx, eax
mov eax, dword [edi]
mov ebx, edx
cdq
push 0
add ecx, eax
push 2
adc ebx, edx
push ebx
push ecx
call fcn.100bbb80
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
fild dword [esp + 0x34]
cdq
mov ecx, eax
mov eax, dword [edi + 4]
mov ebx, edx
fstp qword [esp + 0x6c]
cdq
push 0
add ecx, eax
push 2
adc ebx, edx
push ebx
push ecx
call fcn.100bbb80
mov dword [esp + 0x34], eax
lea edx, [esp + 0x6c]
fild dword [esp + 0x34]
push edx
mov ecx, esi
fstp qword [esp + 0x78]
call dword [0x100ccd58]
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 0x18]
fild dword [eax]
sub esp, 8
fld dword [esp + 0x40]
mov ecx, esi
fmul qword [0x100e61d8]
fsubp st(1)
fstp qword [esp]
call dword [0x100ccc8c]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x20], 1
jne 0x10087872
fild dword [esp + 0x28]
push 0
sub esp, 0x10
lea edx, [esp + 0x90]
fstp qword [esp + 0x90]
mov ecx, esi
fild dword [esp + 0x38]
fstp qword [esp + 0x98]
fild dword [esp + 0x5c]
fstp qword [esp + 0xa0]
fld qword [esp + 0x60]
fstp qword [esp + 0xa8]
fild dword [esp + 0x50]
fst qword [esp + 8]
fstp qword [esp]
push edx
call dword [0x100ccc88]
jmp 0x100878ac
fild dword [esp + 0x40]
fmul qword [esp + 0x64]
call fcn.100bb8c0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], edx
lea edx, [edx + eax - 1]
lea eax, [ecx + eax - 1]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
call dword [0x100ccc14]
mov ecx, esi
call dword [0x100cccd0]
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 0xc
mov dword [esp + 0x30], eax
jl 0x100876dc
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.100bb8a6
mov esp, ebp
pop ebp
ret 4