Function at 0x180005060
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 [0x180044688]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, dword [rcx + 0x60]
mov rdi, rcx
test r14d, r14d
je 0x1800054b9
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, [0x18002e970]
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 0x180005498
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 0x180005485
nop word [rax + rax]
mov eax, dword [rsp + 0x44]
lea rdx, [rax + rax]
cmp rdx, 0x160
jae 0x1800054d4
mov word [rsp + rdx + 0x60], r15w
cmp word [rsp + 0x60], 0x7b
jne 0x180005448
cmp word [rsp + 0x72], 0x2d
jne 0x180005448
cmp word [rsp + 0x7c], 0x2d
jne 0x180005448
cmp word [rbp - 0x7a], 0x2d
jne 0x180005448
cmp word [rbp - 0x70], 0x2d
jne 0x180005448
cmp word [rbp - 0x56], 0x7d
jne 0x180005448
cmp word [rbp - 0x54], r15w
jne 0x180005448
movzx ecx, word [rsp + 0x62]
lea eax, [rcx - 0x30]
cmp eax, 0xa
jb 0x1800051bc
lea eax, [rcx - 0x41]
cmp eax, 6
jb 0x1800051bc
lea eax, [rcx - 0x61]
cmp eax, 6
jae 0x180005448
movzx eax, word [0x18002e838]
mov r9d, 1
movups xmm0, xmmword [0x18002e828]
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 0x180005448
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 0x180005246
cmp dword [rsp + 0x48], 1
jne 0x180005246
mov eax, dword [rsp + 0x40]
jmp 0x18000524d
mov eax, r15d
mov dword [rsp + 0x40], eax
and rax, 0xfffffffffffffffe
cmp rax, 0x100
jae 0x1800054d4
mov word [rbp + rax + 0xc0], r15w
test rcx, rcx
jne 0x180005435
cmp word [rbp + 0xc0], 0x7b
jne 0x180005435
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 0x1800052cb
cmp r8w, word [rdx + 4]
jne 0x1800052cb
lea rcx, [rbp + 0xc0]
call fcn.180003960
test al, al
jne 0x1800052fb
mov rdx, qword [str.D7569351_1750_46F0_936E_BD127D5BC264]
cmp bx, word [rdx + 2]
jne 0x180005435
cmp r8w, word [rdx + 4]
jne 0x180005435
lea rcx, [rbp + 0xc0]
call fcn.180003960
test al, al
je 0x180005435
mov rdx, qword [rsp + 0x50]
mov r8d, 0x809
mov rcx, rdi
mov bl, 1
call fcn.180003890
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x60]
movups xmm0, xmmword [0x18002e840]
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 0x1800053ee
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 0x180005392
cmp dword [rsp + 0x48], 1
jne 0x180005392
mov eax, dword [rsp + 0x40]
jmp 0x180005399
mov eax, r15d
mov dword [rsp + 0x40], eax
mov ecx, eax
and rcx, 0xfffffffffffffffe
cmp rcx, 0x100
jae 0x1800054d4
mov word [rbp + rcx + 0xc0], r15w
cmp eax, 0x18
jb 0x1800053d7
mov r8d, 0x16
lea rdx, str.VirtualBox.
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800053d9
xor bl, bl
mov rdx, qword [rsp + 0x50]
mov r8d, 0x820
mov rcx, rdi
call fcn.180003890
jmp 0x1800053fe
movzx eax, bl
cmp rdx, 2
mov ecx, r15d
cmove ecx, eax
movzx ebx, cl
test bl, bl
je 0x180005448
mov eax, dword [rsp + 0x44]
add rax, rax
cmp rax, 0x160
jae 0x1800054d4
mov rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov r9d, 0x82b
mov word [rsp + rax + 0x60], r15w
mov rcx, rdi
call fcn.180004830
jmp 0x180005448
mov rdx, qword [rsp + 0x50]
mov r8d, 0x809
mov rcx, rdi
call fcn.180003890
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 0x180005130
mov rdx, qword [rsp + 0x58]
mov r8d, 0x839
mov rcx, rdi
call fcn.180003890
test r14d, r14d
jne 0x1800050b0
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.180007500
add rsp, 0x2d0
pop r14
pop rdi
pop rbp
ret
call fcn.180007274
int3