Function at 0x180006e10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
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 r15, rdx
xor r12d, r12d
mov dword [rsp + 0x38], r12d
mov byte [rbp - 0x40], r12b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x3f]
call fcn.180011020
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, qword [0x180031df8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], r12b
cmp byte [rbp - 0x40], r12b
jne 0x180006eaa
mov r8d, r12d
jmp 0x180006ebb
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x180006eb2
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.180001380
nop
mov r14d, 1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180006f4d
cmp rax, 0xffffffffffffffff
jbe 0x180006ee6
or rcx, 0xffffffffffffffff
jmp 0x180006eea
lea rcx, [rax - 1]
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
nop
movsx edx, byte [rbx]
mov r8, r14
lea rcx, [0x180026d04]
call fcn.18000d4c8
test rax, rax
jne 0x180006f32
lea rcx, [rsp + 0x58]
call fcn.180001370
cmp rbx, rax
je 0x180006f2b
dec rbx
jmp 0x180006f00
mov rax, qword [rsp + 0x68]
jmp 0x180006f4d
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rbx, rax
mov rax, qword [rsp + 0x68]
jmp 0x180006f51
or rbx, 0xffffffffffffffff
cmp rax, 5
jb 0x1800074cd
cmp rbx, 0xffffffffffffffff
je 0x1800074cd
lea r8, [rbx + 1]
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a7e0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180006fbc
cmp qword [rsp + 0x70], 0x10
jb 0x180006f9b
mov rcx, qword [rsp + 0x58]
call fcn.18000c7b0
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], 0
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180004a60
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180006fcd
mov rcx, qword [rsp + 0x78]
call fcn.18000c7b0
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], r12
mov byte [rsp + 0x78], 0
mov rax, qword [rsp + 0x68]
cmp rax, 5
jae 0x180007023
lea rax, str.Failed_to_get_identity_1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000d188
nop
lea rax, [0x180026ab8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002dc10]
lea rcx, [rsp + 0x78]
call fcn.18000d988
int3
test rax, rax
je 0x180007327
cmp rax, 9
jb 0x18000711c
lea rsi, [rax - 8]
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
nop dword [rax + rax]
test rsi, rsi
je 0x180007117
mov r8, rsi
mov edx, 0x2d
mov rcx, rbx
call fcn.18000d4c8
mov rdi, rax
test rax, rax
je 0x180007117
mov r8d, 9
lea rdx, str._nova.dll
mov rcx, rax
call fcn.180015b60
test eax, eax
je 0x18000709d
sub rbx, rdi
dec rbx
add rsi, rbx
lea rbx, [rdi + 1]
jmp 0x180007050
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rdi, rax
cmp rdi, 0xffffffffffffffff
je 0x180007117
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff7
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a7e0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180007112
cmp qword [rsp + 0x70], 0x10
jb 0x1800070f1
mov rcx, qword [rsp + 0x58]
call fcn.18000c7b0
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], 0
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180004a60
nop
jmp 0x180007305
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180007327
cmp rax, 0xb
jb 0x180007210
lea rsi, [rax - 0xa]
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdi, qword [rsp + 0x58]
test rsi, rsi
je 0x18000720b
mov r8, rsi
mov edx, 0x2d
mov rcx, rdi
call fcn.18000d4c8
mov rbx, rax
test rax, rax
je 0x18000720b
mov r8d, 0xb
lea rdx, str._nova64.dll
mov rcx, rax
call fcn.180015b60
test eax, eax
je 0x180007191
sub rdi, rbx
dec rdi
add rsi, rdi
lea rdi, [rbx + 1]
jmp 0x180007144
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x18000720b
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff5
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a7e0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180007206
cmp qword [rsp + 0x70], 0x10
jb 0x1800071e5
mov rcx, qword [rsp + 0x58]
call fcn.18000c7b0
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], 0
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180004a60
nop
jmp 0x180007305
mov rax, qword [rsp + 0x68]
cmp rax, 4
jb 0x180007327
lea rdi, [rax - 3]
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
lea rsi, str..dll
test rdi, rdi
je 0x180007327
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.18000d4c8
mov r8, rax
test rax, rax
je 0x180007327
mov rdx, r12
nop
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [rsi + rdx - 1]
jne 0x180007278
cmp rdx, 4
jne 0x180007260
mov eax, r12d
jmp 0x18000727d
sbb eax, eax
or eax, 1
test eax, eax
je 0x180007290
sub rbx, r8
dec rbx
add rdi, rbx
lea rbx, [r8 + 1]
jmp 0x180007236
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub r8, rax
cmp r8, 0xffffffffffffffff
je 0x180007327
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffffc
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000a7e0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180007305
cmp qword [rsp + 0x70], 0x10
jb 0x1800072e4
mov rcx, qword [rsp + 0x58]
call fcn.18000c7b0
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], 0
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180004a60
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180007316
mov rcx, qword [rsp + 0x78]
call fcn.18000c7b0
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], r12
mov byte [rsp + 0x78], 0
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.18000b5f0
nop
mov qword [rsp + 0x48], r12
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 0x1800073a7
lea rax, str.Failed_to_get_identity_2
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000d188
nop
lea rax, [0x180026ab8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002dc10]
lea rcx, [rsp + 0x78]
call fcn.18000d988
int3
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x40], 0x20
lea r8, str._graspI
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.180005460
nop
mov dword [rsp + 0x38], r14d
cmp qword [rax + 0x18], 0x10
jb 0x1800073dd
mov rax, qword [rax]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
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 0x180007418
cmp dword [rsp + 0x3c], 3
jne 0x180007418
cmp dword [rsp + 0x40], 0x20
jne 0x180007418
xor bl, bl
jmp 0x18000741a
mov bl, 1
and r14d, 0xfffffffe
mov dword [rsp + 0x38], r14d
cmp qword [rbp - 0x70], 0x10
jb 0x180007434
mov rcx, qword [rsp + 0x78]
call fcn.18000c7b0
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], r12
mov byte [rsp + 0x78], 0
test bl, bl
je 0x180007483
lea rax, str.Failed_to_get_identity_3
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000d188
nop
lea rax, [0x180026ab8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002dc10]
lea rcx, [rsp + 0x78]
call fcn.18000d988
nop
cmp qword [rbp - 0x50], 0x10
jb 0x180007493
mov rcx, qword [rbp - 0x68]
call fcn.18000c7b0
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], r12
mov byte [rbp - 0x68], 0
cmp qword [rsp + 0x70], 0x10
jb 0x1800074b5
mov rcx, qword [rsp + 0x58]
call fcn.18000c7b0
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], 0
mov rax, r15
jmp 0x180007507
lea rax, str.Failed_to_get_identity_0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000d188
nop
lea rax, [0x180026ab8]
mov qword [rsp + 0x78], rax
lea rdx, [0x18002dc10]
lea rcx, [rsp + 0x78]
call fcn.18000d988
nop
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.18000c100
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret