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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x10167368]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
mov esi, ecx
mov ecx, dword [0x101fafac]
push edi
mov dword [esp + 0x24], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jle 0x100a807f
movss xmm0, dword [0x10161c50]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100e1968
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x101f7064]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x100a85ed
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov dword [esp + 0x74], eax
test eax, eax
je 0x100a85ed
movss xmm0, dword [eax + 0x104]
movss dword [esp + 0x6c], xmm0
movq xmm0, qword [0x101f6f0c]
movq qword [esp + 0x38], xmm0
movss xmm3, dword [esp + 0x38]
movq qword [esp + 0xb0], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [esp + 0x30]
subss xmm3, dword [esp + 0x2c]
mov eax, dword [0x101f6f14]
mov dword [esp + 0x70], eax
mov dword [esp + 0x40], eax
movaps xmm2, xmm0
mov eax, dword [esi + 0x1c]
mulss xmm2, xmm0
movaps xmm1, xmm3
mov dword [esp + 0x50], 0
divss xmm0, xmm3
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x34], eax
mulss xmm1, xmm3
movss dword [esp + 0x18], xmm3
addss xmm2, xmm1
movss dword [esp + 0x20], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [esp + 0x20]
sqrtss xmm1, xmm1
mulss xmm0, dword [0x10161c0c]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x80], xmm0
movss xmm0, dword [0x10161dd4]
divss xmm0, xmm1
movss xmm1, dword [esp + 0x40]
subss xmm1, dword [esp + 0x34]
mulss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x10161df0]
xorps xmm1, xmm1
mov dword [esp + 0x84], 0
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm1
jb 0x100a81f2
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x10161c94]
movss dword [esp + 0x80], xmm0
movq xmm0, qword [esp + 0x7c]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x48]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x60]
call fcn.10058e70
mov ecx, dword [0x101faed8]
add esp, 0x10
mov eax, dword fs:[0x2c]
mov edi, dword [0x101f7064]
mov dword [esp + 0x18], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [0x1020369c]
cmp eax, dword [ecx + 4]
jle 0x100a8281
push 0x1020369c
call fcn.100e1a85
add esp, 4
cmp dword [0x1020369c], 0xffffffff
jne 0x100a827d
mov eax, dword [0x102030c0]
push 0x1020369c
mov dword [0x102036a0], eax
call fcn.100e1a3b
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [0x102036a0]
movss xmm2, dword [edi + eax]
mov eax, dword [0x10202efc]
mov edi, dword [0x101f7064]
movss dword [esp + 0x20], xmm2
cmp eax, dword [ecx + 4]
jle 0x100a82d7
push 0x10202efc
call fcn.100e1a85
add esp, 4
cmp dword [0x10202efc], 0xffffffff
jne 0x100a82d1
mov eax, dword [0x10202f14]
push 0x10202efc
mov dword [0x10202f0c], eax
call fcn.100e1a3b
add esp, 4
movss xmm2, dword [esp + 0x20]
mov eax, dword [0x10202f0c]
movzx ecx, word [edi + eax]
xor edi, edi
mov dword [esp + 0x78], ecx
nop word [eax + eax]
mov eax, dword [0x10202c4c]
movq xmm0, qword [edi + eax + 0x10]
movq qword [esp + 0xa0], xmm0
movups xmm1, xmmword [edi + eax]
movaps xmmword [esp + 0x90], xmm1
movss dword [esp + 0x1c], xmm1
cmp cx, 0x1c
jne 0x100a83b6
movss xmm0, dword [0x10161b10]
comiss xmm0, xmm2
jbe 0x100a83b6
cvttss2si esi, xmm2
mov ecx, 3
cmp esi, ecx
jge 0x100a83b2
mov eax, ecx
sub eax, esi
cmp eax, 8
jl 0x100a8392
mov edx, 0xfffffffb
sub edx, esi
shr edx, 3
inc edx
lea eax, [edx*8]
sub ecx, eax
nop dword [eax + eax]
mulss xmm1, xmm1
mulss xmm1, xmm1
mulss xmm1, xmm1
mulss xmm1, xmm1
mulss xmm1, xmm1
mulss xmm1, xmm1
mulss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, xmm0
sub edx, 1
jne 0x100a8360
movss dword [esp + 0x1c], xmm1
cmp ecx, esi
jle 0x100a83b2
sub ecx, esi
nop dword [eax]
nop dword [eax + eax]
movaps xmm0, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
sub ecx, 1
jne 0x100a83a0
mov esi, dword [esp + 0x24]
mov ecx, dword [0x10202a74]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x10202a74]
fmul dword [esp + 0x1c]
mov eax, dword [ecx]
fstp dword [esp + 0x1c]
mov eax, dword [eax + 0x3c]
call eax
fmul dword [esp + 0x9c]
movss xmm0, dword [esp + 0x98]
mulss xmm0, dword [esp + 0x1c]
mov ecx, dword [esi]
movss xmm4, dword [esp + 0xa4]
movss xmm3, dword [esp + 0xa0]
movss xmm1, dword [esp + 0x44]
movss xmm2, dword [esp + 0x6c]
fstp dword [esp + 0x68]
mulss xmm4, dword [esp + 0x68]
mulss xmm3, dword [esp + 0x68]
addss xmm4, xmm0
movss xmm0, dword [esp + 0x94]
mulss xmm0, dword [esp + 0x1c]
mulss xmm1, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm1, dword [esp + 0x50]
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x38]
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esp + 0x48]
mulss xmm1, xmm4
addss xmm1, dword [esp + 0x54]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x64]
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0x4c]
mulss xmm1, xmm4
addss xmm1, dword [esp + 0x58]
addss xmm1, xmm0
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x40]
movss dword [esp + 0x34], xmm1
call fcn.100b8ec0
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
call fcn.100b9670
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
jne 0x100a84e2
xor cl, cl
jmp 0x100a8531
mov ecx, dword [esp + 0x14]
mov eax, dword [0x10202efc]
cmp eax, dword [ecx + 4]
jle 0x100a8520
push 0x10202efc
call fcn.100e1a85
add esp, 4
cmp dword [0x10202efc], 0xffffffff
jne 0x100a8520
mov eax, dword [0x10202f14]
push 0x10202efc
mov dword [0x10202f0c], eax
call fcn.100e1a3b
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, dword [0x10202f0c]
cmp word [eax + ecx], 0x1f
sete cl
movq xmm0, qword [esp + 0xb0]
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x70]
push 0
push eax
sub esp, 0xc
mov eax, esp
push ecx
push dword [esp + 0x8c]
movq qword [eax], xmm0
push dword [esi]
mov dword [eax + 8], edx
lea eax, [esp + 0x9c]
push dword [0x101f7060]
push eax
call fcn.100ae380
mov ecx, dword [esi]
call fcn.100b9900
cmp dword [esp + 0x80], 0
jle 0x100a8596
mov eax, dword [esp + 0x88]
cmp eax, dword [esi + 0x34]
mov eax, dword [esp + 0x18]
jne 0x100a859a
inc eax
mov dword [esp + 0x18], eax
jmp 0x100a859a
mov eax, dword [esp + 0x18]
movss xmm2, dword [esp + 0x20]
add edi, 0x18
mov ecx, dword [esp + 0x78]
cmp edi, 0x600
jl 0x100a82f0
movss xmm0, dword [0x10161c50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10161ab4]
comiss xmm1, xmm0
ja 0x100a85f0
movaps xmm0, xmm1
xorps xmm1, xmm1
maxss xmm0, xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100e1968
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.100e1968
mov esp, ebp
pop ebp
ret