Function at 0x180004b50
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 [0x180029528]
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.18000dd50
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, qword [0x18002bdf0]
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 0x180004bee
mov r8d, r14d
jmp 0x180004bfe
lea rax, [rbp - 0x40]
mov r8, r12
inc r8
cmp byte [rax + r8], r14b
jne 0x180004bf5
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1800012f8
nop
mov edi, 1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180004c8b
cmp rax, r12
mov rcx, r12
ja 0x180004c28
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, [0x180021d64]
call fcn.18000a1f4
test rax, rax
lea rax, [rsp + 0x58]
jne 0x180004c75
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
cmp rbx, rax
je 0x180004c6e
sub rbx, rdi
jmp 0x180004c3c
mov rax, qword [rsp + 0x68]
jmp 0x180004c8b
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
sub rbx, rax
mov rax, qword [rsp + 0x68]
jmp 0x180004c8e
mov rbx, r12
cmp rax, 5
jb 0x180004fb6
cmp rbx, r12
je 0x180004fb6
lea r8, [rbx + 1]
mov r9, r12
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000795c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004cd0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800077f0
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180004ce1
mov rcx, qword [rsp + 0x78]
call fcn.1800095a0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
cmp qword [rsp + 0x68], 5
jae 0x180004d30
lea rax, str.Failed_to_get_identity_1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009f78
nop
lea rax, [0x180021c00]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800276e8]
lea rcx, [rsp + 0x78]
call fcn.18000a6b8
int3
lea rdx, str._nova.dll
lea rcx, [rsp + 0x58]
call fcn.180007888
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x180004d7f
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff7
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000795c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004d7a
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800077f0
nop
jmp 0x180004e0b
lea rdx, str._nova64.dll
call fcn.180007888
lea rcx, [rsp + 0x58]
cmp rax, r12
je 0x180004dc6
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffff5
xor r8d, r8d
lea rdx, [rsp + 0x78]
call fcn.18000795c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004dc4
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800077f0
nop
jmp 0x180004e0b
lea rdx, str..dll
call fcn.180007888
cmp rax, r12
je 0x180004e29
mov r9, qword [rsp + 0x68]
add r9, 0xfffffffffffffffc
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.18000795c
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x180004e0b
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800077f0
nop
cmp qword [rbp - 0x70], 0x10
jb 0x180004e1c
mov rcx, qword [rsp + 0x78]
call fcn.1800095a0
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.1800085f0
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 0x180004ea9
lea rax, str.Failed_to_get_identity_2
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009f78
nop
lea rax, [0x180021c00]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800276e8]
lea rcx, [rsp + 0x78]
call fcn.18000a6b8
int3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x40], 0x20
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.1800043dc
nop
mov dword [rsp + 0x38], edi
cmp qword [rax + 0x18], 0x10
jb 0x180004ed4
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 0x180004f0e
cmp dword [rsp + 0x3c], 3
jne 0x180004f0e
cmp dword [rsp + 0x40], 0x20
mov bl, r14b
je 0x180004f11
mov bl, dil
and edi, 0xfffffffe
mov dword [rsp + 0x38], edi
cmp qword [rbp - 0x70], 0x10
jb 0x180004f29
mov rcx, qword [rsp + 0x78]
call fcn.1800095a0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
test bl, bl
je 0x180004f74
lea rax, str.Failed_to_get_identity_3
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009f78
nop
lea rax, [0x180021c00]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800276e8]
lea rcx, [rsp + 0x78]
call fcn.18000a6b8
nop
cmp qword [rbp - 0x50], 0x10
jb 0x180004f84
mov rcx, qword [rbp - 0x68]
call fcn.1800095a0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], r14b
cmp qword [rsp + 0x70], 0x10
jb 0x180004fa2
mov rcx, qword [rsp + 0x58]
call fcn.1800095a0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], r14b
mov rax, rsi
jmp 0x180004ff0
lea rax, str.Failed_to_get_identity_0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009f78
nop
lea rax, [0x180021c00]
mov qword [rsp + 0x78], rax
lea rdx, [0x1800276e8]
lea rcx, [rsp + 0x78]
call fcn.18000a6b8
nop
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180008ef0
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