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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
cmp dword [0x101305e0], 0
push esi
push edi
mov edi, ecx
je 0x1007b0da
cmp byte [0x101305e8], 0
je 0x1007b0da
cmp dword [edi + 0xac], 0
jne 0x1007acef
mov ecx, dword [edi + 0xa4]
mov eax, dword [0x10136f74]
mov eax, dword [eax + ecx]
mov ecx, dword [0x10135ca8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
mov dword [edi + 0xac], ecx
test ecx, ecx
je 0x1007acef
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov dword [edi + 0xb0], eax
cmp byte [0x10130624], 0
je 0x1007ad06
cmp byte [edi + 0x8c], 0
mov eax, 4
je 0x1007ad0b
mov eax, 2
mov dword [edi + 0x78], eax
xorps xmm7, xmm7
mov ecx, dword [edi + 0xb0]
mov dword [edi + 0x80], 0
movd xmm0, dword [ecx + 0xec]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
comiss xmm0, dword [0x100e572c]
movss dword [edi + 0x84], xmm0
mov eax, dword [0x10135e60]
mov dword [esp + 0x2c], eax
mov eax, dword [0x101305e0]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x104]
mov dword [edi + 0x94], eax
jbe 0x1007b0da
movss xmm2, dword [edi + 0x94]
lea esi, [edi + 0x24]
subss xmm2, dword [edi + 0x80]
mov dword [esp + 0x5c], 0
mov byte [esp + 0x85], 1
movss dword [edi + 0x94], xmm2
movaps xmm1, xmm2
mulss xmm1, dword [edi + 0xc]
movaps xmm0, xmm2
movss xmm4, dword [edi]
mulss xmm0, dword [edi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [edi + 4]
addss xmm3, xmm1
mulss xmm2, dword [edi + 0x14]
movss xmm6, dword [edi + 8]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x14], xmm3
movaps xmm3, xmm5
addss xmm3, xmm0
movss dword [esp + 0x50], xmm1
mulss xmm0, xmm0
mulss xmm1, xmm1
movss dword [esp + 0x18], xmm3
movaps xmm3, xmm6
addss xmm3, xmm2
movss dword [esp + 0x58], xmm2
addss xmm0, xmm1
mulss xmm2, xmm2
movss dword [esp + 0x1c], xmm3
addss xmm0, xmm2
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1007ae23
mov byte [esp + 0x85], 0
mov ecx, dword [0x10135cc0]
lea edx, [esp + 0x2c]
push esi
mov dword [esp + 0x84], 0
mov byte [esp + 0x88], 1
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x4c], xmm6
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov eax, dword [ecx]
push edx
push 0x4600400b
lea edx, [esp + 0x4c]
mov eax, dword [eax + 0x14]
push edx
call eax
cmp dword [edi + 0xa8], 0
movss xmm1, dword [0x100e5884]
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x14]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x28], xmm0
je 0x1007af0f
movq xmm0, qword [edi]
mov eax, dword [edi + 8]
push edi
sub esp, 0x14
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
call fcn.1007a110
add esp, 0x18
jmp 0x1007af27
sub esp, 8
lea eax, [esp + 0x34]
lea edx, [esp + 0x28]
push esi
push eax
push ecx
mov ecx, edi
call fcn.1007a520
add esp, 0x14
movss xmm1, dword [edi + 0x50]
ucomiss xmm1, dword [0x100e572c]
lahf
test ah, 0x44
jnp 0x1007b0da
cmp byte [edi + 0x9e], 0
mulss xmm1, dword [edi + 0x94]
addss xmm1, dword [edi + 0x80]
movss dword [edi + 0x80], xmm1
jne 0x1007af89
mov eax, dword [edi + 0xb0]
mulss xmm1, dword [0x100e55ac]
movss xmm0, dword [eax + 0x108]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mulss xmm0, dword [edi + 0x84]
movss dword [edi + 0x84], xmm0
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x70]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
cmp eax, 1
jl 0x1007afa1
cmp eax, 7
jle 0x1007afab
mov byte [esp + 0x13], 0
cmp eax, 0xa
jne 0x1007afb0
mov byte [esp + 0x13], 1
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [edi + 0xa8]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
cmp esi, eax
je 0x1007afde
cmp dword [edi + 0xa8], 0
je 0x1007afde
xor al, al
jmp 0x1007afe0
mov al, 1
cmp dword [esp + 0x14], 0
je 0x1007aff6
test al, al
je 0x1007aff6
cmp byte [esp + 0x13], 0
jne 0x1007b07d
cmp dword [edi + 0x78], 0
jle 0x1007b0da
mov ecx, dword [0x10135ce8]
movsx eax, word [edi + 0x64]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [edi + 0xb4], eax
test eax, eax
je 0x1007b0da
movss xmm0, dword [edi + 0x80]
comiss xmm0, dword [0x100e59a0]
jbe 0x1007b04b
mov ecx, dword [edi + 0xb0]
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0xf8]
comiss xmm0, xmm1
ja 0x1007b0d3
movss xmm0, dword [0x100e5624]
comiss xmm0, dword [eax + 0x58]
ja 0x1007b0d3
mov ecx, edi
call fcn.1007a970
test al, al
jne 0x1007b0da
movss xmm0, dword [edi + 0x84]
comiss xmm0, dword [0x100e572c]
jbe 0x1007b0da
xorps xmm7, xmm7
jmp 0x1007ad77
mov ecx, dword [edi + 0xac]
mov eax, dword [0x10136f8c]
mov esi, dword [esp + 0x1c]
mov edx, esi
movss xmm1, dword [edi + 0x84]
cmp dword [eax + ecx], 0x1f
mov eax, 0
mov ecx, dword [esp + 0x14]
cmove edx, eax
mov eax, dword [edi + 0xb0]
movss xmm2, dword [eax + 0xf0]
call fcn.10079f10
mov eax, dword [edi + 0x74]
movss dword [edi + 0x84], xmm0
mov dword [edi + 0x7c], esi
mov dword [edi + 0x90], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x78], 0
movss xmm0, dword [0x100e59f4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret