Function at 0x180004b8c
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 [0x18002b528]
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.18000de50
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, qword [0x18002ddf0]
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 0x180004c2a
mov r8d, r14d
jmp 0x180004c3a
lea rax, [rbp - 0x40]
mov r8, r12
inc r8
cmp byte [rax + r8], r14b
jne 0x180004c31
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1800012f8
nop
mov edi, 1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180004cc7
cmp rax, r12
mov rcx, r12
ja 0x180004c64
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, [0x180023f0c]
call fcn.18000a2f8
test rax, rax
lea rax, [rsp + 0x58]
jne 0x180004cb1
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
cmp rbx, rax
je 0x180004caa
sub rbx, rdi
jmp 0x180004c78
mov rax, qword [rsp + 0x68]
jmp 0x180004cc7
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rbx, rax
mov rax, qword [rsp + 0x68]
jmp 0x180004cca
mov rbx, r12
cmp rax, 5
jb 0x180004ff2
cmp rbx, r12
je 0x180004ff2
lea r8, [rbx + 1]
mov r9, r12
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.180007858
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004d0c
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800076ec
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180004d1d
mov rcx, qword [rsp + 0x78]
call fcn.1800095e0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
cmp qword [rsp + 0x68], 5
jae 0x180004d6c
lea rax, str.Failed_to_get_identity_1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009fb8
nop
lea rax, [0x180023da8]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800299b0]
lea rcx, [rsp + 0x78]
call fcn.18000a7b8
int3
lea rdx, str._nova.dll
lea rcx, [rsp + 0x58]
call fcn.180007784
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x180004dbb
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff7
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.180007858
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004db6
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800076ec
nop
jmp 0x180004e47
lea rdx, str._nova64.dll
call fcn.180007784
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x180004e02
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff5
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.180007858
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004e00
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800076ec
nop
jmp 0x180004e47
lea rdx, str..dll
call fcn.180007784
cmp rax, r12
je 0x180004e65
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffffc
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.180007858
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004e47
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800076ec
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180004e58
mov rcx, qword [rsp + 0x78]
call fcn.1800095e0
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.180008630
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 0x180004ee5
lea rax, str.Failed_to_get_identity_2
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009fb8
nop
lea rax, [0x180023da8]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800299b0]
lea rcx, [rsp + 0x78]
call fcn.18000a7b8
int3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x40], 0x20
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.180004240
nop
mov dword [rsp + 0x38], edi
cmp qword [rax + 0x18], 0x10
jb 0x180004f10
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 0x180004f4a
cmp dword [rsp + 0x3c], 3
jne 0x180004f4a
cmp dword [rsp + 0x40], 0x20
mov bl, r14b
je 0x180004f4d
mov bl, dil
and edi, 0xfffffffe
mov dword [rsp + 0x38], edi
cmp qword [rbp - 0x70], 0x10
jb 0x180004f65
mov rcx, qword [rsp + 0x78]
call fcn.1800095e0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
test bl, bl
je 0x180004fb0
lea rax, str.Failed_to_get_identity_3
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009fb8
nop
lea rax, [0x180023da8]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800299b0]
lea rcx, [rsp + 0x78]
call fcn.18000a7b8
nop
cmp qword [rbp - 0x50], 0x10
jb 0x180004fc0
mov rcx, qword [rbp - 0x68]
call fcn.1800095e0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], r14b
cmp qword [rsp + 0x70], 0x10
jb 0x180004fde
mov rcx, qword [rsp + 0x58]
call fcn.1800095e0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], r14b
mov rax, rsi
jmp 0x18000502c
lea rax, str.Failed_to_get_identity_0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009fb8
nop
lea rax, [0x180023da8]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800299b0]
lea rcx, [rsp + 0x78]
call fcn.18000a7b8
nop
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180008f30
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