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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
movaps xmmword [rsp + 0x140], xmm6
mov r14, rdx
mov rsi, rcx
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 0x20]
movaps xmm2, xmm0
movss dword [rsi + 0x30], xmm2
mov rax, qword [rsi + 0x28]
mov edi, dword [rax + 0x2c]
mov ebx, dword [rax + 0x28]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x4c], edi
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
xorps xmm6, xmm6
mov qword [rsp + 0x50], r15
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400f3e10
mov ecx, dword [rax]
mov dword [rsp + 0x40], ecx
mov edx, dword [rax + 4]
mov dword [rsp + 0x44], edx
mov r11d, dword [rax + 8]
mov dword [rsp + 0x48], r11d
mov r8d, dword [rax + 0xc]
mov dword [rsp + 0x4c], r8d
mov rax, qword [rsi + 8]
lea r12d, [r15 - 1]
test rax, rax
je 0x1401a198b
test ecx, ecx
jne 0x1401a198b
test edx, edx
jne 0x1401a198b
cmp dword [rax + 0x14], r11d
jne 0x1401a198b
cmp dword [rax + 0x18], r8d
je 0x1401a1a18
mov rax, qword [rsi + 0x28]
movzx ecx, byte [rax + 0xc0]
and cl, 4
sete dl
mov r10d, 1
cmp r8d, r10d
cmovg r10d, r8d
mov r9d, 1
cmp r11d, r9d
cmovg r9d, r11d
neg cl
sbb r8d, r8d
add r8d, 2
lea rax, vtable.juce::NativeImageType.0
mov qword [rbp - 0x48], rax
mov rax, qword [method.juce::SoftwareImageType.virtual_8]
mov byte [rsp + 0x28], dl
mov dword [rsp + 0x20], r10d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call rax
nop
mov rcx, qword [rsi + 8]
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1401a1a14
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401a1a14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov dword [rsi + 0x20], r15d
mov eax, dword [rsi + 0x20]
cmp eax, 1
jle 0x1401a1a89
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov dword [rbp - 0x68], r15d
test ebx, ebx
jle 0x1401a1a45
test edi, edi
jle 0x1401a1a45
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.1400fdfc0
mov eax, dword [rsi + 0x20]
lea ebx, [rax - 1]
test ebx, ebx
js 0x1401a1a6e
nop dword [rax]
mov edx, ebx
shl rdx, 4
add rdx, qword [rsi + 0x10]
lea rcx, [rbp - 0x78]
call fcn.1400fdb80
cmp dword [rbp - 0x68], 0
je 0x1401a1a7a
sub ebx, 1
jns 0x1401a1a50
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1401a1ab5
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1401a1c76
test eax, eax
jle 0x1401a1ab5
mov rdx, qword [rsi + 0x10]
mov ecx, dword [rdx]
test ecx, ecx
jg 0x1401a1ab5
mov r8d, dword [rdx + 4]
test r8d, r8d
jg 0x1401a1ab5
add ecx, dword [rdx + 8]
cmp ecx, ebx
jl 0x1401a1ab5
mov ecx, dword [rdx + 0xc]
add ecx, r8d
cmp ecx, edi
jge 0x1401a1c76
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x1401a1ac7
mov rdi, r15
mov qword [rbp - 0x40], r15
jmp 0x1401a1ad4
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdi
mov byte [rbp - 0x30], 0
mov rax, qword [rdi]
movss xmm0, dword [rsi + 0x30]
movss dword [rbp - 0x60], xmm0
mov qword [rbp - 0x5c], 0
mov dword [rbp - 0x54], 0
movss dword [rbp - 0x50], xmm0
mov dword [rbp - 0x4c], 0
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [rax + 0x18]
mov rbx, qword [rsi + 0x10]
movsxd r14, dword [rsi + 0x20]
shl r14, 4
add r14, rbx
cmp rbx, r14
je 0x1401a1b37
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x38]
add rbx, 0x10
cmp rbx, r14
jne 0x1401a1b22
mov rax, qword [rsi + 0x28]
test byte [rax + 0xc0], 4
jne 0x1401a1c4b
mov rax, qword [rdi]
mov r8, qword [rax + 0x88]
mov eax, dword [0x14036fb74]
mov dword [rbp - 0x28], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movaps xmm1, xmmword [0x1402c2e50]
movups xmmword [rbp - 0x10], xmm1
mov qword [rbp], 0x3f800000
lea rdx, [rbp - 0x28]
mov rcx, rdi
call r8
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1401a1ba1
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401a1ba1
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1401a1bc1
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x30
mov rcx, rbx
call fcn.14022dcf0
mov rax, qword [rdi]
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [rax + 0xa8]
mov rax, qword [rdi]
mov r8, qword [rax + 0x88]
mov eax, dword [0x140356384]
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [0x1402c2e50]
movups xmmword [rbp + 0x20], xmm1
mov qword [rbp + 0x30], 0x3f800000
lea rdx, [rbp + 8]
mov rcx, rdi
call r8
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1401a1c2b
lock xadd dword [rcx + 8], r12d
cmp r12d, 1
jne 0x1401a1c2b
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x1401a1c4b
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x30
mov rcx, rbx
call fcn.14022dcf0
mov r8b, 1
lea rdx, [rbp - 0x40]
mov rcx, qword [rsi + 0x28]
call fcn.1401a4130
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1401a1c6f
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov r14, qword [rbp + 0xa8]
mov qword [rsp + 0x70], r15
mov eax, r15d
mov dword [rsp + 0x78], eax
mov edx, r15d
mov dword [rbp - 0x80], edx
cmp dword [rsp + 0x38], r15d
jle 0x1401a1cb0
cmp dword [rsp + 0x3c], eax
jle 0x1401a1cb0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400fdfc0
mov edx, dword [rbp - 0x80]
mov eax, dword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x10], r15
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x20], edx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsi + 0x28]
movzx ecx, byte [rax + 0xc4]
mov eax, 0xff
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1402c2940]
mov eax, dword [0x140356384]
mov dword [rbp + 0xa8], eax
comiss xmm0, xmm6
ja 0x1401a1cfa
xor al, al
jmp 0x1401a1d13
comiss xmm0, dword [0x1402c2a84]
jb 0x1401a1d07
mov al, 0xff
jmp 0x1401a1d13
mulss xmm0, dword [0x1402c2d54]
cvttss2si eax, xmm0
mov byte [rbp + 0xab], al
mov eax, dword [rbp + 0xa8]
mov dword [rbp + 0xa8], eax
lea rdx, [rbp + 0xa8]
mov rcx, r14
call fcn.14013ef00
movd xmm1, dword [rsp + 0x38]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rsp + 0x48]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [rsp + 0x50], xmm1
mov qword [rsp + 0x54], 0
mov dword [rsp + 0x5c], 0
movd xmm1, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rsp + 0x4c]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [rsp + 0x60], xmm1
mov dword [rsp + 0x64], 0
cmp qword [rsi + 8], 0
je 0x1401a1dae
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0x60]
test al, al
jne 0x1401a1dae
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [rsi + 8]
call qword [rax + 0xc0]
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret