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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x10259b00]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, eax
mov dword [esp + 0x1c], eax
imul eax, dword [ebp + 0x14]
imul ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [esp + 0x28], eax
shr eax, 1
mov dword [esp + 0x20], ebx
lea eax, [eax*4 + 4]
push eax
call fcn.100a843f
mov dword [esp + 0x30], eax
lea edi, [esp + 0x74]
mov dword [esp + 0x18], eax
mov ecx, 6
mov eax, ebx
mov dword [esp + 0x14], ecx
add esp, 4
xorps xmm2, xmm2
mov esi, 0xfffffffe
lea ebx, [eax + 2]
test esi, esi
js 0x10077817
cmp esi, eax
jge 0x10077817
cdq
mov ecx, ebx
sub eax, edx
sar eax, 1
cmp esi, eax
mov eax, dword [ebp + 0x18]
cmovle ecx, esi
movss xmm0, dword [eax + ecx*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
jmp 0x1007781a
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
dec ebx
inc esi
movsd qword [edi], xmm0
add edi, 8
sub ecx, 1
mov dword [esp + 0x10], ecx
jne 0x100777f1
movsd xmm3, qword [esp + 0x80]
xor esi, esi
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x10077a8f
mov eax, dword [ebp + 0x18]
xor edi, edi
mov ebx, dword [esp + 0x20]
movsd xmm4, qword [esp + 0x98]
movsd xmm6, qword [esp + 0x90]
movsd xmm7, qword [esp + 0x88]
lea edx, [eax + 0x10]
movsd xmm1, qword [esp + 0x78]
lea eax, [eax + ebx*4]
movsd xmm5, qword [esp + 0x70]
add eax, 0xfffffff0
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
movsd qword [esp + 0x58], xmm4
movsd qword [esp + 0x50], xmm6
movsd qword [esp + 0x48], xmm7
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x30], xmm5
nop dword [eax]
addsd xmm1, xmm7
movaps xmm7, xmm5
movsd xmm5, qword [esp + 0x50]
addsd xmm7, xmm6
movsd xmm6, qword [esp + 0x48]
movaps xmm0, xmm3
mulsd xmm0, qword [0x1017e9d8]
subsd xmm4, xmm3
subsd xmm6, qword [esp + 0x40]
subsd xmm5, qword [esp + 0x30]
addsd xmm7, xmm0
movaps xmm0, xmm1
mulsd xmm0, qword [0x10174c80]
mulsd xmm1, qword [0x102511d8]
subsd xmm7, xmm0
subsd xmm1, xmm3
mulsd xmm7, qword [0x1017e9b8]
subsd xmm1, xmm7
movaps xmm0, xmm7
mulsd xmm0, qword [0x1017e9e0]
movsd qword [esp + 0x60], xmm1
addsd xmm0, xmm1
mulsd xmm0, qword [0x1017e9e0]
subsd xmm4, xmm0
movaps xmm0, xmm6
mulsd xmm0, qword [0x1017e9d0]
addsd xmm4, xmm0
movaps xmm0, xmm5
addsd xmm0, xmm5
subsd xmm4, xmm0
movaps xmm0, xmm6
addsd xmm0, xmm6
mulsd xmm6, qword [0x102511d8]
mulsd xmm4, qword [0x1017e9b0]
subsd xmm5, xmm0
subsd xmm6, xmm4
movaps xmm0, xmm4
mulsd xmm0, qword [0x10174c88]
subsd xmm5, xmm0
mulsd xmm5, qword [0x1017e9c0]
subsd xmm6, xmm5
cmp edi, esi
jne 0x10077a13
mov edi, dword [ebp + 0x14]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
nop dword [eax + eax]
mov eax, ecx
add ecx, dword [ebp + 0x10]
cdq
idiv edi
mov eax, dword [esp + 0x14]
movd xmm1, edx
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
movaps xmm0, xmm1
mulsd xmm0, xmm4
addsd xmm0, xmm7
mulsd xmm0, xmm1
addsd xmm0, xmm5
mulsd xmm0, xmm1
addsd xmm0, qword [esp + 0x60]
mulsd xmm0, xmm1
addsd xmm0, xmm6
mulsd xmm0, xmm1
addsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [eax], xmm0
add eax, 4
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
idiv edi
movsd xmm0, qword [esp + 0x68]
mov ebx, eax
mov dword [esp + 0x30], ebx
cmp ebx, esi
je 0x100779a0
mov ebx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
movsd xmm5, qword [esp + 0x40]
lea edx, [esi + 4]
movsd xmm7, qword [esp + 0x50]
movaps xmm1, xmm3
movsd xmm6, qword [esp + 0x58]
movsd xmm3, qword [esp + 0x48]
movsd qword [esp + 0x30], xmm5
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x48], xmm7
movsd qword [esp + 0x50], xmm6
test edx, edx
js 0x10077a66
cmp edx, ebx
jge 0x10077a66
cmp edx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmovle eax, edx
movss xmm0, dword [eax]
mov eax, dword [esp + 0x18]
jmp 0x10077a6d
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
cvtps2pd xmm4, xmm0
inc esi
sub eax, 4
add edx, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
movsd qword [esp + 0x58], xmm4
cmp esi, dword [esp + 0x1c]
jl 0x100778b0
mov ebx, dword [esp + 0x28]
test bl, 1
jne 0x10077aa4
mov eax, dword [esp + 0x14]
cvtpd2ps xmm0, xmm3
movss dword [eax], xmm0
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x10], edi
test esi, esi
jle 0x10077ba3
mov ecx, dword [ebp + 0x14]
lea eax, [esi - 1]
movsd xmm4, qword [ebp + 0x1c]
mov edx, 1
imul eax, ecx
sub edx, esi
imul edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
nop word [eax + eax]
lea esi, [ecx - 1]
test esi, esi
js 0x10077b88
lea ecx, [eax + esi]
xorps xmm3, xmm3
mov eax, dword [esp + 0x24]
neg eax
shl eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
imul eax, esi
cvtsd2ss xmm3, xmm4
add eax, edi
mov edi, dword [esp + 0x3c]
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x1c]
test ecx, ecx
js 0x10077b5b
cmp ecx, ebx
jge 0x10077b5b
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
cmp ecx, eax
jle 0x10077b46
mov eax, edx
sub eax, esi
add eax, ebx
mov ebx, dword [esp + 0x2c]
movss xmm1, dword [ebx + eax*4]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
jmp 0x10077b5e
mov ebx, dword [esp + 0x2c]
mov eax, ecx
movss xmm1, dword [ebx + eax*4]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
jmp 0x10077b5e
xorps xmm1, xmm1
movaps xmm0, xmm3
dec ecx
mulss xmm0, xmm1
subss xmm2, xmm0
movss dword [edi + 4], xmm0
movss dword [edi], xmm2
add edi, eax
sub esi, 1
movaps xmm2, xmm0
jns 0x10077b16
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
inc edi
add edx, ecx
sub eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x24]
jl 0x10077ae0
push dword [esp + 0x2c]
call fcn.100a80a4
mov ecx, dword [esp + 0xa8]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009fd88
mov esp, ebp
pop ebp
ret