Function at 0x140092f90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor ebx, ebx
mov esi, r8d
mov rdi, rcx
lea r14d, [rbx + 1]
mov word [rbp + 0x160], bx
test edx, edx
je 0x140093088
mov r8, rcx
lea rdx, [0x14018aff0]
lea rcx, [rsp + 0x50]
call fcn.1400f98c8
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r9d, r14d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140093088
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
lea rdx, [0x14018b070]
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [0x140209d60]
lea rdx, str._s._s
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.1400f98c8
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.1400f92fc
test eax, eax
cmove ebx, r14d
test esi, esi
je 0x14009318b
lea rdx, [0x14018b080]
lea rcx, [rsp + 0x50]
mov r8, rdi
call fcn.1400f98c8
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r9d, r14d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009318b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
lea rdx, [0x14018b118]
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x160]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140093120
test rax, rax
je 0x14009318b
lea r8, [0x140209d60]
lea rdx, str._s._s
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.1400f98c8
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.1400f92fc
test eax, eax
jne 0x140093167
mov eax, r14d
jmp 0x140093247
lea rcx, [rbp + 0x160]
call fcn.1400fa1a4
lea rdx, [0x14018b128]
lea rcx, [rbp + 0x160]
call fcn.1400f9d68
test rax, rax
jne 0x14009315f
test ebx, ebx
jne 0x140093245
test esi, esi
jne 0x140093245
lea rdx, [0x14018b148]
lea rcx, [rsp + 0x50]
mov r8, rdi
call fcn.1400f98c8
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r9d, r14d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140093245
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [0x140209d60]
lea rdx, str._s._s
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.1400f98c8
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.1400f92fc
test eax, eax
cmove ebx, r14d
mov eax, ebx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400f9a80
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret