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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 4]
mov dword [esp + 0x10], edx
cmp edx, 1
jne 0x1002bc7a
movsd xmm1, qword [0x101f33a8]
subsd xmm1, qword [eax]
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
unpcklpd xmm1, xmm1
test al, 7
jbe 0x1002bb21
xor edi, edi
test ecx, ecx
jle 0x1002c202
nop
xor ecx, ecx
test edx, edx
jle 0x1002bb0c
nop word [eax + eax]
movaps xmm0, xmm1
lea eax, [eax + 8]
mulsd xmm0, qword [eax - 8]
inc ecx
movsd qword [eax - 8], xmm0
mov edx, dword [esi + 4]
cmp ecx, edx
jl 0x1002baf0
mov eax, dword [esp + 0x14]
inc edi
add eax, 0x60
mov dword [esp + 0x14], eax
cmp edi, dword [esi + 8]
jl 0x1002bae0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
shr eax, 3
mov ecx, edx
neg eax
and eax, 1
cmp eax, edx
cmovl ecx, eax
cmp dword [esp + 0x18], 0
jle 0x1002c202
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
lea eax, [esi + 0x10]
mov dword [esp + 0x20], eax
nop
mov edi, edx
sub edi, ecx
and edi, 0xfffffffe
lea eax, [edi + ecx]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x38], eax
cmp ecx, 4
jl 0x1002bbb1
mov eax, dword [esp + 0x20]
lea esi, [ecx - 4]
shr esi, 2
inc esi
lea edx, [esi*4]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
lea eax, [eax + 0x20]
movups xmm0, xmmword [eax - 0x30]
mulpd xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
mulpd xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
sub esi, 1
jne 0x1002bb83
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
cmp eax, ecx
jl 0x1002bbb5
jmp 0x1002bbe9
test ecx, ecx
jle 0x1002bbe9
add eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea eax, [esi + eax*8]
mov esi, ecx
sub esi, dword [esp + 0x38]
nop word [eax + eax]
lea eax, [eax + 8]
movaps xmm0, xmm1
mulsd xmm0, qword [eax - 8]
movsd qword [eax - 8], xmm0
sub esi, 1
jne 0x1002bbd0
mov esi, dword [esp + 0x14]
lea eax, [edi + ecx]
cmp ecx, eax
jge 0x1002bc19
mov eax, dword [esp + 0x1c]
movaps xmm2, xmm1
add eax, ecx
unpcklpd xmm2, xmm2
lea eax, [esi + eax*8]
lea esi, [edi - 1]
shr esi, 1
inc esi
movups xmm0, xmmword [eax]
lea eax, [eax + 0x10]
mulpd xmm0, xmm2
movups xmmword [eax - 0x10], xmm0
sub esi, 1
jne 0x1002bc06
mov edi, dword [esp + 0x30]
cmp edi, edx
jge 0x1002bc47
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
add eax, edi
lea eax, [esi + eax*8]
mov esi, edx
sub esi, edi
lea eax, [eax + 8]
movaps xmm0, xmm1
mulsd xmm0, qword [eax - 8]
movsd qword [eax - 8], xmm0
sub esi, 1
jne 0x1002bc32
and ecx, 0x80000001
jns 0x1002bc54
dec ecx
or ecx, 0xfffffffe
inc ecx
mov esi, dword [esp + 0x14]
cmp edx, ecx
cmovl ecx, edx
add dword [esp + 0x20], 0x60
add dword [esp + 0x1c], 0xc
sub dword [esp + 0x18], 1
jne 0x1002bb50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
movsd xmm0, qword [eax]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002c202
mov eax, dword [esi]
movups xmm0, xmmword [esi]
add eax, 8
mov edi, dword [esi + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x100], eax
lea eax, [edx - 1]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x104], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x108], edi
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0xc
movsd qword [esp + 0x148], xmm1
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xfc], edi
movups xmmword [esp + 0x10c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x11c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x60], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x148]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xf]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x5c], eax
mov eax, edi
movq qword [esp + 0x38], xmm0
test cl, 7
jne 0x1002bd74
shr ecx, 3
neg ecx
and ecx, 1
cmp ecx, eax
cmovl edi, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push edi
push 0
lea eax, [edi + eax*2]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x58]
push eax
call fcn.10031dc0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp edi, ecx
jge 0x1002bdbf
nop word [eax + eax]
movsd xmm0, qword [esp + 0x148]
mov eax, dword [esp + 0xf4]
unpcklpd xmm0, xmm0
movups xmmword [eax + edi*8], xmm0
add edi, 2
cmp edi, ecx
jl 0x1002bda0
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x50]
push edi
push ecx
push eax
call fcn.10031dc0
movsd xmm0, qword [0x101f33a8]
add esp, 0xc
mov edx, dword [esp + 0x10]
movsd qword [esp + 0x30], xmm0
cmp edi, 1
jne 0x1002bf79
movups xmm0, xmmword [esp + 0x100]
mov edi, dword [esp + 0x104]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xdc], 0xc
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x18c], 0xc
mov dword [esp + 0x1d8], 0xc
movups xmm1, xmmword [esp + 0x60]
movups xmmword [esp + 0xac], xmm0
movd dword [esp + 0x60], xmm1
movups xmm0, xmmword [esp + 0x110]
movups xmmword [esp + 0x6c], xmm1
movups xmmword [esp + 0xbc], xmm0
movups xmm0, xmmword [esp + 0x120]
movups xmmword [esp + 0xcc], xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd dword [esp + 0x68], xmm0
movq xmm0, qword [esp + 0x38]
movq qword [esp + 0x7c], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [esp + 0x15c], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [esp + 0x16c], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [esp + 0x17c], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [esp + 0x190], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esp + 0x1a0], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [esp + 0x1b0], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [esp + 0x1c0], xmm0
movq xmm0, qword [esp + 0xe0]
movq qword [esp + 0x1d0], xmm0
test edi, edi
jne 0x1002bf3d
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
addsd xmm0, qword [eax]
movsd qword [eax], xmm0
jmp 0x1002bfed
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x13]
movd dword [esp + 0x68], xmm1
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10030e40
mov eax, dword [esp + 0x4c]
add esp, 0xc
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
addsd xmm0, qword [eax]
movsd qword [eax], xmm0
jmp 0x1002bfed
movups xmm0, xmmword [esp + 0x60]
lea eax, [esp + 0x30]
mov dword [esp + 0x78], edx
push eax
movups xmmword [esp + 0x64], xmm0
lea eax, [esp + 0x44]
mov dword [esp + 0xd4], 0xc
movq xmm0, qword [esp + 0x3c]
movq qword [esp + 0x74], xmm0
movaps xmm0, xmmword [esp + 0x104]
push eax
movaps xmmword [esp + 0xa8], xmm0
lea eax, [esp + 0xa8]
movaps xmm0, xmmword [esp + 0x118]
push eax
movaps xmmword [esp + 0xbc], xmm0
lea eax, [esp + 0x6c]
movaps xmm0, xmmword [esp + 0x12c]
push eax
movaps xmmword [esp + 0xd0], xmm0
call fcn.100319c0
add esp, 0x10
mov eax, dword [esi]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x10], eax
xor eax, eax
cmp edi, 4
jl 0x1002c06c
mov ecx, dword [esp + 0x40]
lea edx, [edi - 3]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
add edx, 0xc0
movsd xmm0, qword [edx - 0xc0]
addsd xmm0, qword [ecx + eax*8]
movsd qword [ecx + eax*8], xmm0
movsd xmm0, qword [edx - 0x60]
addsd xmm0, qword [ecx + eax*8 + 8]
movsd qword [ecx + eax*8 + 8], xmm0
movsd xmm0, qword [ecx + eax*8 + 0x10]
addsd xmm0, qword [edx]
movsd qword [ecx + eax*8 + 0x10], xmm0
movsd xmm0, qword [edx + 0x60]
add edx, 0x180
addsd xmm0, qword [ecx + eax*8 + 0x18]
movsd qword [ecx + eax*8 + 0x18], xmm0
add eax, 4
cmp eax, dword [esp + 0x30]
jl 0x1002c013
cmp eax, edi
jl 0x1002c074
jmp 0x1002c096
test edi, edi
jle 0x1002c096
mov ecx, dword [esp + 0x40]
lea edx, [eax + eax*2]
shl edx, 5
add edx, dword [esp + 0x10]
nop
movsd xmm0, qword [edx]
add edx, 0x60
addsd xmm0, qword [ecx + eax*8]
movsd qword [ecx + eax*8], xmm0
inc eax
cmp eax, edi
jl 0x1002c080
mov eax, dword [ebp + 0xc]
xor edx, edx
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
movsd xmm2, qword [eax]
mov eax, dword [esi]
mov dword [esp + 0x30], edi
cmp edi, 4
jl 0x1002c151
mov esi, dword [esp + 0x10]
add edi, 0xfffffffc
shr edi, 2
xor ecx, ecx
add esi, 0x10
inc edi
lea edx, [edi*4]
movsd xmm0, qword [eax + ecx]
movaps xmm1, xmm2
mulsd xmm1, qword [esi - 0x10]
subsd xmm0, xmm1
movaps xmm1, xmm2
movsd qword [eax + ecx], xmm0
mulsd xmm1, qword [esi - 8]
movsd xmm0, qword [eax + ecx + 0x60]
subsd xmm0, xmm1
movaps xmm1, xmm2
movsd qword [eax + ecx + 0x60], xmm0
mulsd xmm1, qword [esi]
movsd xmm0, qword [eax + ecx + 0xc0]
subsd xmm0, xmm1
movaps xmm1, xmm2
movsd qword [eax + ecx + 0xc0], xmm0
mulsd xmm1, qword [esi + 8]
add esi, 0x20
movsd xmm0, qword [eax + ecx + 0x120]
subsd xmm0, xmm1
movsd qword [eax + ecx + 0x120], xmm0
add ecx, 0x180
sub edi, 1
jne 0x1002c0d0
mov edi, dword [esp + 0x30]
cmp edx, edi
jl 0x1002c155
jmp 0x1002c17e
test edi, edi
jle 0x1002c17e
mov esi, dword [esp + 0x10]
lea ecx, [edx + edx*2]
shl ecx, 5
nop
movsd xmm0, qword [ecx + eax]
movaps xmm1, xmm2
mulsd xmm1, qword [esi + edx*8]
inc edx
subsd xmm0, xmm1
movsd qword [ecx + eax], xmm0
add ecx, 0x60
cmp edx, edi
jl 0x1002c160
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [eax]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xf]
push eax
movsd qword [esp + 0xbc], xmm0
lea eax, [esp + 0x13]
movups xmm0, xmmword [ecx]
push eax
lea eax, [esp + 0xe8]
push eax
movups xmmword [esp + 0xcc], xmm0
lea eax, [esp + 0xac]
movq xmm0, qword [ecx + 0x10]
push eax
movq qword [esp + 0xe0], xmm0
lea eax, [esp + 0x110]
movq xmm0, qword [esp + 0x50]
push eax
movq qword [esp + 0xf4], xmm0
call fcn.1002fbb0
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc