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

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
lea rbp, [rsp + 0x20]
movsxd r14, dword [rcx + 4]
mov qword [rbp + 0xa0], rbx
movaps xmmword [rbp + 0x40], xmm6
movss xmm6, dword [rcx + 0xc]
xor edi, edi
lea rax, [r14*4]
movaps xmmword [rbp + 0x30], xmm7
movaps xmmword [rbp + 0x20], xmm8
movaps xmmword [rbp + 0x10], xmm9
mov rsi, r9
mov r9, rcx
lea rcx, [rax + 0xf]
mov rbx, r8
mov r15, rdx
mov r13d, edi
mov dword [rbp + 0x98], edi
mov r8, r14
cmp rcx, rax
ja 0x1400368a0
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140061b40
mov eax, dword [r9 + 0xe8]
sub rsp, rcx
movss xmm1, dword [r15 + 0x3c]
xorps xmm9, xmm9
cdq
lea r12, [rsp + 0x20]
movaps xmm8, xmm1
sub eax, edx
mov edx, 2
mov qword [rbp], r12
sar eax, 1
cmp eax, edx
mov ecx, eax
cmovl ecx, edx
add eax, 0xfffffffe
mov dword [rbp + 0x90], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm8, xmm0
comiss xmm9, xmm8
jbe 0x1400368fd
movaps xmm8, xmm9
comiss xmm8, xmm1
jbe 0x140036907
movaps xmm8, xmm1
cmp r14, 4
jl 0x1400369cf
mov rax, qword [rbp]
lea rdx, [r12 + 4]
mov r10, rbx
sub r10, r12
mov esi, 4
lea r11, [r14 - 4]
sub rsi, r12
mov r12d, 8
mov r13, 0xfffffffffffffffc
shr r11, 2
sub r12, rax
sub r13, rax
inc r11
lea rdi, [r11*4]
nop
mov rax, qword [r9 + 0x30]
lea rcx, [r13 + rdx]
add rdx, 0x10
dec r11
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [r10 + rdx - 0x14]
movss dword [rdx - 0x14], xmm0
mov rax, qword [r9 + 0x30]
movss xmm1, dword [rcx + rax + 4]
mulss xmm1, dword [r10 + rdx - 0x10]
movss dword [rdx - 0x10], xmm1
mov rax, qword [r9 + 0x30]
lea rcx, [rsi + rax]
movss xmm0, dword [rcx + rdx - 0x10]
mulss xmm0, dword [r10 + rdx - 0xc]
movss dword [rdx - 0xc], xmm0
mov rax, qword [r9 + 0x30]
lea rcx, [r12 + rax]
movss xmm0, dword [rcx + rdx - 0x10]
mulss xmm0, dword [r10 + rdx - 8]
movss dword [rdx - 8], xmm0
jne 0x140036950
mov rsi, qword [rbp + 0xa8]
mov r13d, dword [rbp + 0x98]
mov r12, qword [rbp]
cmp rdi, r14
jge 0x140036a05
mov r10, r12
sub rbx, r12
lea rdx, [r12 + rdi*4]
neg r10
sub r8, rdi
mov rax, qword [r9 + 0x30]
lea rcx, [r10 + rdx]
add rdx, 4
dec r8
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [rdx + rbx - 4]
movss dword [rdx - 4], xmm0
jne 0x1400369e4
lea rcx, [r9 + 0x10]
mov r8, r12
mov rdx, r12
call fcn.140030680
movss xmm1, dword [r12]
movss xmm2, dword [r12 + 8]
movss xmm5, dword [r12 + 4]
mov r12, qword [rbp + 0xb0]
mulss xmm1, xmm1
unpcklps xmm2, xmm2
unpcklps xmm5, xmm5
cvtps2pd xmm3, xmm5
movsxd rax, dword [r12 + 0x8c]
mulsd xmm3, qword [0x14006c138]
unpcklps xmm1, xmm1
unpcklps xmm5, xmm5
cvtps2pd xmm0, xmm5
mulsd xmm3, xmm0
cvtps2pd xmm0, xmm1
cvtps2pd xmm1, xmm2
mulsd xmm1, qword [0x14006c130]
unpcklps xmm2, xmm2
addsd xmm3, xmm0
cvtps2pd xmm0, xmm2
mulsd xmm1, xmm0
addsd xmm3, xmm1
cvtsd2ss xmm2, xmm3
movaps xmm1, xmm2
test eax, eax
jne 0x140036a9a
addss xmm1, dword [r12 + 0x88]
movss dword [r12 + 0x88], xmm2
jmp 0x140036abb
addss xmm1, dword [r12 + 0x84]
movaps xmm0, xmm2
addss xmm0, dword [r12 + 0x88]
movss dword [r12 + 0x88], xmm0
movss xmm5, dword [0x14006bf74]
movss xmm7, dword [str.p_Dh_5_f_n]
movss dword [r12 + 0x84], xmm1
mov r9d, 0
movss xmm0, xmm1
subss xmm0, dword [r12 + rax*4 + 0x48]
unpcklps xmm1, xmm1
movss dword [r12 + 0x84], xmm0
movss dword [r12 + rax*4 + 0x48], xmm2
cvtps2pd xmm1, xmm1
inc dword [r12 + 0x8c]
mov eax, dword [r12 + 0x8c]
cmp eax, 0xf
cmovge eax, r9d
mulsd xmm1, qword [0x14006c128]
mov dword [r12 + 0x8c], eax
mov eax, r14d
mov r14, qword [rbp]
cvtsd2ss xmm0, xmm1
cdq
sub eax, edx
movss dword [rbp + 0xb0], xmm0
mov ecx, dword [rbp + 0xb0]
pxor xmm0, xmm0
btr ecx, 0x1f
sar eax, 1
cvtsi2ss xmm0, rcx
mulss xmm0, xmm5
subss xmm0, xmm7
unpcklps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x14006bb98]
subsd xmm0, qword [0x14006c120]
cvtsd2ss xmm2, xmm0
test eax, eax
jle 0x140036c13
movss xmm4, dword [0x14006bf38]
movsd xmm3, qword [0x14006beb8]
lea r8d, [rax - 1]
shr r8d, 1
mov edx, r9d
mov rcx, r14
inc r8d
nop dword [rax]
movss xmm0, dword [rcx + 4]
movss xmm1, dword [rcx]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
pxor xmm0, xmm0
movss dword [rbp + 0xb0], xmm1
mov eax, dword [rbp + 0xb0]
btr eax, 0x1f
cvtsi2ss xmm0, rax
mulss xmm0, xmm5
subss xmm0, xmm7
mulss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x140036be4
movaps xmm0, xmm2
comiss xmm6, xmm0
jbe 0x140036bec
movaps xmm0, xmm6
mov rax, rdx
unpcklps xmm2, xmm2
add rcx, 8
sar rax, 1
add rdx, 2
dec r8
movss dword [r14 + rax*4], xmm0
cvtps2pd xmm0, xmm2
subsd xmm0, xmm3
cvtsd2ss xmm2, xmm0
jne 0x140036ba0
movss xmm6, dword [0x14006c11c]
movss xmm7, dword [0x14006c118]
add r15, 0x20
add rsi, 8
mov rdi, r9
lea rbx, [r12 + 0x44]
mov qword [rbp + 0xb0], 7
nop
mov r10d, r9d
mov r11, r9
mov r9d, dword [rsi - 4]
movaps xmm3, xmm9
cmp r9d, 4
jl 0x140036cc8
movsxd rax, dword [rsi - 8]
mov rcx, qword [rsi]
lea rdx, [r14 + rax*4 + 8]
lea eax, [r9 - 4]
add rcx, 8
shr eax, 2
inc eax
mov r8d, eax
lea r10d, [rax*4]
lea r11, [rax*4]
movss xmm1, dword [rdx - 8]
movss xmm0, dword [rdx - 4]
add rcx, 0x10
add rdx, 0x10
dec r8
mulss xmm1, dword [rcx - 0x18]
mulss xmm0, dword [rcx - 0x14]
addss xmm1, xmm3
movaps xmm3, xmm1
movss xmm1, dword [rcx - 0x10]
addss xmm3, xmm0
movss xmm0, dword [rdx - 0xc]
mulss xmm1, dword [rdx - 0x10]
mulss xmm0, dword [rcx - 0xc]
addss xmm3, xmm1
addss xmm3, xmm0
jne 0x140036c80
cmp r10d, r9d
jge 0x140036cff
mov rax, qword [rsi]
lea rcx, [rax + r11*4]
movsxd rax, dword [rsi - 8]
add rax, r11
sub r9d, r10d
lea rdx, [r14 + rax*4]
mov eax, r9d
movss xmm0, dword [rcx]
add rcx, 4
add rdx, 4
dec rax
mulss xmm0, dword [rdx - 4]
addss xmm3, xmm0
jne 0x140036ce5
movsxd r11, dword [rbx]
mulss xmm3, dword [rsi + 8]
movaps xmm1, xmm6
movaps xmm2, xmm7
lea ecx, [r11 - 1]
test ecx, ecx
jns 0x140036d18
add ecx, 0x11
movsxd r8, ecx
lea rax, [rdi + r8]
movss xmm4, dword [r12 + rax*4]
comiss xmm3, xmm4
jbe 0x140036d2f
movaps xmm5, xmm3
jmp 0x140036d32
movaps xmm5, xmm4
comiss xmm4, xmm3
jbe 0x140036d3a
movaps xmm4, xmm3
mov r9d, dword [rbp + 0x90]
xor r10d, r10d
cmp r9d, 4
jl 0x140036e28
lea rax, [rdi + r8]
lea rdx, [r12 + rax*4]
lea eax, [r9 - 4]
shr eax, 2
inc eax
mov r9d, eax
lea r10d, [rax*4]
nop word [rax + rax]
dec r8
sub rdx, 4
dec ecx
jns 0x140036d86
add ecx, 0x11
add r8, 0x11
add rdx, 0x44
movss xmm0, dword [rdx]
comiss xmm1, xmm0
ja 0x140036d92
movaps xmm1, xmm0
comiss xmm0, xmm2
ja 0x140036d9a
movaps xmm2, xmm0
dec r8
sub rdx, 4
dec ecx
jns 0x140036db0
add ecx, 0x11
add r8, 0x11
add rdx, 0x44
movss xmm0, dword [rdx]
comiss xmm1, xmm0
ja 0x140036dbc
movaps xmm1, xmm0
comiss xmm0, xmm2
ja 0x140036dc4
movaps xmm2, xmm0
dec r8
sub rdx, 4
dec ecx
jns 0x140036dda
add ecx, 0x11
add r8, 0x11
add rdx, 0x44
movss xmm0, dword [rdx]
comiss xmm1, xmm0
ja 0x140036de6
movaps xmm1, xmm0
comiss xmm0, xmm2
ja 0x140036dee
movaps xmm2, xmm0
dec r8
sub rdx, 4
dec ecx
jns 0x140036e04
add ecx, 0x11
add r8, 0x11
add rdx, 0x44
movss xmm0, dword [rdx]
comiss xmm1, xmm0
ja 0x140036e10
movaps xmm1, xmm0
comiss xmm0, xmm2
ja 0x140036e18
movaps xmm2, xmm0
dec r9
jne 0x140036d70
mov r9d, dword [rbp + 0x90]
cmp r10d, r9d
jge 0x140036e63
lea rax, [rdi + r8]
mov r8d, r9d
lea rdx, [r12 + rax*4]
sub r8d, r10d
sub rdx, 4
dec ecx
jns 0x140036e4a
add ecx, 0x11
add rdx, 0x44
movss xmm0, dword [rdx]
comiss xmm1, xmm0
ja 0x140036e56
movaps xmm1, xmm0
comiss xmm0, xmm2
ja 0x140036e5e
movaps xmm2, xmm0
dec r8
jne 0x140036e3b
lea rax, [rdi + r11]
mov r9d, 0
movaps xmm0, xmm8
subss xmm5, xmm1
subss xmm4, xmm2
movss dword [r12 + rax*4], xmm3
inc dword [rbx]
mov eax, dword [rbx]
cmp eax, 0x11
cmovge eax, r9d
mov dword [rbx], eax
addss xmm0, dword [r15 - 0x1c]
comiss xmm5, xmm0
jbe 0x140036e9b
or r13d, 5
movss xmm0, dword [r15]
subss xmm0, xmm8
comiss xmm0, xmm4
jbe 0x140036eae
or r13d, 2
add rsi, 0x18
add rdi, 0x24
add rbx, 0x90
add r15, 4
dec qword [rbp + 0xb0]
jne 0x140036c40
mov rbx, qword [rbp + 0xa0]
movaps xmm6, xmmword [rbp + 0x40]
movaps xmm7, xmmword [rbp + 0x30]
mov eax, r13d
movaps xmm8, xmmword [rbp + 0x20]
movaps xmm9, xmmword [rbp + 0x10]
lea rsp, [rbp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret