Function at 0x140078bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x1400f96a8], 0
jne 0x140078bf1
call fcn.140078370
test al, al
je 0x140078e5f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
mov rdx, r14
call sub.ntdll.dll_RtlInitUnicodeString
mov dword [rsp + 0x4c], 0x18
mov qword [rsp + 0x38], 0
mov ecx, 0x18
call fcn.14008bb48
mov qword [rsp + 0x30], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x40], rcx
test rax, rax
je 0x140078ec6
mov byte [rax], 0
cmp rax, 0xffffffffffffffff
je 0x140078ec6
mov byte [rax + 1], 0
cmp rax, 0xfffffffffffffffe
je 0x140078ec6
mov byte [rax + 2], 0
cmp rax, 0xfffffffffffffffd
je 0x140078ec6
mov byte [rax + 3], 0
cmp rax, 0xfffffffffffffffc
je 0x140078ec6
mov byte [rax + 4], 0
cmp rax, 0xfffffffffffffffb
je 0x140078ec6
mov byte [rax + 5], 0
cmp rax, 0xfffffffffffffffa
je 0x140078ec6
mov byte [rax + 6], 0
cmp rax, 0xfffffffffffffff9
je 0x140078ec6
mov byte [rax + 7], 0
cmp rax, 0xfffffffffffffff8
je 0x140078ec6
mov byte [rax + 8], 0
cmp rax, 0xfffffffffffffff7
je 0x140078ec6
mov byte [rax + 9], 0
cmp rax, 0xfffffffffffffff6
je 0x140078ec6
mov byte [rax + 0xa], 0
cmp rax, 0xfffffffffffffff5
je 0x140078ec6
mov byte [rax + 0xb], 0
cmp rax, 0xfffffffffffffff4
je 0x140078ec6
mov byte [rax + 0xc], 0
cmp rax, 0xfffffffffffffff3
je 0x140078ec6
mov byte [rax + 0xd], 0
cmp rax, 0xfffffffffffffff2
je 0x140078ec6
mov byte [rax + 0xe], 0
cmp rax, 0xfffffffffffffff1
je 0x140078ec6
mov byte [rax + 0xf], 0
cmp rax, 0xfffffffffffffff0
je 0x140078ec6
mov byte [rax + 0x10], 0
cmp rax, 0xffffffffffffffef
je 0x140078ec6
mov byte [rax + 0x11], 0
cmp rax, 0xffffffffffffffee
je 0x140078ec6
mov byte [rax + 0x12], 0
cmp rax, 0xffffffffffffffed
je 0x140078ec6
mov byte [rax + 0x13], 0
cmp rax, 0xffffffffffffffec
je 0x140078ec6
mov byte [rax + 0x14], 0
cmp rax, 0xffffffffffffffeb
je 0x140078ec6
mov byte [rax + 0x15], 0
cmp rax, 0xffffffffffffffea
je 0x140078ec6
mov byte [rax + 0x16], 0
cmp rax, 0xffffffffffffffe9
je 0x140078ec6
mov byte [rax + 0x17], 0
mov qword [rsp + 0x38], rcx
mov ebp, 5
lea r14, [rsp + 0x30]
lea r13, [rsp + 0x4c]
lea r15, [rsp + 0x50]
jmp 0x140078da8
dec ebp
je 0x140078e5b
mov eax, dword [rsp + 0x4c]
mov r12, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r8, rcx
sub r8, r12
mov rdx, rax
sub rdx, r8
jbe 0x140078de0
mov rcx, r14
call fcn.14001d280
mov r12, qword [rsp + 0x30]
mov eax, dword [rsp + 0x4c]
jmp 0x140078dfd
jae 0x140078dfd
lea rdx, [r12 + rax]
mov r8, rcx
sub r8, rdx
dec rcx
cmp r8, rcx
ja 0x140078ec6
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], eax
mov rcx, rbx
mov rdx, r15
mov r8d, 1
mov r9, r12
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0xc0000023
je 0x140078da0
cmp eax, 0x80000005
je 0x140078da0
test eax, eax
js 0x140078e5b
mov eax, dword [r12 + 4]
mov dword [rdi], eax
mov r9d, dword [r12 + 0xc]
test r9, r9
je 0x140078e63
mov edx, dword [r12 + 8]
add rdx, r12
lea r8, [rdx + r9]
mov rcx, rsi
call fcn.140024800
jmp 0x140078e7c
xor esi, esi
jmp 0x140078e7f
xor esi, esi
jmp 0x140078ea6
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov rdx, rcx
sub rdx, rax
dec rcx
cmp rdx, rcx
ja 0x140078ec6
mov qword [rsi + 8], rax
mov sil, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140078ea6
mov rax, qword [rsp + 0x38]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140078ec6
mov qword [rsp + 0x38], rcx
call fcn.14008bb84
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008cf80
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2