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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x10155368]
xor eax, esp
mov dword [esp + 0x124], eax
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [0x101502f8]
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x14]
movss xmm6, dword [ebp + 0x1c]
movss xmm7, dword [ebp + 0x20]
mov dword [esp + 0x18], 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 + 0x3c], eax
mov edx, dword [ebp + 0xc]
push esi
mov dword [eax], 4
mov eax, dword [ebp + 0x28]
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xf0], 0
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
maxss xmm1, xmm0
movss xmm2, dword [eax + 8]
subss xmm4, xmm6
subss xmm2, dword [ebp + 0x24]
movss dword [esp + 0x18], xmm0
subss xmm3, xmm7
movd xmm5, dword [ecx + 0xec]
movss dword [esp + 0x40], xmm1
movaps xmm0, xmm4
mulss xmm0, xmm4
movaps xmm1, xmm3
mulss xmm1, xmm3
cvtdq2ps xmm5, xmm5
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm5
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [0x10150278]
addss xmm0, dword [0x10150138]
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm1
movss dword [esp + 0x5c], xmm2
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
mov eax, dword [0x101cc700]
unpcklps xmm4, xmm3
movq qword [esp + 0x48], xmm4
movups xmmword [esp + 0xd0], xmm0
movups xmmword [esp + 0xe0], xmm0
test eax, eax
je 0x100a2ab3
add eax, 0x59
jmp 0x100a2ab5
xor eax, eax
comiss xmm5, dword [0x10150124]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
movss xmm1, dword [ecx + 0x104]
jbe 0x100a2f7a
nop dword [eax]
subss xmm1, dword [esp + 0x18]
movss xmm0, dword [esp + 0x48]
lea ecx, [esp + 0x80]
movss dword [esp + 0x2c], xmm0
mov edi, dword [0x101cc108]
mulss xmm0, xmm1
mov eax, dword [edi]
movss dword [esp + 0x28], xmm1
addss xmm0, xmm6
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x74]
push eax
lea eax, [ebp + 0x1c]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x38], xmm0
mulss xmm0, xmm1
push eax
addss xmm0, xmm7
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x44], xmm0
mulss xmm0, xmm1
addss xmm0, dword [ebp + 0x24]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x84], xmm0
call fcn.10055da0
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, ecx
mov ecx, edi
push 0x600400b
push eax
call esi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x100a2c05
movss xmm1, dword [0x101503bc]
lea eax, [esp + 0xd0]
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm1
push edi
push eax
lea eax, [esp + 0x5c]
addss xmm0, dword [esp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x6c], xmm0
call fcn.100a1e30
movss xmm0, dword [esp + 0xfc]
ucomiss xmm0, dword [0x10150278]
lahf
test ah, 0x44
jnp 0x100a2f7a
mulss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x18]
movaps xmm1, xmm0
movss xmm0, dword [eax + 0x108]
movss dword [esp + 0x18], xmm1
mulss xmm1, dword [0x1015015c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mov ecx, dword [esp + 0x11c]
mulss xmm0, dword [esp + 0xc]
mov eax, dword [ecx]
movss dword [esp + 0xc], xmm0
mov eax, dword [eax + 0x260]
call eax
mov esi, dword [esp + 0x11c]
cmp esi, edi
je 0x100a2d5a
test al, al
je 0x100a2d49
mov ecx, dword fs:[0x2c]
mov eax, dword [0x101cc0d8]
mov dword [esp + 0x10], esi
mov edi, dword [ecx + eax*4]
mov ecx, dword [0x101d3a84]
cmp ecx, dword [edi + 4]
jle 0x100a2cde
push 0x101d3a84
call fcn.100d2315
mov ecx, dword [0x101d3a84]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100a2cd7
mov eax, dword [0x101d3a74]
push 0x101d3a84
mov dword [0x101d3a60], eax
call fcn.100d22cb
mov ecx, dword [0x101d3a84]
add esp, 4
mov esi, dword [esp + 0x11c]
mov edx, dword [esp + 0x10]
mov eax, dword [0x101d3a60]
mov eax, dword [edx + eax]
mov dword [esp + 0x10], eax
cmp ecx, dword [edi + 4]
jle 0x100a2d2a
push 0x101d3a84
call fcn.100d2315
add esp, 4
cmp dword [0x101d3a84], 0xffffffff
jne 0x100a2d23
mov eax, dword [0x101d3a74]
push 0x101d3a84
mov dword [0x101d3a60], eax
call fcn.100d22cb
add esp, 4
mov esi, dword [esp + 0x11c]
mov eax, dword [0x101d3a60]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + eax]
jne 0x100a2d5e
mov dword [esp + 0x70], 0
jmp 0x100a2e4b
mov edi, dword [esp + 0x14]
mov dword [esp + 0x70], 0
jmp 0x100a2e4b
mov edi, dword [esp + 0x14]
cmp esi, dword [esp + 0x24]
je 0x100a2e21
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100a2e34
mov ecx, dword fs:[0x2c]
mov eax, dword [0x101cc0d8]
mov edi, dword [ecx + eax*4]
mov ecx, dword [0x101d3a84]
cmp ecx, dword [edi + 4]
jle 0x100a2dce
push 0x101d3a84
call fcn.100d2315
mov ecx, dword [0x101d3a84]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100a2dce
mov eax, dword [0x101d3a74]
push 0x101d3a84
mov dword [0x101d3a60], eax
call fcn.100d22cb
mov ecx, dword [0x101d3a84]
add esp, 4
mov eax, dword [0x101d3a60]
mov eax, dword [esi + eax]
mov dword [esp + 0x10], eax
cmp ecx, dword [edi + 4]
jle 0x100a2e0f
push 0x101d3a84
call fcn.100d2315
add esp, 4
cmp dword [0x101d3a84], 0xffffffff
jne 0x100a2e0f
mov eax, dword [0x101d3a74]
push 0x101d3a84
mov dword [0x101d3a60], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3a60]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + eax]
je 0x100a2e34
mov ecx, dword [esp + 0x114]
lea eax, [ecx - 1]
cmp eax, 6
jbe 0x100a2f15
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x260]
call eax
xor ecx, ecx
test al, al
cmovne ecx, esi
mov dword [esp + 0x70], ecx
cmp byte [ebp + 0x18], 0
jne 0x100a2f7a
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x101504d0]
mov esi, dword [esp + 0x1c]
jbe 0x100a2e7d
movss xmm0, dword [esi + 0xf8]
comiss xmm0, dword [0x10150124]
ja 0x100a2f7a
mov ecx, dword [0x101cc11c]
movsx edx, word [esp + 0x110]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [0x1015019c]
comiss xmm0, dword [eax + 0x58]
ja 0x100a2f7a
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0xc]
push ecx
movss dword [esp], xmm0
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x54]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [esp + 0xe4]
push eax
push esi
push edi
call fcn.100a21b0
test al, al
je 0x100a2f7a
cmp byte [ebp + 0x2c], 0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc], xmm0
je 0x100a2ef7
mov ecx, dword [esp + 0x20]
cvttss2si eax, xmm0
mov dword [ecx + 4], eax
comiss xmm0, dword [0x10150124]
jbe 0x100a2f7a
movss xmm7, dword [ebp + 0x20]
movss xmm6, dword [ebp + 0x1c]
movss xmm1, dword [esp + 0x28]
jmp 0x100a2af0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x120]
mov dword [edi + 8], eax
xor eax, eax
cmp byte [ebp + 0x18], al
mov dword [edi], esi
cmovne ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], ecx
push ecx
push ecx
movd xmm0, dword [eax + 0x128]
lea ecx, [esp + 0x14]
movss xmm3, dword [eax + 0xf0]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push ecx
push esi
call fcn.100a2540
cvttss2si ecx, dword [esp + 0xc]
mov eax, edi
mov dword [edi + 4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.100d21f8
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.100d21f8
mov esp, ebp
pop ebp
ret 0x28