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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x248
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [edx + 8]
mov dword [esp + 0x2c], edi
add edi, 0xffffffff
mov dword [esp + 0x10], edi
js 0x1002fba2
lea eax, [edi + edi*2]
shl eax, 5
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
mov esi, dword [edx + 4]
mov eax, esi
sub eax, edi
dec eax
mov dword [esp + 8], eax
test ecx, ecx
jle 0x1002fb69
mov edx, dword [edx + 8]
sub esi, eax
sub edx, ecx
mov dword [esp + 0x138], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xfc], edx
mov dword [esp + 0x13c], edi
lea eax, [edx + edx*2]
mov dword [esp + 0x19c], 0xc
mov ecx, dword [ecx]
lea eax, [esi + eax*4]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xf8], esi
mov dword [esp + 0x1a0], esi
lea eax, [ecx + eax*8]
mov dword [esp + 0x210], 0xc
add ecx, dword [esp + 0x1c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x248], 0xc
mov dword [esp + 0x40], edi
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xdc], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [esp + 0xec], xmm0
movups xmm0, xmmword [edx]
mov dword [esp + 0xf4], eax
mov eax, dword [edx + 4]
movups xmmword [esp + 0x11c], xmm0
mov dword [esp + 0x114], eax
movq xmm0, qword [edx + 0x10]
mov eax, dword [edx + 0x18]
movq qword [esp + 0x12c], xmm0
movups xmm0, xmmword [esp + 0x110]
mov dword [esp + 0x134], eax
lea eax, [ecx + esi*8]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 8]
movups xmmword [esp + 0x16c], xmm0
mov dword [esp + 0x164], eax
movups xmm0, xmmword [esp + 0x120]
mov dword [esp + 0x1bc], eax
mov eax, dword [ebp + 0x10]
movups xmmword [esp + 0x17c], xmm0
mov esi, dword [ebp + 8]
movups xmm0, xmmword [esp + 0x130]
mov eax, dword [eax]
mov dword [esp + 0x3c], esi
movups xmmword [esp + 0x18c], xmm0
mov edx, dword [esi + 8]
mov ecx, edx
movsd xmm0, qword [eax + edi*8]
xorps xmm0, xmmword [0x101f4c00]
movsd qword [esp + 0x1c0], xmm0
movups xmm0, xmmword [esp + 0x160]
mov eax, dword [esi]
imul ecx, edi
movups xmmword [esp + 0x1c8], xmm0
mov dword [esp + 0x38], edx
movups xmm0, xmmword [esp + 0x170]
movups xmmword [esp + 0x1d8], xmm0
movups xmm0, xmmword [esp + 0x180]
lea eax, [eax + ecx*8]
mov dword [esp + 0x30], eax
movups xmmword [esp + 0x1e8], xmm0
movups xmm0, xmmword [esp + 0x190]
movups xmmword [esp + 0x1f8], xmm0
movq xmm0, qword [esp + 0x1a0]
movq qword [esp + 0x208], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [esp + 0x218], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [esp + 0x228], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [esp + 0x238], xmm0
mov esi, dword [esp + 0xc]
mov ecx, edx
movups xmm0, xmmword [esp + 0x30]
sub ecx, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0xc8], ecx
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0xa4], esi
movq xmm0, qword [esp + 0x40]
lea eax, [eax + ecx*8]
movq qword [esp + 0xb8], xmm0
lea ecx, [esp + 0x84]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x150]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x1a]
mov dword [esp + 0x6c], ecx
xorps xmm0, xmm0
mov dword [esp + 0x9c], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xcc], edx
movsd qword [esp + 0x150], xmm0
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x70], ecx
test al, 7
jne 0x1002f902
shr eax, 3
neg eax
and eax, 1
cmp eax, esi
cmovl esi, eax
mov eax, dword [esp + 0xc]
sub eax, esi
mov eax, eax
test eax, eax
jns 0x1002f911
add eax, 1
sar eax, 1
lea eax, [esi + eax*2]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x68]
push 0
push eax
call fcn.10031dc0
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp esi, ecx
jge 0x1002f95f
nop dword [eax]
nop word [eax + eax]
movsd xmm0, qword [esp + 0x150]
mov eax, dword [esp + 0x84]
unpcklpd xmm0, xmm0
movups xmmword [eax + esi*8], xmm0
add esi, 2
cmp esi, ecx
jl 0x1002f940
push dword [esp + 0xc]
lea eax, [esp + 0x68]
push ecx
push eax
call fcn.10031dc0
movsd xmm0, qword [0x101f33a8]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x228]
movsd qword [esp + 0x30], xmm0
push eax
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10032270
mov ecx, dword [esp + 0x48]
add esp, 0x1c
lea eax, [ecx - 1]
mov esi, eax
mov dword [esp + 8], esi
cmp esi, edi
jle 0x1002fb69
mov edi, ecx
sub edi, eax
dec edi
mov dword [esp + 0x14], edi
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, eax
imul ecx, dword [esp + 0x10]
inc eax
imul eax, esi
add ecx, esi
movsd xmm1, qword [edx + ecx*8]
movaps xmm0, xmm1
mulsd xmm0, qword [edx + eax*8]
movsd qword [edx + ecx*8], xmm0
test edi, edi
jle 0x1002fb51
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], 0
mov edi, dword [eax + 8]
mov edx, edi
mov esi, dword [eax]
mov ecx, edi
imul ecx, dword [esp + 0x10]
sub edx, dword [esp + 0x14]
mov dword [esp + 0x38], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x98], edi
lea eax, [esi + ecx*8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esp + 0x30]
mov dword [esp + 0x40], eax
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x14]
lea eax, [esi + eax*8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x9c], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0x90]
mov eax, edi
mov dword [esp + 0x74], ecx
imul eax, dword [esp + 8]
lea ecx, [esp + 0x30]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x1b]
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x9c]
movq xmm0, qword [esp + 0x40]
add eax, edx
movq qword [esp + 0xb8], xmm0
movsd qword [esp + 0x38], xmm1
mov dword [esp + 0x80], ecx
lea eax, [esi + eax*8]
mov esi, edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x90], eax
test al, 7
jne 0x1002fae3
shr eax, 3
neg eax
and eax, 1
cmp eax, edi
cmovl esi, eax
mov eax, edi
sub eax, esi
mov eax, eax
test eax, eax
jns 0x1002faf0
add eax, 1
sar eax, 1
lea eax, [esi + eax*2]
push esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x78]
push 0
push eax
call fcn.10031ec0
mov edx, dword [esp + 0x2c]
add esp, 0xc
cmp esi, edx
jge 0x1002fb3e
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x38]
mov ecx, dword [esp + 0x90]
unpcklpd xmm0, xmm0
movups xmm1, xmmword [eax + esi*8]
mulpd xmm1, xmm0
addpd xmm1, xmmword [ecx + esi*8]
movups xmmword [ecx + esi*8], xmm1
add esi, 2
cmp esi, edx
jl 0x1002fb11
push edi
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.10031ec0
mov esi, dword [esp + 0x14]
add esp, 0xc
dec esi
inc edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], edi
cmp esi, dword [esp + 0x10]
jg 0x1002f9c0
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
sub dword [esp + 0x1c], 0x60
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [ecx]
inc eax
imul eax, edi
movsd xmm0, qword [ecx + edi*8]
dec edi
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
movsd qword [edx + eax*8], xmm0
mov edx, dword [ebp + 0xc]
test edi, edi
jns 0x1002f665
pop edi
pop esi
mov esp, ebp
pop ebp
ret