Function at 0x180004aa0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rdi
push r14
lea rbp, [r11 - 0x1e8]
sub rsp, 0x2d0
mov rax, qword [0x18005f8e8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, dword [rcx + 0x60]
mov rdi, rcx
test r14d, r14d
je 0x180004ef9
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], r15
xor r15d, r15d
nop word [rax + rax]
mov r9d, dword [rdi + 0x6c]
lea rdx, [0x180050360]
dec r14d
xor r8d, r8d
mov eax, r14d
inc rax
lea rcx, [rax + rax*2]
mov rcx, qword [rdi + rcx*8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180004ed8
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov esi, r15d
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x44], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180004ec5
nop word [rax + rax]
mov eax, dword [rsp + 0x44]
lea rdx, [rax + rax]
cmp rdx, 0x160
jae 0x180004f14
mov word [rsp + rdx + 0x60], r15w
cmp word [rsp + 0x60], 0x7b
jne 0x180004e88
cmp word [rsp + 0x72], 0x2d
jne 0x180004e88
cmp word [rsp + 0x7c], 0x2d
jne 0x180004e88
cmp word [rbp - 0x7a], 0x2d
jne 0x180004e88
cmp word [rbp - 0x70], 0x2d
jne 0x180004e88
cmp word [rbp - 0x56], 0x7d
jne 0x180004e88
cmp word [rbp - 0x54], r15w
jne 0x180004e88
movzx ecx, word [rsp + 0x62]
lea eax, [rcx - 0x30]
cmp eax, 0xa
jb 0x180004bfc
lea eax, [rcx - 0x41]
cmp eax, 6
jb 0x180004bfc
lea eax, [rcx - 0x61]
cmp eax, 6
jae 0x180004e88
movzx eax, word [0x180050228]
mov r9d, 1
movups xmm0, xmmword [0x180050218]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
movups xmmword [rsp + rdx + 0x60], xmm0
mov word [rsp + rdx + 0x70], ax
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180004e88
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rbp + 0xc0]
mov dword [rsp + 0x40], 0xfe
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rcx, eax
test eax, eax
jne 0x180004c86
cmp dword [rsp + 0x48], 1
jne 0x180004c86
mov eax, dword [rsp + 0x40]
jmp 0x180004c8d
mov eax, r15d
mov dword [rsp + 0x40], eax
and rax, 0xfffffffffffffffe
cmp rax, 0x100
jae 0x180004f14
mov word [rbp + rax + 0xc0], r15w
test rcx, rcx
jne 0x180004e75
cmp word [rbp + 0xc0], 0x7b
jne 0x180004e75
movzx ecx, word [rbp + 0xc2]
mov rdx, qword [str.46137EEC_703B_4FE5_AFD4_7C9BBBBA0259]
lea eax, [rcx - 0x61]
cmp eax, 0x1a
lea ebx, [rcx - 0x20]
cmovae bx, cx
movzx ecx, word [rbp + 0xc4]
lea eax, [rcx - 0x61]
cmp eax, 0x1a
lea r8d, [rcx - 0x20]
cmovae r8w, cx
cmp bx, word [rdx + 2]
jne 0x180004d0b
cmp r8w, word [rdx + 4]
jne 0x180004d0b
lea rcx, [rbp + 0xc0]
call fcn.1800033a0
test al, al
jne 0x180004d3b
mov rdx, qword [str.D7569351_1750_46F0_936E_BD127D5BC264]
cmp bx, word [rdx + 2]
jne 0x180004e75
cmp r8w, word [rdx + 4]
jne 0x180004e75
lea rcx, [rbp + 0xc0]
call fcn.1800033a0
test al, al
je 0x180004e75
mov rdx, qword [rsp + 0x50]
mov r8d, 0x809
mov rcx, rdi
mov bl, 1
call fcn.1800032d0
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x60]
movups xmm0, xmmword [0x180050230]
mov rcx, qword [rsp + 0x58]
mov r9d, 1
xor r8d, r8d
movups xmmword [rsp + rax*2 + 0x60], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movsxd rdx, eax
test eax, eax
jne 0x180004e2e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rbp + 0xc0]
mov dword [rsp + 0x40], 0xfe
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180004dd2
cmp dword [rsp + 0x48], 1
jne 0x180004dd2
mov eax, dword [rsp + 0x40]
jmp 0x180004dd9
mov eax, r15d
mov dword [rsp + 0x40], eax
mov ecx, eax
and rcx, 0xfffffffffffffffe
cmp rcx, 0x100
jae 0x180004f14
mov word [rbp + rcx + 0xc0], r15w
cmp eax, 0x18
jb 0x180004e17
mov r8d, 0x16
lea rdx, str.VirtualBox.
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180004e19
xor bl, bl
mov rdx, qword [rsp + 0x50]
mov r8d, 0x820
mov rcx, rdi
call fcn.1800032d0
jmp 0x180004e3e
movzx eax, bl
cmp rdx, 2
mov ecx, r15d
cmove ecx, eax
movzx ebx, cl
test bl, bl
je 0x180004e88
mov eax, dword [rsp + 0x44]
add rax, rax
cmp rax, 0x160
jae 0x180004f14
mov rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov r9d, 0x82b
mov word [rsp + rax + 0x60], r15w
mov rcx, rdi
call fcn.180004270
jmp 0x180004e88
mov rdx, qword [rsp + 0x50]
mov r8d, 0x809
mov rcx, rdi
call fcn.1800032d0
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r15
inc esi
mov qword [rsp + 0x28], r15
mov edx, esi
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x44], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180004b70
mov rdx, qword [rsp + 0x58]
mov r8d, 0x839
mov rcx, rdi
call fcn.1800032d0
test r14d, r14d
jne 0x180004af0
mov rsi, qword [rsp + 0x300]
mov rbx, qword [rsp + 0x2f8]
mov r15, qword [rsp + 0x308]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.180006f40
add rsp, 0x2d0
pop r14
pop rdi
pop rbp
ret
call fcn.180006cb4
int3