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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov ecx, dword [eax + 0x1f4]
movsd xmm0, qword [eax + 0x148]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 0xc]
movsd qword [esp + 0x6c], xmm0
push edi
mov dword [esp + 0x40], ebx
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov dword [esp + 0x24], ecx
movsd xmm0, qword [ecx + eax + 0x148]
movsd qword [esp + 0x78], xmm0
cmp dword [ebp + 0x40], ebx
jle 0x100850db
mov edi, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x38]
mov esi, dword [ebp + 0x28]
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov eax, edx
sar eax, cl
imul eax, ebx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
test edi, edi
jle 0x100850c6
mov edi, dword [ebp + 0x34]
mov dword [esp + 0x3c], edi
mov esi, dword [esi]
mov eax, edx
mov ecx, esi
sar eax, cl
mov dword [esp + 0x34], eax
imul eax, ebx
cmp byte [edi], 0
mov dword [esp + 0x20], eax
je 0x100850ad
mov edi, dword [ebp + 0x28]
mov ebx, edx
mov edx, dword [ebp + 0x20]
mov edi, dword [edi + 4]
mov ecx, edi
sar ebx, cl
mov eax, ebx
sar edx, cl
imul eax, dword [esp + 0x40]
mov ecx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x50], ebx
sub edx, eax
mov eax, dword [esp + 0x34]
cmp edx, ebx
cmovge edx, ebx
mov ebx, dword [ebp + 0x1c]
sar ebx, cl
sub ebx, dword [esp + 0x20]
cmp ebx, eax
mov dword [esp + 0x48], ebx
cmovl eax, ebx
imul edx, eax
cmp edx, dword [ebp + 0x38]
jle 0x100850a2
mov edx, dword [esp + 0x30]
mov ecx, edi
mov edi, dword [esp + 0x20]
xorps xmm2, xmm2
mov eax, dword [ebp + 0x14]
shl edx, cl
mov ecx, esi
mov esi, dword [ebp + 0x2c]
shl edi, cl
test esi, esi
mov ecx, dword [ebp + 0x24]
cmovne ecx, dword [ebp + 0x30]
cmovne eax, esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
sub eax, edx
mov dword [esp + 0x14], edi
cmp dword [esi + 0xc], 0
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x44], ecx
je 0x10084c1d
cmp eax, esi
cmovl esi, eax
mov eax, dword [ebp + 0x1c]
sub eax, edi
mov dword [esp + 0x60], esi
mov edi, dword [ebp + 0x38]
cmp eax, edi
cmovl edi, eax
test esi, esi
jle 0x10084b54
mov ebx, ecx
mov dword [esp + 0x2c], esi
imul ebx, edx
lea eax, [ecx + ecx]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
lea eax, [edx + 2]
add eax, ebx
lea eax, [ecx + eax*2]
mov ecx, esi
mov dword [esp + 0x28], eax
xor esi, esi
cmp edi, 4
jl 0x10084af3
lea edx, [edi - 4]
mov ecx, eax
shr edx, 2
inc edx
lea esi, [edx*4]
nop dword [eax + eax]
movzx eax, word [ecx - 4]
movd xmm1, eax
movzx eax, word [ecx - 2]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
movzx eax, word [ecx]
addsd xmm2, xmm1
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
movd xmm0, eax
movzx eax, word [ecx + 2]
add ecx, 8
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
sub edx, 1
jne 0x10084aa0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
cmp esi, edi
jge 0x10084b2f
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + esi]
add eax, edx
mov edx, edi
sub edx, esi
lea ecx, [ecx + eax*2]
nop word [eax + eax]
movzx eax, word [ecx]
add ecx, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
sub edx, 1
jne 0x10084b10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, dword [esp + 0x58]
add ebx, dword [esp + 0x44]
sub ecx, 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jne 0x10084a84
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
imul edi, esi
xorps xmm3, xmm3
mov ecx, dword [esp + 0x18]
xorps xmm4, xmm4
mov esi, dword [esp + 0x30]
sub ecx, esi
cmp ecx, dword [esp + 0x50]
cmovge ecx, dword [esp + 0x50]
cmp ebx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
movd xmm0, edi
cvtdq2pd xmm0, xmm0
cmovge ebx, dword [esp + 0x34]
divsd xmm2, xmm0
movsd qword [esp + 0x60], xmm2
test ecx, ecx
jle 0x10084dda
mov edx, dword [ebp + 0x24]
movsd qword [esp + 0x60], xmm2
lea eax, [edx + edx]
mov dword [esp + 0x34], eax
mov eax, esi
imul eax, edx
mov edx, dword [ebp + 0x18]
add eax, dword [esp + 0x20]
lea edi, [edx + eax*2]
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
test ebx, ebx
jle 0x10084c0d
mov esi, dword [ebp + 0x14]
mov ecx, edi
sub esi, edx
mov edx, ebx
nop dword [eax]
movzx eax, word [esi + ecx]
movd xmm1, eax
movzx eax, word [ecx]
add ecx, 2
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movaps xmm0, xmm1
mulsd xmm1, xmm1
addsd xmm4, xmm0
addsd xmm3, xmm1
sub edx, 1
jne 0x10084bd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x18]
add edi, ecx
sub eax, 1
mov dword [esp + 0x2c], eax
jne 0x10084bc0
jmp 0x10084dd6
cmp eax, esi
cmovl esi, eax
mov eax, dword [ebp + 0x1c]
sub eax, edi
mov dword [esp + 0x60], esi
mov edi, dword [ebp + 0x38]
cmp eax, edi
cmovl edi, eax
test esi, esi
jle 0x10084d27
mov eax, dword [esp + 0x1c]
mov ebx, ecx
imul ebx, edx
add eax, 2
mov edx, dword [esp + 0x14]
mov ecx, esi
mov dword [esp + 0x28], esi
add eax, ebx
add eax, edx
mov dword [esp + 0x2c], eax
nop dword [eax]
xor esi, esi
cmp edi, 4
jl 0x10084cd3
lea edx, [edi - 4]
mov ecx, eax
shr edx, 2
inc edx
lea esi, [edx*4]
nop word [eax + eax]
movzx eax, byte [ecx - 2]
movd xmm1, eax
movzx eax, byte [ecx - 1]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
movzx eax, byte [ecx]
addsd xmm2, xmm1
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
movd xmm0, eax
movzx eax, byte [ecx + 1]
add ecx, 4
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
sub edx, 1
jne 0x10084c80
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp esi, edi
jge 0x10084d02
mov ecx, dword [esp + 0x1c]
add ecx, esi
add ecx, edx
mov edx, edi
add ecx, ebx
sub edx, esi
movzx eax, byte [ecx]
inc ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
sub edx, 1
jne 0x10084ce5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x44]
add ebx, dword [esp + 0x44]
sub ecx, 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jne 0x10084c60
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
imul edi, esi
xorps xmm3, xmm3
mov ecx, dword [esp + 0x18]
xorps xmm4, xmm4
mov edx, dword [esp + 0x30]
sub ecx, edx
cmp ecx, dword [esp + 0x50]
cmovge ecx, dword [esp + 0x50]
cmp ebx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
movd xmm0, edi
cvtdq2pd xmm0, xmm0
cmovge ebx, dword [esp + 0x34]
divsd xmm2, xmm0
movsd qword [esp + 0x60], xmm2
test ecx, ecx
jle 0x10084dda
mov edi, edx
movsd qword [esp + 0x60], xmm2
imul edi, dword [ebp + 0x24]
mov eax, ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x50], eax
add edi, dword [esp + 0x20]
add edi, edx
test ebx, ebx
jle 0x10084dcb
mov esi, dword [ebp + 0x14]
mov ecx, edi
sub esi, edx
mov edx, ebx
movzx eax, byte [ecx + esi]
movd xmm1, eax
movzx eax, byte [ecx]
inc ecx
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movaps xmm0, xmm1
mulsd xmm1, xmm1
addsd xmm4, xmm0
addsd xmm3, xmm1
sub edx, 1
jne 0x10084d91
mov eax, dword [esp + 0x50]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x24]
add edi, ecx
sub eax, 1
mov dword [esp + 0x50], eax
jne 0x10084d84
mov ecx, dword [esp + 0x18]
imul ebx, ecx
cmp dword [ebp + 0xc], 0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov ebx, dword [ebp + 8]
divsd xmm4, xmm0
divsd xmm3, xmm0
mulsd xmm4, xmm4
subsd xmm3, xmm4
movsd qword [esp + 0x58], xmm3
jle 0x10084ec2
movsd xmm3, qword [ebx + 0x120]
comisd xmm3, xmm2
movsd xmm4, qword [ebx + 0x128]
jbe 0x10084e23
movaps xmm1, xmm3
jmp 0x10084e2a
movaps xmm1, xmm4
minsd xmm1, xmm2
mov esi, dword [ebx + 0x130]
subsd xmm1, xmm3
dec esi
subsd xmm4, xmm3
sub esp, 8
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
divsd xmm1, xmm4
movsd qword [esp + 0x58], xmm1
fld qword [esp + 0x58]
fstp qword [esp]
movsd qword [esp + 0x50], xmm1
call fcn.103a5af0
movsd xmm1, qword [esp + 0x50]
add esp, 8
mov ecx, dword [ebx + 0x118]
movsd xmm3, qword [0x103bfbf0]
fstp qword [esp + 0x50]
cvttsd2si eax, qword [esp + 0x50]
mov ebx, dword [ebp + 0x10]
mov edi, dword [esp + 0x6c]
movsd xmm4, qword [ebx + edi*8]
mov ebx, dword [ebp + 8]
movd xmm0, eax
lea edx, [eax + 1]
cvtdq2pd xmm0, xmm0
cmp esi, edx
cmovge esi, edx
subsd xmm1, xmm0
subsd xmm3, xmm1
mulsd xmm1, qword [ecx + esi*8]
mulsd xmm3, qword [ecx + eax*8]
addsd xmm3, xmm1
mulsd xmm3, qword [esp + 0x70]
jmp 0x10084ece
xorps xmm4, xmm4
movsd qword [esp + 0x60], xmm2
xorps xmm3, xmm3
movsd xmm0, qword [esp + 0x58]
mulsd xmm0, qword [0x103bfbd0]
movsd xmm1, qword [0x103bfc08]
mulsd xmm4, xmm3
movsd qword [esp + 0x50], xmm0
movaps xmm0, xmm4
call fcn.103a4d80
movsd xmm1, qword [esp + 0x58]
subsd xmm1, xmm0
movsd xmm0, qword [esp + 0x50]
maxsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10084f19
sqrtsd xmm0, xmm0
jmp 0x10084f1e
call fcn.103a58d0
divsd xmm0, qword [esp + 0x78]
mov eax, dword [esp + 0x24]
movsd xmm2, qword [eax + ebx + 0x120]
movsd xmm3, qword [eax + ebx + 0x128]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0x60]
comisd xmm2, xmm0
jbe 0x10084f51
movaps xmm1, xmm2
jmp 0x10084f58
movaps xmm1, xmm3
minsd xmm1, xmm0
mov edi, dword [eax + ebx + 0x130]
subsd xmm1, xmm2
subsd xmm3, xmm2
sub esp, 8
lea ebx, [edi - 1]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
divsd xmm1, xmm3
movsd qword [esp + 0x68], xmm1
fld qword [esp + 0x68]
fstp qword [esp]
movsd qword [esp + 0x60], xmm1
call fcn.103a5af0
movsd xmm3, qword [esp + 0x60]
lea ecx, [edi*8 + 8]
movsd xmm2, qword [0x103bfbf0]
add esp, 8
fstp qword [esp + 0x60]
cvttsd2si esi, qword [esp + 0x60]
mov edx, dword [esp + 0x24]
movd xmm0, esi
lea eax, [esi + 1]
cvtdq2pd xmm0, xmm0
cmp ebx, eax
cmovge ebx, eax
mov eax, dword [ebp + 8]
imul ecx, esi
mov eax, dword [edx + eax + 0x110]
subsd xmm3, xmm0
subsd xmm2, xmm3
movaps xmm0, xmm2
movaps xmm1, xmm2
mulsd xmm0, xmm2
mulsd xmm1, xmm3
addsd xmm0, qword [ecx + eax]
movsd qword [ecx + eax], xmm0
mov ecx, edi
mov eax, dword [ebp + 8]
movaps xmm0, xmm1
imul ecx, ebx
mov eax, dword [edx + eax + 0x110]
lea edx, [edi*8 + 8]
imul edx, ebx
add ecx, esi
imul edi, esi
addsd xmm0, qword [eax + ecx*8]
add edi, ebx
movsd qword [eax + ecx*8], xmm0
movaps xmm0, xmm3
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x24]
mulsd xmm0, xmm3
mov eax, dword [eax + ecx + 0x110]
addsd xmm0, qword [edx + eax]
movsd qword [edx + eax], xmm0
mov edx, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x50]
mulsd xmm2, xmm0
mov eax, dword [edx + ecx + 0x110]
mulsd xmm3, xmm0
addsd xmm1, qword [eax + edi*8]
movsd qword [eax + edi*8], xmm1
mov eax, dword [edx + ecx + 0x114]
addsd xmm2, qword [eax + esi*8]
movsd qword [eax + esi*8], xmm2
mov eax, dword [edx + ecx + 0x114]
addsd xmm3, qword [eax + ebx*8]
movsd qword [eax + ebx*8], xmm3
addsd xmm0, qword [edx + ecx + 0x138]
inc dword [edx + ecx + 0x134]
movsd qword [edx + ecx + 0x138], xmm0
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov edx, dword [ebp + 0x38]
mov esi, dword [ebp + 0x28]
inc ebx
inc edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
cmp ebx, dword [ebp + 0x3c]
jl 0x10084993
mov edi, dword [ebp + 0x3c]
mov ebx, dword [esp + 0x40]
add dword [ebp + 0x34], edi
inc ebx
mov dword [esp + 0x40], ebx
cmp ebx, dword [ebp + 0x40]
jl 0x10084970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret