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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov edx, dword [ecx + 0x10020]
mov eax, dword [ebp + 8]
inc edx
mov dword [ecx + 0x10020], edx
mov edx, dword [eax + 0x100]
push ebx
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x100]
test ebx, ebx
push esi
push edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], 0
jle 0x1097034a
lea ebx, [ebx + ebx*2 - 3]
shl ebx, 2
mov eax, 0xffffffc8
lea edi, [edx + 0x38]
sub eax, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x54], eax
jmp 0x10970130
mov ebx, dword [esp + 0x2c]
lea esp, [esp]
fld dword [edi - 8]
fsub dword [ebx + edx + 0x30]
fstp dword [esp + 0x1c]
fld dword [edi - 4]
fsub dword [ebx + edx + 0x34]
fstp dword [esp + 0x20]
fld dword [edi]
fsub dword [ebx + edx + 0x38]
fst dword [esp + 0x24]
fmul dword [esp + 0x24]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fst dword [esp + 0x40]
fcomp qword [0x10e59158]
fnstsw ax
test ah, 5
jnp 0x10970322
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x100]
test eax, eax
mov dword [esp + 0x38], 0
jle 0x10970322
lea ecx, [esi + 0x38]
lea ebx, [ebx + edx + 0x30]
mov dword [esp + 0x30], ecx
fld dword [ecx - 8]
fsub dword [ebx]
fld dword [ecx - 4]
fsub dword [ebx + 4]
fld dword [ecx]
fsub dword [ebx + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fst dword [esp + 0x44]
fcomp qword [0x10e59158]
fnstsw ax
test ah, 5
jnp 0x109702d4
fld dword [esp + 0x20]
fmul st(1)
fld st(2)
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x24]
mov dword [esp + 0x10], eax
fmul st(3)
fxch st(1)
fmul dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
fmul dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
fstp st(0)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld st(0)
fld dword [esp + 0x44]
fmul dword [esp + 0x40]
fmul qword [0x10e47e50]
fcompp
fnstsw ax
test ah, 0x41
je 0x109702d8
fsqrt
push 1
push 0
mov ecx, 0x52
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [esp + 0x68]
push ecx
push ebx
lea ecx, [esp + 0x7c]
fdivr dword [ebp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fstp st(0)
fld dword [esp + 0x24]
fmul dword [ebp + 0x18]
fstp dword [esp + 0x70]
fld dword [esp + 0x28]
fmul dword [ebp + 0x18]
fstp dword [esp + 0x74]
fld dword [esp + 0x2c]
fmul dword [ebp + 0x18]
fstp dword [esp + 0x78]
call fcn.10a10570
cmp eax, 2
je 0x109702f8
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
jmp 0x109702da
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x38]
inc eax
add ecx, 0xc
cmp eax, dword [esi + 0x100]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
jl 0x109701a1
jmp 0x1097031e
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0x14]
push edx
lea edx, [ecx + eax + 0x30]
mov ecx, dword [ebp + 8]
push edx
call fcn.10a11a60
test eax, eax
je 0x10970387
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov esi, dword [edx + 0x100]
add eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
inc eax
add edi, 0xc
cmp eax, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edi
jl 0x10970125
mov ebx, dword [ecx + 0x10024]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x58]
inc ebx
mov dword [ecx + 0x10024], ebx
mov edi, dword [esi + 0x100]
xor edx, edx
cmp eax, edi
mov eax, dword [ecx + 0x10028]
sete dl
add eax, edx
mov dword [ecx + 0x10028], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14