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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x10167368]
xor eax, esp
mov dword [esp + 0x134], eax
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [0x10161b24]
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x14]
movss xmm6, dword [ebp + 0x1c]
movss xmm7, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
divss xmm1, dword [ecx + 0xf8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
add eax, 0x10
mov dword [esp + 0x54], eax
mov edx, dword [ebp + 0xc]
push esi
mov dword [eax], 4
mov eax, dword [ebp + 0x28]
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x100], 0
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
maxss xmm1, xmm0
movss xmm4, dword [eax + 8]
subss xmm2, xmm6
subss xmm4, dword [ebp + 0x24]
movss dword [esp + 0x18], xmm0
subss xmm3, xmm7
movd xmm5, dword [ecx + 0xec]
movss dword [esp + 0x58], xmm1
movaps xmm0, xmm2
mov eax, dword [0x101fb4f0]
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
cvtdq2ps xmm5, xmm5
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
movss dword [esp + 0x14], xmm5
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [0x10161a80]
addss xmm0, dword [0x10161944]
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
mulss xmm4, xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x44], xmm4
movups xmmword [esp + 0xe0], xmm0
movups xmmword [esp + 0xf0], xmm0
test eax, eax
je 0x100ae4d0
add eax, 0x59
jmp 0x100ae4d2
xor eax, eax
mov eax, dword [eax]
xor esi, esi
comiss xmm5, dword [0x10161928]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x1c], esi
movss xmm1, dword [ecx + 0x104]
movss dword [esp + 0x60], xmm1
jbe 0x100ae8f6
nop
subss xmm1, dword [esp + 0x18]
mov edi, dword [0x101faf08]
lea ecx, [esp + 0x90]
movaps xmm0, xmm2
mov dword [esp + 0x8c], esi
mov dword [esp + 0x80], edx
mulss xmm0, xmm1
mov eax, dword [edi]
movss dword [esp + 0x54], xmm1
addss xmm0, xmm6
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x64]
push eax
lea eax, [ebp + 0x1c]
push eax
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, dword [ebp + 0x24]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x74], xmm0
call fcn.100572c0
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x80]
push ecx
push 0x4600400b
push eax
mov ecx, edi
call esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x100ae61c
movss xmm1, dword [0x10161be8]
lea eax, [esp + 0xe0]
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm1
push esi
push eax
lea eax, [esp + 0x78]
addss xmm0, dword [esp + 0x54]
push eax
lea eax, [ebp + 0x1c]
push eax
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x88], xmm0
call fcn.100ad3a0
movss xmm0, dword [esp + 0x10c]
ucomiss xmm0, dword [0x10161a80]
lahf
test ah, 0x44
jnp 0x100ae8f6
mov ecx, dword [0x101faf18]
movsx edx, word [esp + 0x120]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov dword [esp + 0x28], eax
test esi, esi
je 0x100ae764
mov ecx, dword [esp + 0x12c]
test ecx, ecx
je 0x100ae75c
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
mov edi, dword [esp + 0x12c]
mov byte [esp + 0x13], al
cmp edi, esi
je 0x100ae729
test al, al
je 0x100ae747
mov ecx, dword fs:[0x2c]
mov eax, dword [0x101faed8]
mov esi, dword [ecx + eax*4]
mov ecx, dword [0x10202ee8]
cmp ecx, dword [esi + 4]
jle 0x100ae6de
push 0x10202ee8
call fcn.100e1a85
mov ecx, dword [0x10202ee8]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100ae6de
mov eax, dword [0x10202ed4]
push 0x10202ee8
mov dword [0x10202ec8], eax
call fcn.100e1a3b
mov ecx, dword [0x10202ee8]
add esp, 4
mov eax, dword [0x10202ec8]
mov edi, dword [edi + eax]
cmp ecx, dword [esi + 4]
jle 0x100ae71b
push 0x10202ee8
call fcn.100e1a85
add esp, 4
cmp dword [0x10202ee8], 0xffffffff
jne 0x100ae71b
mov eax, dword [0x10202ed4]
push 0x10202ee8
mov dword [0x10202ec8], eax
call fcn.100e1a3b
add esp, 4
mov eax, dword [0x10202ec8]
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + eax]
je 0x100ae747
mov ecx, dword [esp + 0x124]
cmp ecx, 1
jb 0x100ae73e
cmp ecx, 7
jbe 0x100ae88b
cmp ecx, 0xa
je 0x100ae88b
xor esi, esi
cmp byte [esp + 0x13], 0
cmovne esi, dword [esp + 0x12c]
mov dword [esp + 0x1c], esi
jmp 0x100ae768
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x100ae768
mov esi, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x10c]
mulss xmm1, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
addss xmm1, dword [esp + 0x18]
movss xmm0, dword [edi + 0x108]
movss dword [esp + 0x18], xmm1
mulss xmm1, dword [0x10161964]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
cmp byte [ebp + 0x18], 0
mulss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
jne 0x100ae8f6
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10161d58]
jbe 0x100ae7d6
movss xmm0, dword [edi + 0xf8]
comiss xmm0, dword [0x10161928]
ja 0x100ae8f6
mov eax, dword [esp + 0x28]
movss xmm0, dword [0x101619a0]
comiss xmm0, dword [eax + 0x58]
ja 0x100ae8f6
movss xmm0, dword [esp + 0x58]
lea eax, [esp + 0x14]
push ecx
movss dword [esp], xmm0
push eax
push dword [esp + 0x64]
lea eax, [esp + 0x48]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [esp + 0xf4]
push eax
push edi
push dword [esp + 0x3c]
call fcn.100adbe0
test al, al
je 0x100ae8f6
cmp byte [ebp + 0x2c], 0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
je 0x100ae841
mov ecx, dword [esp + 0x24]
cvttss2si eax, xmm0
mov dword [ecx + 4], eax
comiss xmm0, dword [0x10161928]
jbe 0x100ae8f6
movss xmm4, dword [esp + 0x44]
movss xmm3, dword [esp + 0x40]
movss xmm2, dword [esp + 0x3c]
movss xmm7, dword [ebp + 0x20]
movss xmm6, dword [ebp + 0x1c]
movss xmm1, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm2
jmp 0x100ae510
cmp byte [ebp + 0x18], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x12c]
mov dword [esi], eax
mov eax, dword [esp + 0x130]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
je 0x100ae8b6
mov dword [esi + 0xc], 0
xor eax, eax
jmp 0x100ae8b8
mov eax, ecx
mov ecx, dword [esp + 0x38]
movss xmm2, dword [esp + 0x14]
push eax
push dword [esp + 0x130]
movss xmm3, dword [ecx + 0xf0]
call fcn.100ae000
cvttss2si ecx, xmm0
mov eax, esi
mov dword [esi + 4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100e1968
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.100e1968
mov esp, ebp
pop ebp
ret 0x28