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

Disassembly:
mov r11, rsp
push rbp
push rsi
push r15
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2e0
mov rax, qword [0x18005f8e8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15d, dword [rcx + 0x60]
mov rsi, rcx
test r15d, r15d
je 0x180005464
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r14
nop dword [rax]
mov r9d, dword [rsi + 0x6c]
lea rdx, str.Interface
dec r15d
xor r8d, r8d
mov eax, r15d
inc rax
lea rcx, [rax + rax*2]
mov rcx, qword [rsi + rcx*8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000543b
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x60]
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov r14d, r12d
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x44], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180005428
mov eax, dword [rsp + 0x44]
xor dil, dil
lea rdx, [rax + rax]
cmp rdx, 0x160
jae 0x18000547f
mov word [rbp + rdx + 0x60], r12w
cmp word [rbp + 0x60], 0x7b
jne 0x1800053ea
cmp word [rbp + 0x72], 0x2d
jne 0x1800053ea
cmp word [rbp + 0x7c], 0x2d
jne 0x1800053ea
cmp word [rbp + 0x86], 0x2d
jne 0x1800053ea
cmp word [rbp + 0x90], 0x2d
jne 0x1800053ea
cmp word [rbp + 0xaa], 0x7d
jne 0x1800053ea
cmp word [rbp + 0xac], r12w
jne 0x1800053ea
movzx ecx, word [rbp + 0x62]
lea eax, [rcx - 0x30]
cmp eax, 0xa
jb 0x18000507b
lea eax, [rcx - 0x41]
cmp eax, 6
jb 0x18000507b
lea eax, [rcx - 0x61]
cmp eax, 6
jae 0x1800053ea
movzx eax, word [0x1800501e8]
mov r9d, 1
movups xmm0, xmmword [0x1800501d8]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
movups xmmword [rbp + rdx + 0x60], xmm0
mov word [rbp + rdx + 0x70], ax
lea rax, [rsp + 0x50]
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movsxd rcx, eax
test eax, eax
jne 0x180005268
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x60]
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 0x180005105
cmp dword [rsp + 0x48], 1
jne 0x180005105
mov eax, dword [rsp + 0x40]
jmp 0x18000510c
mov eax, r12d
mov dword [rsp + 0x40], eax
and rax, 0xfffffffffffffffe
cmp rax, 0x100
jae 0x18000547f
mov word [rsp + rax + 0x60], r12w
test rcx, rcx
jne 0x18000525d
cmp word [rsp + 0x60], 0x7b
jne 0x18000525d
movzx ecx, word [rsp + 0x62]
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 [rsp + 0x64]
lea eax, [rcx - 0x61]
cmp eax, 0x1a
lea r8d, [rcx - 0x20]
cmovae r8w, cx
cmp bx, word [rdx + 2]
jne 0x18000517f
cmp r8w, word [rdx + 4]
jne 0x18000517f
lea rcx, [rsp + 0x60]
call fcn.1800033a0
test al, al
jne 0x1800051ad
mov rdx, qword [str.D7569351_1750_46F0_936E_BD127D5BC264]
cmp bx, word [rdx + 2]
jne 0x18000525d
cmp r8w, word [rdx + 4]
jne 0x18000525d
lea rcx, [rsp + 0x60]
call fcn.1800033a0
test al, al
je 0x18000525d
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0xfe
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Version
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rdx, eax
mov eax, dword [rsp + 0x40]
test rdx, rdx
cmovne eax, r12d
mov ecx, eax
add rcx, rcx
mov dword [rsp + 0x40], eax
cmp rcx, 0x100
jae 0x18000547f
mov word [rsp + rcx + 0x60], r12w
test rdx, rdx
jne 0x18000525d
movzx eax, word [rsp + 0x66]
cmp word [0x180050106], ax
jne 0x18000523b
lea rdx, [rsp + 0x60]
lea rcx, [0x180050100]
call qword [sym.imp.VBoxRT.dll_RTUtf16Cmp]
test eax, eax
je 0x18000525a
movzx eax, word [rsp + 0x66]
cmp word [0x18005010e], ax
jne 0x18000525d
lea rdx, [rsp + 0x60]
lea rcx, [0x180050108]
call qword [sym.imp.VBoxRT.dll_RTUtf16Cmp]
test eax, eax
jne 0x18000525d
mov dil, 1
mov r8d, 0x798
jmp 0x1800053a8
cmp rcx, 2
jne 0x1800053ea
mov eax, dword [rsp + 0x44]
lea rcx, [rbp + 0x60]
movups xmm0, xmmword [0x1800501f0]
lea rcx, [rcx + rax*2]
mov eax, dword [0x180050210]
movups xmm1, xmmword [0x180050200]
mov r9d, 1
xor r8d, r8d
movups xmmword [rcx], xmm0
lea rdx, [rbp + 0x60]
movups xmmword [rcx + 0x10], xmm1
mov dword [rcx + 0x20], eax
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800053ea
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x60]
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 0x18000530b
cmp dword [rsp + 0x48], 1
jne 0x18000530b
mov eax, dword [rsp + 0x40]
jmp 0x180005312
mov eax, r12d
mov dword [rsp + 0x40], eax
and rax, 0xfffffffffffffffe
cmp rax, 0x100
jae 0x18000547f
mov word [rsp + rax + 0x60], r12w
test rcx, rcx
jne 0x1800053a2
cmp word [rsp + 0x60], 0x7b
jne 0x1800053a2
movzx ecx, word [rsp + 0x62]
mov rdx, qword [str.0BB3B78C_1807_4249_5BA5_EA42D66AF0BF]
lea eax, [rcx - 0x61]
cmp eax, 0x1a
lea ebx, [rcx - 0x20]
cmovae bx, cx
movzx ecx, word [rsp + 0x64]
lea eax, [rcx - 0x61]
cmp eax, 0x1a
lea r8d, [rcx - 0x20]
cmovae r8w, cx
cmp bx, word [rdx + 2]
jne 0x18000537d
cmp r8w, word [rdx + 4]
jne 0x18000537d
lea rcx, [rsp + 0x60]
call fcn.1800033a0
test al, al
jne 0x18000539f
mov rdx, qword [str.327E3C00_EE61_462F_AED3_0DFF6CBF9904]
cmp bx, word [rdx + 2]
jne 0x1800053a2
cmp r8w, word [rdx + 4]
jne 0x1800053a2
lea rcx, [rsp + 0x60]
call fcn.1800033a0
test al, al
je 0x1800053a2
mov dil, 1
mov r8d, 0x7ad
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1800032d0
test dil, dil
je 0x1800053ea
mov eax, dword [rsp + 0x44]
add rax, rax
cmp rax, 0x160
jae 0x18000547f
mov rdx, qword [rsp + 0x58]
lea r8, [rbp + 0x60]
mov r9d, 0x7b7
mov word [rbp + rax + 0x60], r12w
mov rcx, rsi
call fcn.180004270
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x60]
mov qword [rsp + 0x30], r12
inc r14d
mov qword [rsp + 0x28], r12
mov edx, r14d
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x44], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180004fe4
mov rdx, qword [rsp + 0x58]
mov r8d, 0x7c1
mov rcx, rsi
call fcn.1800032d0
test r15d, r15d
jne 0x180004f70
mov r12, qword [rsp + 0x2d8]
mov rdi, qword [rsp + 0x310]
mov rbx, qword [rsp + 0x308]
mov r14, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.180006f40
add rsp, 0x2e0
pop r15
pop rsi
pop rbp
ret
call fcn.180006cb4
int3