Function at 0x180005cc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3d8]
sub rsp, 0x4d0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x180063080]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor esi, esi
mov dword [rsp + 0x30], esi
cmp qword [0x180065a20], rsi
je 0x180005d14
cmp qword [0x180065a40], rsi
jne 0x180005fd4
mov qword [rbp - 0x78], rsi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREGuidGuid13
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005e5e
mov dword [rbp - 0x4c], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.180022880
mov dword [rbp - 0x50], 0x208
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4c]
xor r8d, r8d
lea rdx, str.user_id
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180005e5e
movdqa xmm0, xmmword [0x18005abd0]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], si
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.1800076e0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.180007170
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800013b0
mov rdx, rax
lea rcx, [0x180065a30]
call fcn.180007340
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180005e1e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005e18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006002
call fcn.1800205d4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x180005e5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005e59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006008
call fcn.1800205d4
xor dil, dil
cmp qword [0x180065a20], 0
jne 0x180005f38
mov dil, 1
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call fcn.180022880
lea rdx, [rbp - 0x40]
call fcn.1800057d0
mov ebx, eax
movdqa xmm0, xmmword [0x18005abe0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
xor r8d, r8d
lea rdx, [0x1800594c8]
lea rcx, [rbp - 0x70]
call fcn.180007760
mov dword [rsp + 0x30], 1
test ebx, ebx
je 0x180005eec
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180005ed0
test r8, r8
je 0x180005eec
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.180007760
lea rdx, [rbp - 0x70]
lea rcx, [0x180065a10]
call fcn.180007340
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180005f38
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005f33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000600e
call fcn.1800205d4
cmp qword [0x180065a40], 0
jne 0x180005fca
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8d, 6
lea rdx, str.654321
lea rcx, [rbp - 0x70]
call fcn.180007760
nop
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x180005f91
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
lea rcx, [0x180065a30]
call fcn.180007760
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180005fcf
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005fc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005ffc
call fcn.1800205d4
jmp 0x180005fcf
test dil, dil
je 0x180005fd4
call fcn.180005600
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1800205b0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18002c92c
nop
call fcn.18002c92c
nop
call fcn.18002c92c
int3
call fcn.18002c92c
int3