Function at 0x180006a78
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.180010ae0
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 0x180006b16
mov r8d, r14d
jmp 0x180006b26
lea rax, [rbp - 0x40]
mov r8, r12
inc r8
cmp byte [rax + r8], r14b
jne 0x180006b1d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1800012f8
nop
mov edi, 1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180006bb3
cmp rax, r12
mov rcx, r12
ja 0x180006b50
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, [0x180027074]
call fcn.18000cf88
test rax, rax
lea rax, [rsp + 0x58]
jne 0x180006b9d
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
cmp rbx, rax
je 0x180006b96
sub rbx, rdi
jmp 0x180006b64
mov rax, qword [rsp + 0x68]
jmp 0x180006bb3
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rbx, rax
mov rax, qword [rsp + 0x68]
jmp 0x180006bb6
mov rbx, r12
cmp rax, 5
jb 0x180006ee5
cmp rbx, r12
je 0x180006ee5
lea r8, [rbx + 1]
mov r9, r12
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a58c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180006bf8
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a420
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180006c09
mov rcx, qword [rsp + 0x78]
call fcn.18000c270
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
cmp qword [rsp + 0x68], 5
jae 0x180006c58
lea rax, str.Failed_to_get_identity_1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000cc48
nop
lea rax, [0x180026e28]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d990]
lea rcx, [rsp + 0x78]
call fcn.18000d448
int3
lea rdx, str._nova.dll
lea rcx, [rsp + 0x58]
call fcn.18000a4b8
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x180006ca7
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff7
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000a58c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180006ca2
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a420
nop
jmp 0x180006d33
lea rdx, str._nova64.dll
call fcn.18000a4b8
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x180006cee
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff5
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000a58c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180006cec
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a420
nop
jmp 0x180006d33
lea rdx, str..dll
call fcn.18000a4b8
cmp rax, r12
je 0x180006d51
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffffc
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a58c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180006d33
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18000a420
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180006d44
mov rcx, qword [rsp + 0x78]
call fcn.18000c270
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.18000b250
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 0x180006dd1
lea rax, str.Failed_to_get_identity_2
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000cc48
nop
lea rax, [0x180026e28]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d990]
lea rcx, [rsp + 0x78]
call fcn.18000d448
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.1800054ec
nop
mov dword [rsp + 0x38], edi
cmp qword [rax + 0x18], 0x10
jb 0x180006e03
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 0x180006e3d
cmp dword [rsp + 0x3c], 3
jne 0x180006e3d
cmp dword [rsp + 0x40], 0x20
mov bl, r14b
je 0x180006e40
mov bl, dil
and edi, 0xfffffffe
mov dword [rsp + 0x38], edi
cmp qword [rbp - 0x70], 0x10
jb 0x180006e58
mov rcx, qword [rsp + 0x78]
call fcn.18000c270
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
test bl, bl
je 0x180006ea3
lea rax, str.Failed_to_get_identity_3
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000cc48
nop
lea rax, [0x180026e28]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d990]
lea rcx, [rsp + 0x78]
call fcn.18000d448
nop
cmp qword [rbp - 0x50], 0x10
jb 0x180006eb3
mov rcx, qword [rbp - 0x68]
call fcn.18000c270
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], r14b
cmp qword [rsp + 0x70], 0x10
jb 0x180006ed1
mov rcx, qword [rsp + 0x58]
call fcn.18000c270
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], r14b
mov rax, rsi
jmp 0x180006f1f
lea rax, str.Failed_to_get_identity_0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000cc48
nop
lea rax, [0x180026e28]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002d990]
lea rcx, [rsp + 0x78]
call fcn.18000d448
nop
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.18000bbc0
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