Function at 0x180006ec4
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 [0x18002f528]
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.180010ca0
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, qword [0x180031df8]
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 0x180006f62
mov r8d, r14d
jmp 0x180006f72
lea rax, [rbp - 0x40]
mov r8, r12
inc r8
cmp byte [rax + r8], r14b
jne 0x180006f69
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1800012f8
nop
mov edi, 1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180006fff
cmp rax, r12
mov rcx, r12
ja 0x180006f9c
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, [0x18002703c]
call fcn.18000d148
test rax, rax
lea rax, [rsp + 0x58]
jne 0x180006fe9
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
cmp rbx, rax
je 0x180006fe2
sub rbx, rdi
jmp 0x180006fb0
mov rax, qword [rsp + 0x68]
jmp 0x180006fff
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rbx, rax
mov rax, qword [rsp + 0x68]
jmp 0x180007002
mov rbx, r12
cmp rax, 5
jb 0x180007331
cmp rbx, r12
je 0x180007331
lea r8, [rbx + 1]
mov r9, r12
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a838
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180007044
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a6cc
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180007055
mov rcx, qword [rsp + 0x78]
call fcn.18000c430
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
cmp qword [rsp + 0x68], 5
jae 0x1800070a4
lea rax, str.Failed_to_get_identity_1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000ce08
nop
lea rax, [0x180026df8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d920]
lea rcx, [rsp + 0x78]
call fcn.18000d608
int3
lea rdx, str._nova.dll
lea rcx, [rsp + 0x58]
call fcn.18000a764
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x1800070f3
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff7
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000a838
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x1800070ee
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a6cc
nop
jmp 0x18000717f
lea rdx, str._nova64.dll
call fcn.18000a764
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x18000713a
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff5
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000a838
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180007138
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a6cc
nop
jmp 0x18000717f
lea rdx, str..dll
call fcn.18000a764
cmp rax, r12
je 0x18000719d
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffffc
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a838
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x18000717f
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a6cc
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180007190
mov rcx, qword [rsp + 0x78]
call fcn.18000c430
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.18000b450
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 0x18000721d
lea rax, str.Failed_to_get_identity_2
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000ce08
nop
lea rax, [0x180026df8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d920]
lea rcx, [rsp + 0x78]
call fcn.18000d608
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.180005620
nop
mov dword [rsp + 0x38], edi
cmp qword [rax + 0x18], 0x10
jb 0x18000724f
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 0x180007289
cmp dword [rsp + 0x3c], 3
jne 0x180007289
cmp dword [rsp + 0x40], 0x20
mov bl, r14b
je 0x18000728c
mov bl, dil
and edi, 0xfffffffe
mov dword [rsp + 0x38], edi
cmp qword [rbp - 0x70], 0x10
jb 0x1800072a4
mov rcx, qword [rsp + 0x78]
call fcn.18000c430
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
test bl, bl
je 0x1800072ef
lea rax, str.Failed_to_get_identity_3
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000ce08
nop
lea rax, [0x180026df8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d920]
lea rcx, [rsp + 0x78]
call fcn.18000d608
nop
cmp qword [rbp - 0x50], 0x10
jb 0x1800072ff
mov rcx, qword [rbp - 0x68]
call fcn.18000c430
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], r14b
cmp qword [rsp + 0x70], 0x10
jb 0x18000731d
mov rcx, qword [rsp + 0x58]
call fcn.18000c430
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], r14b
mov rax, rsi
jmp 0x18000736b
lea rax, str.Failed_to_get_identity_0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000ce08
nop
lea rax, [0x180026df8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d920]
lea rcx, [rsp + 0x78]
call fcn.18000d608
nop
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.18000bd80
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