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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x10158008]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x18]
movss xmm1, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x20], esi
push edi
mov edi, dword [ebp + 0x1c]
test ebx, ebx
je case.default.0x1007d917
test eax, eax
je case.default.0x1007d917
movss xmm2, dword [esi + 8]
xorps xmm0, xmm0
comiss xmm0, xmm2
ja case.default.0x1007d917
movss xmm3, dword [esi + 0xc]
comiss xmm0, xmm3
ja case.default.0x1007d917
cmp dword [eax + 4], 3
jl case.default.0x1007d917
test edi, edi
cmove edi, dword [0x1015a42c]
comiss xmm1, dword [0x10142934]
jbe 0x1007d75d
movaps xmm0, xmm1
mulss xmm2, xmm1
mulss xmm0, dword [esi]
mulss xmm3, xmm1
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esi + 4]
lea esi, [esp + 0x3c]
mov dword [esp + 0x24], esi
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x40], xmm0
mov ecx, edi
call fcn.1007d360
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x1f3
ja 0x1007d77e
mov eax, dword [eax*4 + 0x1015a520]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x20]
test ecx, ecx
jne 0x1007d791
mov dword [ebp + 0x20], 0xfe000000
mov al, byte [ebp + 0x23]
jmp 0x1007d7a6
movzx eax, byte [ebp + 0x23]
mov edx, 0xfe
sar ecx, 0x18
cmp cl, 0xff
cmove eax, edx
mov byte [ebp + 0x23], al
push 3
push ebx
mov dword [esp + 0x28], eax
call dword [0x1015c2a0]
mov eax, dword [edi + 0x48]
cmp eax, 6
jge 0x1007d810
test eax, eax
je 0x1007d7c2
push eax
jmp 0x1007d7c4
push 3
push ebx
call dword [0x1015c324]
mov ecx, dword [ebp + 0x20]
push ecx
push dword [0x1015a43c]
call dword [0x1015c2c8]
push dword [0x1015a43c]
mov eax, dword [esp + 0x30]
push dword [esp + 0x18]
add eax, 8
push esi
push dword [esp + 0x28]
push dword [ebp + 0x10]
push eax
push ebx
call dword [0x1015c404]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [edi + 0x50]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jle 0x1007d905
cmp eax, 0xa
jge 0x1007d85d
mov ecx, dword [ebp + 0x20]
test eax, eax
mov dword [esp + 0x10], ecx
mov ebx, 5
cmovne ebx, eax
mov eax, dword [esp + 0x20]
movzx ecx, al
mov eax, 0xcccccccd
mul ecx
movzx eax, bl
mov ebx, dword [esp + 0x18]
shr edx, 3
movzx ecx, dl
imul ecx, eax
mov byte [esp + 0x13], cl
jmp 0x1007d905
cmp eax, 0x14
jge 0x1007d883
mov edx, dword [ebp + 0x20]
add eax, 0xfffffff6
mov ecx, 5
mov dword [esp + 0x10], edx
cmovne ecx, eax
movzx eax, cl
imul eax, eax, 0x19
mov byte [esp + 0x13], al
jmp 0x1007d908
cmp eax, 0x1e
jge 0x1007d895
mov dword [esp + 0x10], 0xff000000
add eax, 0xffffffec
jmp 0x1007d82e
cmp eax, 0x28
jge 0x1007d8a7
mov dword [esp + 0x10], 0xff000000
add eax, 0xffffffe2
jmp 0x1007d8f3
cmp eax, 0x32
jge 0x1007d8bc
mov dword [esp + 0x10], 0xff808080
add eax, 0xffffffd8
jmp 0x1007d82e
cmp eax, 0x3c
jge 0x1007d8ce
mov dword [esp + 0x10], 0xff808080
add eax, 0xffffffce
jmp 0x1007d8f3
cmp eax, 0x46
jge 0x1007d8e3
mov dword [esp + 0x10], 0xffffffff
add eax, 0xffffffc4
jmp 0x1007d82e
cmp eax, 0x50
jge 0x1007d905
mov dword [esp + 0x10], 0xffffffff
add eax, 0xffffffba
mov ecx, 5
cmovne ecx, eax
movzx eax, cl
imul eax, eax, 0x19
mov byte [esp + 0x13], al
mov edx, dword [ebp + 0x20]
mov eax, dword [edi + 0x48]
add eax, 0xfffffffa
cmp eax, 4
ja case.default.0x1007d917
jmp dword [eax*4 + 0x1007dff4]
movss xmm5, dword [esi + 8]
xorps xmm0, xmm0
movss xmm4, dword [esi + 0xc]
movaps xmm2, xmm5
movss xmm3, dword [0x10142b00]
movaps xmm1, xmm4
ucomiss xmm5, xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x58], xmm1
lahf
test ah, 0x44
jp 0x1007d987
movaps xmm2, xmm3
movss dword [esp + 0x54], xmm2
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x1007d999
movaps xmm1, xmm3
movss dword [esp + 0x58], xmm1
mov ecx, dword [edi + 0x4c]
cvttss2si eax, xmm2
add ecx, 2
cdq
idiv ecx
mov esi, eax
cvttss2si eax, xmm1
mov dword [esp + 0x38], esi
cdq
idiv ecx
cvttss2si ecx, xmm4
mov ebx, eax
lea eax, [esp + 0x30]
push eax
push 0
push 0x26200a
push 0
push ecx
cvttss2si ecx, xmm5
push ecx
call dword [0x1015c454]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x34]
call dword [0x1015c424]
push 3
push dword [esp + 0x2c]
call dword [0x1015c324]
lea eax, [esp + 0x34]
push eax
push 0
push 0x26200a
push 0
push ebx
push esi
call dword [0x1015c454]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x38]
call dword [0x1015c424]
push 3
push dword [esp + 0x24]
call dword [0x1015c2ec]
push 3
push dword [esp + 0x24]
call dword [0x1015c2a0]
push 7
push dword [esp + 0x24]
call dword [0x1015c2ec]
push dword [esp + 0x10]
push dword [0x1015a43c]
call dword [0x1015c2c8]
push dword [0x1015a43c]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
mov esi, dword [ebp + 0x10]
add edi, 8
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x40]
call dword [0x1015c404]
push ebx
push dword [esp + 0x3c]
push 0
push 0
push dword [esp + 0x40]
push dword [esp + 0x34]
call dword [0x1015c3a8]
mov ebx, dword [esp + 0x24]
cvttss2si eax, dword [ebx + 0xc]
push eax
cvttss2si eax, dword [ebx + 8]
push eax
cvttss2si eax, dword [ebx + 4]
push eax
cvttss2si eax, dword [ebx]
push eax
push dword [esp + 0x44]
push dword [esp + 0x2c]
call dword [0x1015c3a8]
mov ecx, dword [ebp + 0x20]
push ecx
push dword [0x1015a43c]
call dword [0x1015c2c8]
push 3
push dword [esp + 0x1c]
call dword [0x1015c324]
push dword [0x1015a43c]
push dword [esp + 0x18]
push ebx
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x30]
call dword [0x1015c404]
push dword [esp + 0x30]
call dword [0x1015c3b8]
push dword [esp + 0x34]
call dword [0x1015c3b8]
push dword [esp + 0x28]
call dword [0x1015c310]
push dword [esp + 0x20]
call dword [0x1015c310]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x20
push dword [esp + 0x10]
push dword [0x1015a43c]
call dword [0x1015c2c8]
movss xmm0, dword [esi + 8]
lea eax, [esp + 0x4c]
push dword [0x1015a43c]
mov edi, dword [esp + 0x30]
push dword [esp + 0x18]
movss dword [esp + 0x5c], xmm0
add edi, 8
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esi]
subss xmm0, dword [0x10142934]
push eax
push dword [esp + 0x28]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [0x10142934]
mov esi, dword [ebp + 0x10]
push esi
push edi
push ebx
movss dword [esp + 0x6c], xmm0
call dword [0x1015c404]
push dword [0x1015a43c]
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
push eax
movss xmm0, dword [ebx]
push dword [esp + 0x28]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [ebx + 4]
subss xmm0, dword [0x10142934]
push esi
push edi
push dword [esp + 0x30]
movss dword [esp + 0x6c], xmm0
call dword [0x1015c404]
push dword [0x1015a43c]
movss xmm0, dword [ebx]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
addss xmm0, dword [0x10142934]
push eax
push dword [esp + 0x28]
push esi
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ebx + 4]
subss xmm0, dword [0x10142934]
push edi
push dword [esp + 0x30]
movss dword [esp + 0x6c], xmm0
call dword [0x1015c404]
push dword [0x1015a43c]
movss xmm0, dword [ebx]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
addss xmm0, dword [0x10142934]
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x30]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [ebx + 4]
movss dword [esp + 0x6c], xmm0
call dword [0x1015c404]
movss xmm0, dword [ebx]
lea eax, [esp + 0x4c]
addss xmm0, dword [0x10142934]
push dword [0x1015a43c]
push dword [esp + 0x18]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [ebx + 4]
addss xmm0, dword [0x10142934]
push eax
push dword [esp + 0x28]
push esi
movss dword [esp + 0x64], xmm0
push edi
push dword [esp + 0x30]
call dword [0x1015c404]
push dword [0x1015a43c]
movss xmm0, dword [ebx]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [ebx + 4]
addss xmm0, dword [0x10142934]
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x30]
movss dword [esp + 0x6c], xmm0
call dword [0x1015c404]
push dword [0x1015a43c]
movss xmm0, dword [ebx]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
subss xmm0, dword [0x10142934]
push eax
push dword [esp + 0x28]
push esi
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ebx + 4]
addss xmm0, dword [0x10142934]
push edi
push dword [esp + 0x30]
movss dword [esp + 0x6c], xmm0
call dword [0x1015c404]
push dword [0x1015a43c]
movss xmm0, dword [ebx]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
subss xmm0, dword [0x10142934]
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x30]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [ebx + 4]
movss dword [esp + 0x6c], xmm0
call dword [0x1015c404]
mov ecx, dword [ebp + 0x20]
push ecx
push dword [0x1015a43c]
call dword [0x1015c2c8]
push dword [0x1015a43c]
push dword [esp + 0x18]
push ebx
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x30]
call dword [0x1015c404]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, 0xa
setg al
add eax, dword [edi + 0x4c]
je 0x1007ddc7
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x10142970]
jmp 0x1007ddcf
movsd xmm0, qword [0x10142970]
push dword [esp + 0x10]
cvtpd2ps xmm1, xmm0
push dword [0x1015a43c]
movaps xmm0, xmm1
addss xmm0, dword [esi]
addss xmm1, dword [esi + 4]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x60], xmm0
call dword [0x1015c2c8]
push dword [0x1015a43c]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
mov esi, dword [ebp + 0x10]
add edi, 8
push eax
push dword [esp + 0x28]
push esi
push edi
push ebx
call dword [0x1015c404]
mov ecx, dword [ebp + 0x20]
push ecx
push dword [0x1015a43c]
call dword [0x1015c2c8]
push dword [0x1015a43c]
mov ebx, dword [esp + 0x28]
push dword [esp + 0x18]
push ebx
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x30]
call dword [0x1015c404]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [edi + 0x4c]
lea eax, [esp + 0x24]
push eax
cmp ecx, 0x3e7
push 0
lea eax, [ecx - 0x3e8]
cmovle eax, ecx
push 0
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [esp + 0x20]
push edx
push esi
call dword [0x1015c380]
cmp dword [edi + 0x4c], 0x3e7
jle 0x1007df1e
movaps xmm0, xmmword [0x10142ce0]
lea eax, [esp + 0x4c]
push 7
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x80], 0xff0000ff
push eax
push dword [esp + 0x30]
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x8c], 0xffff00ff
movaps xmm0, xmmword [0x10142c00]
mov dword [esp + 0x90], 0xffff0000
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x6c], 0x3f2aaaab
mov dword [esp + 0x70], 0x3f555555
mov dword [esp + 0x74], 0x3f800000
call dword [0x1015c2e8]
push dword [esp + 0x24]
mov eax, dword [esp + 0x30]
push dword [esp + 0x18]
add eax, 8
push esi
push dword [esp + 0x28]
push dword [ebp + 0x10]
push eax
push ebx
call dword [0x1015c404]
push dword [esp + 0x24]
call dword [0x1015c2ac]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x20
lea eax, [esp + 0x24]
push eax
push 1
call dword [0x1015c2b4]
push dword [esp + 0x14]
movd xmm0, dword [edi + 0x40]
mov eax, dword [edi + 0x58]
push esi
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
push dword [edi + 0x44]
push dword [eax + 0x48]
mov eax, dword [esp + 0x40]
push dword [ebp + 0x10]
add eax, 8
push eax
push dword [esp + 0x40]
call dword [0x1015c39c]
movd xmm0, dword [edi + 0x4c]
lea eax, [esp + 0x28]
push eax
cvtdq2ps xmm0, xmm0
push 2
push ecx
mov ecx, dword [ebp + 0x20]
movss dword [esp], xmm0
push ecx
call dword [0x1015c2a8]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push ebx
call dword [0x1015c400]
push dword [esp + 0x28]
call dword [0x1015c2a4]
push dword [esp + 0x24]
call dword [0x1015c2b0]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x20