Function at 0x1800054e0
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 [0x180044668]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15d, dword [rcx + 0x60]
mov rsi, rcx
test r15d, r15d
je 0x180005a24
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 0x1800059fb
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 0x1800059e8
mov eax, dword [rsp + 0x44]
xor dil, dil
lea rdx, [rax + rax]
cmp rdx, 0x160
jae 0x180005a3f
mov word [rbp + rdx + 0x60], r12w
cmp word [rbp + 0x60], 0x7b
jne 0x1800059aa
cmp word [rbp + 0x72], 0x2d
jne 0x1800059aa
cmp word [rbp + 0x7c], 0x2d
jne 0x1800059aa
cmp word [rbp + 0x86], 0x2d
jne 0x1800059aa
cmp word [rbp + 0x90], 0x2d
jne 0x1800059aa
cmp word [rbp + 0xaa], 0x7d
jne 0x1800059aa
cmp word [rbp + 0xac], r12w
jne 0x1800059aa
movzx ecx, word [rbp + 0x62]
lea eax, [rcx - 0x30]
cmp eax, 0xa
jb 0x18000563b
lea eax, [rcx - 0x41]
cmp eax, 6
jb 0x18000563b
lea eax, [rcx - 0x61]
cmp eax, 6
jae 0x1800059aa
movzx eax, word [0x18002e728]
mov r9d, 1
movups xmm0, xmmword [0x18002e718]
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 0x180005828
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 0x1800056c5
cmp dword [rsp + 0x48], 1
jne 0x1800056c5
mov eax, dword [rsp + 0x40]
jmp 0x1800056cc
mov eax, r12d
mov dword [rsp + 0x40], eax
and rax, 0xfffffffffffffffe
cmp rax, 0x100
jae 0x180005a3f
mov word [rsp + rax + 0x60], r12w
test rcx, rcx
jne 0x18000581d
cmp word [rsp + 0x60], 0x7b
jne 0x18000581d
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 0x18000573f
cmp r8w, word [rdx + 4]
jne 0x18000573f
lea rcx, [rsp + 0x60]
call fcn.180003960
test al, al
jne 0x18000576d
mov rdx, qword [str.D7569351_1750_46F0_936E_BD127D5BC264]
cmp bx, word [rdx + 2]
jne 0x18000581d
cmp r8w, word [rdx + 4]
jne 0x18000581d
lea rcx, [rsp + 0x60]
call fcn.180003960
test al, al
je 0x18000581d
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 0x180005a3f
mov word [rsp + rcx + 0x60], r12w
test rdx, rdx
jne 0x18000581d
movzx eax, word [rsp + 0x66]
cmp word [0x18002e646], ax
jne 0x1800057fb
lea rdx, [rsp + 0x60]
lea rcx, [0x18002e640]
call qword [sym.imp.VBoxRT.dll_RTUtf16Cmp]
test eax, eax
je 0x18000581a
movzx eax, word [rsp + 0x66]
cmp word [0x18002e64e], ax
jne 0x18000581d
lea rdx, [rsp + 0x60]
lea rcx, [0x18002e648]
call qword [sym.imp.VBoxRT.dll_RTUtf16Cmp]
test eax, eax
jne 0x18000581d
mov dil, 1
mov r8d, 0x798
jmp 0x180005968
cmp rcx, 2
jne 0x1800059aa
mov eax, dword [rsp + 0x44]
lea rcx, [rbp + 0x60]
movups xmm0, xmmword [0x18002e730]
lea rcx, [rcx + rax*2]
mov eax, dword [0x18002e750]
movups xmm1, xmmword [0x18002e740]
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 0x1800059aa
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 0x1800058cb
cmp dword [rsp + 0x48], 1
jne 0x1800058cb
mov eax, dword [rsp + 0x40]
jmp 0x1800058d2
mov eax, r12d
mov dword [rsp + 0x40], eax
and rax, 0xfffffffffffffffe
cmp rax, 0x100
jae 0x180005a3f
mov word [rsp + rax + 0x60], r12w
test rcx, rcx
jne 0x180005962
cmp word [rsp + 0x60], 0x7b
jne 0x180005962
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 0x18000593d
cmp r8w, word [rdx + 4]
jne 0x18000593d
lea rcx, [rsp + 0x60]
call fcn.180003960
test al, al
jne 0x18000595f
mov rdx, qword [str.327E3C00_EE61_462F_AED3_0DFF6CBF9904]
cmp bx, word [rdx + 2]
jne 0x180005962
cmp r8w, word [rdx + 4]
jne 0x180005962
lea rcx, [rsp + 0x60]
call fcn.180003960
test al, al
je 0x180005962
mov dil, 1
mov r8d, 0x7ad
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.180003890
test dil, dil
je 0x1800059aa
mov eax, dword [rsp + 0x44]
add rax, rax
cmp rax, 0x160
jae 0x180005a3f
mov rdx, qword [rsp + 0x58]
lea r8, [rbp + 0x60]
mov r9d, 0x7b7
mov word [rbp + rax + 0x60], r12w
mov rcx, rsi
call fcn.180004830
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 0x1800055a4
mov rdx, qword [rsp + 0x58]
mov r8d, 0x7c1
mov rcx, rsi
call fcn.180003890
test r15d, r15d
jne 0x180005530
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.180007500
add rsp, 0x2e0
pop r15
pop rsi
pop rbp
ret
call fcn.180007274
int3