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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
cmp dword [0x10176f30], 0
push esi
push edi
mov edi, ecx
je 0x10076b7a
cmp byte [0x10176f38], 0
je 0x10076b7a
cmp dword [edi + 0xac], 0
jne 0x1007678f
mov ecx, dword [edi + 0xa4]
mov eax, dword [0x1017d58c]
mov eax, dword [eax + ecx]
mov ecx, dword [0x1017c2a8]
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 0x1007678f
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov dword [edi + 0xb0], eax
cmp byte [0x10176f74], 0
je 0x100767a6
cmp byte [edi + 0x8c], 0
mov eax, 4
je 0x100767ab
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 [0x10145040]
movss dword [edi + 0x84], xmm0
mov eax, dword [0x1017c460]
mov dword [esp + 0x2c], eax
mov eax, dword [0x10176f30]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x104]
mov dword [edi + 0x94], eax
jbe 0x10076b7a
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 + 0x50], xmm1
movss dword [esp + 0x14], xmm3
movaps xmm3, xmm5
addss xmm3, xmm0
movss dword [esp + 0x54], xmm0
mulss xmm1, xmm1
mulss xmm0, xmm0
movss dword [esp + 0x18], xmm3
movaps xmm3, xmm6
addss xmm3, xmm2
movss dword [esp + 0x58], xmm2
addss xmm1, xmm0
mulss xmm2, xmm2
movss dword [esp + 0x1c], xmm3
addss xmm1, xmm2
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x100768c3
mov byte [esp + 0x85], 0
mov ecx, dword [0x1017c2c0]
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 [0x1014518c]
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 0x100769af
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.10075b90
add esp, 0x18
jmp 0x100769c7
sub esp, 8
lea eax, [esp + 0x34]
lea edx, [esp + 0x28]
push esi
push eax
push ecx
mov ecx, edi
call fcn.10075fa0
add esp, 0x14
movss xmm1, dword [edi + 0x50]
ucomiss xmm1, dword [0x10145040]
lahf
test ah, 0x44
jnp 0x10076b7a
cmp byte [edi + 0x9e], 0
mulss xmm1, dword [edi + 0x94]
addss xmm1, dword [edi + 0x80]
movss dword [edi + 0x80], xmm1
jne 0x10076a29
mov eax, dword [edi + 0xb0]
mulss xmm1, dword [0x10144ef0]
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 0x10076a41
cmp eax, 7
jle 0x10076a4b
mov byte [esp + 0x13], 0
cmp eax, 0xa
jne 0x10076a50
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 0x10076a7e
cmp dword [edi + 0xa8], 0
je 0x10076a7e
xor al, al
jmp 0x10076a80
mov al, 1
cmp dword [esp + 0x14], 0
je 0x10076a96
test al, al
je 0x10076a96
cmp byte [esp + 0x13], 0
jne 0x10076b1d
cmp dword [edi + 0x78], 0
jle 0x10076b7a
mov ecx, dword [0x1017c2e8]
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 0x10076b7a
movss xmm0, dword [edi + 0x80]
comiss xmm0, dword [0x101452b8]
jbe 0x10076aeb
mov ecx, dword [edi + 0xb0]
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0xf8]
comiss xmm0, xmm1
ja 0x10076b73
movss xmm0, dword [0x10144f64]
comiss xmm0, dword [eax + 0x58]
ja 0x10076b73
mov ecx, edi
call fcn.10076410
test al, al
jne 0x10076b7a
movss xmm0, dword [edi + 0x84]
comiss xmm0, dword [0x10145040]
jbe 0x10076b7a
xorps xmm7, xmm7
jmp 0x10076817
mov ecx, dword [edi + 0xac]
mov eax, dword [0x1017d5a4]
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.10075990
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 [0x10145324]
pop edi
pop esi
mov esp, ebp
pop ebp
ret