Function at 0x180003410
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x828]
sub rsp, 0x900
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rdi, rdx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rdx + 0x18], 7
mov qword [rdx + 0x10], r12
mov word [rdx], r12w
mov dword [rsp + 0x30], 1
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
lea r8d, [r12 + 0xc]
lea rdx, str.explorer.exe
lea rcx, [rbp - 0x70]
call fcn.180005920
nop
mov ebx, 3
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x70]
call fcn.1800325b0
mov r14, qword [rbp - 0x48]
test al, al
je 0x1800034e5
cmp r14, qword [rbp - 0x40]
je 0x1800034e5
mov sil, 1
jmp 0x1800034e8
xor sil, sil
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
cmp qword [rbp - 0x58], 8
jb 0x1800034ff
mov rcx, qword [rbp - 0x70]
call fcn.180139b7c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
test sil, sil
je 0x180003721
mov r8d, dword [r14]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180003721
mov r8, r15
lea rdx, [rbp - 0x30]
call fcn.180003290
nop
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800036f6
lea rdx, str.ZwOpenKey
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov r8d, 0xf
lea rdx, str.RegistryUser_
lea rcx, [rbp - 0x70]
call fcn.180005920
nop
or rsi, 0xffffffffffffffff
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.180005670
lea r8d, [rsi + 0x13]
lea rdx, [0x1801a8b60]
lea rcx, [rbp - 0x70]
call fcn.1800057b0
xor eax, eax
mov qword [rsp + 0x52], rax
mov dword [rsp + 0x5a], eax
mov word [rsp + 0x5e], ax
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rax, qword [rbp - 0x70]
mov qword [rsp + 0x58], rax
movzx eax, word [rbp - 0x60]
add ax, ax
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], ax
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x78], 0x40
mov dword [rsp + 0x60], 0x30
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], r12
lea r8, [rsp + 0x60]
lea edx, [rsi + 2]
lea rcx, [rsp + 0x48]
call rbx
test eax, eax
jne 0x1800036d5
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0xe]
call fcn.180140c00
mov dword [rbp - 0x50], 0x400
mov dword [rbp - 0x4c], r12d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4c]
xor r8d, r8d
lea rdx, str.UUID
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800036c9
cmp word [rbp - 0x10], ax
jne 0x1800036a8
mov rsi, r12
jmp 0x1800036ba
lea rax, [rbp - 0x10]
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1800036b0
mov r8, rsi
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180005920
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x58], 8
jb 0x1800036e5
mov rcx, qword [rbp - 0x70]
call fcn.180139b7c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp - 0x18], 8
jb 0x180003710
mov rcx, qword [rbp - 0x30]
call fcn.180139b7c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp qword [rdi + 0x10], 0x20
jbe 0x18000378e
mov r8d, 0x20
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180022830
mov rbx, rax
cmp rdi, rax
je 0x18000376d
cmp qword [rdi + 0x18], 8
jb 0x180003751
mov rcx, qword [rdi]
call fcn.180139b7c
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
mov rdx, rbx
mov rcx, rdi
call fcn.180005250
nop
cmp qword [rbp - 0x18], 8
jb 0x18000377d
mov rcx, qword [rbp - 0x30]
call fcn.180139b7c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
test r14, r14
je 0x1800037a7
mov rcx, r14
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov rax, rdi
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x900]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret