Function at 0x180006348
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18002c528]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rsi, rdx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov byte [rbp - 0x40], r14b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x3f]
call fcn.18000fbf0
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, qword [0x18002edf8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
lea r13d, [r14 + 0xf]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], r14b
or r12, 0xffffffffffffffff
cmp byte [rbp - 0x40], r14b
jne 0x1800063e6
mov r8d, r14d
jmp 0x1800063f6
lea rax, [rbp - 0x40]
mov r8, r12
inc r8
cmp byte [rax + r8], r14b
jne 0x1800063ed
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1800012f8
nop
mov edi, 1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180006483
cmp rax, r12
mov rcx, r12
ja 0x180006420
lea rcx, [rax - 1]
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
movsx edx, byte [rbx]
mov r8, rdi
lea rcx, [0x180024c1c]
call fcn.18000c098
test rax, rax
lea rax, [rsp + 0x58]
jne 0x18000646d
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
cmp rbx, rax
je 0x180006466
sub rbx, rdi
jmp 0x180006434
mov rax, qword [rsp + 0x68]
jmp 0x180006483
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rbx, rax
mov rax, qword [rsp + 0x68]
jmp 0x180006486
mov rbx, r12
cmp rax, 5
jb 0x1800067b5
cmp rbx, r12
je 0x1800067b5
lea r8, [rbx + 1]
mov r9, r12
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000978c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x1800064c8
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180009620
nop
cmp qword [rbp - 0x70], 0x10
jb 0x1800064d9
mov rcx, qword [rsp + 0x78]
call fcn.18000b380
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
cmp qword [rsp + 0x68], 5
jae 0x180006528
lea rax, str.Failed_to_get_identity_1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000bd58
nop
lea rax, [0x1800249d8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002b3e0]
lea rcx, [rsp + 0x78]
call fcn.18000c558
int3
lea rdx, str._nova.dll
lea rcx, [rsp + 0x58]
call fcn.1800096b8
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x180006577
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff7
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000978c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180006572
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180009620
nop
jmp 0x180006603
lea rdx, str._nova64.dll
call fcn.1800096b8
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x1800065be
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff5
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000978c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x1800065bc
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180009620
nop
jmp 0x180006603
lea rdx, str..dll
call fcn.1800096b8
cmp rax, r12
je 0x180006621
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffffc
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000978c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180006603
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180009620
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180006614
mov rcx, qword [rsp + 0x78]
call fcn.18000b380
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.18000a3a4
nop
mov qword [rsp + 0x48], r14
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jns 0x1800066a1
lea rax, str.Failed_to_get_identity_2
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000bd58
nop
lea rax, [0x1800249d8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002b3e0]
lea rcx, [rsp + 0x78]
call fcn.18000c558
int3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x40], 0x20
lea r8, str._graspI
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.180004e44
nop
mov dword [rsp + 0x38], edi
cmp qword [rax + 0x18], 0x10
jb 0x1800066d3
mov rax, qword [rax]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
js 0x18000670d
cmp dword [rsp + 0x3c], 3
jne 0x18000670d
cmp dword [rsp + 0x40], 0x20
mov bl, r14b
je 0x180006710
mov bl, dil
and edi, 0xfffffffe
mov dword [rsp + 0x38], edi
cmp qword [rbp - 0x70], 0x10
jb 0x180006728
mov rcx, qword [rsp + 0x78]
call fcn.18000b380
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
test bl, bl
je 0x180006773
lea rax, str.Failed_to_get_identity_3
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000bd58
nop
lea rax, [0x1800249d8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002b3e0]
lea rcx, [rsp + 0x78]
call fcn.18000c558
nop
cmp qword [rbp - 0x50], 0x10
jb 0x180006783
mov rcx, qword [rbp - 0x68]
call fcn.18000b380
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], r14b
cmp qword [rsp + 0x70], 0x10
jb 0x1800067a1
mov rcx, qword [rsp + 0x58]
call fcn.18000b380
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], r14b
mov rax, rsi
jmp 0x1800067ef
lea rax, str.Failed_to_get_identity_0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000bd58
nop
lea rax, [0x1800249d8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002b3e0]
lea rcx, [rsp + 0x78]
call fcn.18000c558
nop
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.18000acd0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret