Function at 0x140029f28
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov bl, r8b
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x68], edi
mov qword [rcx], rdi
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea edx, [rdi + 1]
lea rcx, [rbp - 0x50]
call fcn.140006a10
nop
test bl, bl
je 0x140029f99
lea rdx, str.Wow6432Node_
lea rcx, [rbp - 0x50]
call fcn.14000505c
lea rdx, str.CLSID_
lea rcx, [rbp - 0x50]
call fcn.14000505c
mov rcx, rax
mov rdx, rsi
call fcn.14000505c
mov rcx, rax
lea rdx, str.LocalServer32
call fcn.14000505c
nop
mov qword [rsp + 0x78], rdi
movdqa xmm0, xmmword [0x140046750]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], di
mov dword [rbp - 0x68], 8
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.1400158e0
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14002a00a
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000305c
nop
mov ebx, 5
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rsi, 0xffffffff80000000
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14002a0c4
mov qword [rsp + 0x58], rdi
movdqa xmm0, xmmword [0x140046750]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
mov dword [rbp - 0x68], 0x25
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.1400158e0
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14002a08c
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000305c
nop
mov ebx, 0x17
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov sil, dil
jne 0x14002a0c7
mov sil, 1
test bl, 2
je 0x14002a0da
and ebx, 0xfffffffd
lea rcx, [rsp + 0x58]
call fcn.140002ff8
nop
test bl, 1
je 0x14002a0e9
lea rcx, [rsp + 0x78]
call fcn.140002ff8
test sil, sil
je 0x14002a17a
mov dword [rbp - 0x68], edi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14002a16f
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14002a16f
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14002a166
mov qword [r14], rbx
mov dil, 1
jmp 0x14002a16f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x38]
call fcn.1400073a4
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov al, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400376e0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret