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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
push esi
push edi
or edi, ecx
mov dword [esp + 0xc], ecx
mov esi, dword [eax + 0x28]
lea ecx, [esp + 0x40]
push ecx
imul ecx, dword [eax + 4], 0x3c0
xorps xmm0, xmm0
mov eax, dword [eax + 0x20]
add esi, 0x20
mov dword [esp + 0x20], esi
movss dword [esp + 0x38], xmm0
mov dword [esp + 0x3c], edi
add ecx, 0xfffffdc0
movaps xmmword [esp + 0xc4], xmm0
add eax, ecx
movaps xmmword [esp + 0xd4], xmm0
push eax
lea eax, [esp + 0x68]
movaps xmmword [esp + 0xa8], xmm0
push eax
movaps xmmword [esp + 0xbc], xmm0
movaps xmmword [esp + 0x4c], xmm0
movaps xmmword [esp + 0x5c], xmm0
call fcn.0070a350
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [edx + 4]
mov eax, ecx
shl eax, 5
movaps xmm1, xmmword [eax + esi - 0x20]
subps xmm1, xmmword [esp + 0x60]
movaps xmmword [esp + 0x40], xmm1
movaps xmm2, xmmword [eax + esi - 0x10]
lea esi, [ecx - 1]
mov dword [esp + 0x10], esi
subps xmm2, xmmword [esp + 0x70]
movaps xmmword [esp + 0x50], xmm2
test esi, esi
js 0x6f23ad
mov edi, dword [esp + 0x1c]
lea eax, [esi + esi*2]
mov dword [esp + 0x30], eax
lea ecx, [esi - 1]
mov eax, esi
mov dword [esp + 0x24], ecx
shl eax, 6
add edi, 0xffffffe0
mov dword [esp + 0x2c], eax
mov eax, esi
shl eax, 5
add eax, edi
mov dword [esp + 0x28], eax
movaps xmm0, xmmword [esp + 0xa0]
movsx eax, cx
imul edi, eax, 0x3c0
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xa0], xmm1
add edi, dword [edx + 0x20]
movaps xmmword [esp + 0xb0], xmm2
test ecx, ecx
js 0x6f2052
lea eax, [esp + 0x40]
push eax
lea eax, [edi + 0x180]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0070a350
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x24]
movaps xmm0, xmmword [eax]
subps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [eax + 0x10]
subps xmm0, xmmword [esp + 0x70]
movaps xmmword [esp + 0x50], xmm0
xorps xmm0, xmm0
jmp 0x6f205f
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
test ecx, ecx
js 0x6f207f
lea eax, [edi + 0x300]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.0070a430
add esp, 8
jmp 0x6f2121
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x180], xmm0
movaps xmmword [esp + 0x190], xmm0
mov dword [esp + 0xe0], 0x3f800000
mov dword [esp + 0xf4], 0x3f800000
mov dword [esp + 0x108], 0x3f800000
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x140], xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x160], xmm0
mov dword [esp + 0x170], 0x3f800000
mov dword [esp + 0x184], 0x3f800000
mov dword [esp + 0x198], 0x3f800000
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0070a350
lea eax, [esp + 0xac]
push eax
lea eax, [edi + 0x600]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0070a350
movaps xmm0, xmmword [esp + 0x98]
lea eax, [esp + 0xd8]
addps xmm0, xmmword [esp + 0x78]
push eax
lea eax, [edi + 0x6c0]
push eax
lea eax, [esp + 0x80]
movaps xmmword [esp + 0xa0], xmm0
movaps xmm0, xmmword [esp + 0xb0]
addps xmm0, xmmword [esp + 0x90]
push eax
movaps xmmword [esp + 0xb4], xmm0
call fcn.0070a350
movaps xmm0, xmmword [esp + 0xa4]
xor ecx, ecx
addps xmm0, xmmword [esp + 0x84]
mov eax, dword [ebp + 8]
add esp, 0x24
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0x24]
add eax, dword [esp + 0x2c]
movaps xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [esp + 0x90]
addps xmm0, xmmword [esp + 0x70]
mov dword [esp + 0x1c], eax
movaps xmmword [esp + 0x90], xmm0
movzx edx, byte [eax]
mov dword [esp + 0x14], edx
nop dword [eax]
add cl, cl
mov edi, edx
shr edi, cl
and edi, 3
mov dword [esp + 0x3c], edi
cmp edi, 3
je 0x6f220b
cmp edi, 1
jne 0x6f235b
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov edx, dword [ecx + esi*4]
mov ecx, dword [ecx + esi*4 + 4]
add edx, eax
mov esi, dword [esp + 0x30]
add ecx, eax
add esi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
movaps xmm5, xmmword [edx + 0x20]
subps xmm5, xmmword [edx + 0x50]
movaps xmm0, xmmword [ecx + 0x20]
subps xmm0, xmmword [ecx + 0x50]
movups xmm2, xmmword [ecx + 0x50]
shl esi, 5
mov ecx, edi
add esi, dword [eax + 0x14]
mov eax, dword [esp + 0x20]
movups xmm3, xmmword [edx + 0x50]
mulps xmm5, xmmword [esi]
movaps xmm4, xmmword [esi + 0x10]
movss xmm6, dword [eax + edi + 0x10]
mulps xmm3, xmmword [esi]
mov edi, dword [esp + 0x3c]
mulps xmm0, xmm4
mulps xmm4, xmm2
movss xmm1, dword [esi + 0x1c]
mulss xmm1, xmm6
addps xmm5, xmm0
movss xmm0, dword [eax + ecx + 0x14]
addps xmm4, xmm3
mov eax, dword [ebp + 8]
shufps xmm0, xmm0, 0
mulps xmm5, xmm0
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x40]
mulss xmm0, xmm6
shufps xmm0, xmm0, 0
mulps xmm4, xmm0
addps xmm5, xmm4
movaps xmm0, xmm5
shufps xmm0, xmm5, 0x55
addss xmm0, xmm5
shufps xmm5, xmm5, 0xaa
addss xmm5, xmm0
movss xmm0, dword [esp + ecx*4 + 0x90]
subss xmm1, xmm5
cmp edi, 3
jne 0x6f2326
comiss xmm1, xmm0
jae 0x6f2330
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
inc ecx
add edi, 0x14
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
cmp edi, 0x3c
jl 0x6f21f0
mov ecx, dword [esp + 0x24]
dec esi
sub dword [esp + 0x28], 0x20
dec ecx
sub dword [esp + 0x2c], 0x40
sub dword [esp + 0x30], 3
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ecx
test esi, esi
js 0x6f2379
movaps xmm2, xmmword [esp + 0x50]
movaps xmm1, xmmword [esp + 0x40]
mov edx, dword [ebp + 8]
jmp 0x6f1fd1
cmp edi, 1
jne 0x6f2368
comiss xmm0, xmm1
jb 0x6f22ce
subss xmm0, xmm1
andps xmm0, xmmword [0x719120]
comiss xmm0, dword [esp + 0x34]
jbe 0x6f22ce
mov esi, dword [esp + 0x10]
mov eax, esi
movss dword [esp + 0x34], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], ecx
jmp 0x6f22d6
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
jmp 0x6f22da
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
jmp 0x6f22da
test eax, eax
js 0x6f23ad
mov edi, dword [esp + 0x38]
mov esi, eax
mov eax, dword [ebp + 8]
mov dl, 3
shl esi, 6
lea ecx, [edi + edi]
add esi, dword [eax + 0x24]
xor al, al
shl dl, cl
not dl
shl al, cl
mov ecx, dword [esp + 0xc]
and dl, byte [esi]
or dl, al
mov eax, dword [ebp + 0xc]
mov byte [esi], dl
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret