Function at 0x140067800
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x300], rbx
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, r8
xor r13d, r13d
mov ebx, r13d
mov dword [rbp - 0x80], 0x104
mov qword [rsp + 0x78], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov r12d, r13d
mov qword [rbp - 0x68], r13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
lea r9d, [r13 + 8]
lea r8d, [r13 + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400679e1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rsi, qword [rbp - 0x70]
cmp eax, 0x103
je 0x1400679d4
inc ebx
mov dword [rbp - 0x80], 0x104
cmp dword [0x14045e968], 0
jne 0x1400679d4
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r13
mov word [rsp + 0x48], r13w
cmp word [rbp - 0x60], 0
jne 0x1400678f6
mov r8, r13
jmp 0x14006790b
lea rax, [rbp - 0x60]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140067900
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.14004dd70
lea rcx, [rsp + 0x48]
call fcn.140082440
cmp rsi, r12
jne 0x140067939
lea rcx, [rbp - 0x78]
call fcn.140056660
mov r12, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x70]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x68], rsi
test rsi, rsi
je 0x140067998
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
cmp qword [rsi + 0x18], 8
jb 0x140067960
mov rax, qword [rsi]
jmp 0x140067963
mov rax, rsi
mov word [rax], r13w
cmp word [rbp - 0x60], 0
jne 0x140067973
mov r8, r13
jmp 0x14006798b
lea rax, [rbp - 0x60]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140067980
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14004dd70
nop
add rsi, 0x20
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov edx, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400678c0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400679e5
mov rsi, qword [rbp - 0x70]
mov rax, rsi
mov r15, qword [rbp - 0x78]
sub rax, r15
sar rax, 5
test rax, rax
je 0x140067b24
cmp qword [r14 + 8], 0
jbe 0x140067b24
mov rdi, r15
cmp r15, rsi
je 0x140067b24
cmp dword [0x14045e968], 0
jne 0x140067b24
cmp qword [rdi + 0x18], 8
jb 0x140067a2c
mov rdx, qword [rdi]
jmp 0x140067a2f
mov rdx, rdi
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r13
mov word [rsp + 0x48], r13w
cmp word [rdx], 0
jne 0x140067a4e
mov r8, r13
jmp 0x140067a5d
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140067a52
lea rcx, [rsp + 0x48]
call fcn.14004dd70
lea rcx, [rsp + 0x48]
call fcn.140082440
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140067b17
cmp dword [0x14045e968], 0
jne 0x140067b17
cmp qword [rdi + 0x18], 8
jb 0x140067a99
mov rcx, qword [rdi]
jmp 0x140067a9c
mov rcx, rdi
mov rdx, qword [rbx + 0x40]
add rdx, 0x68
call fcn.14027c4d8
test eax, eax
jne 0x140067ac2
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140067ef0
mov rbx, qword [rax]
jmp 0x140067b0e
cmp byte [rbx + 0x19], 0
jne 0x140067b0e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140067aee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140067b0e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140067ae0
jmp 0x140067b0e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140067b0b
cmp rbx, qword [rax + 0x10]
jne 0x140067b0b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140067af8
mov rbx, rax
cmp rbx, qword [r14]
jne 0x140067a80
add rdi, 0x20
cmp rdi, rsi
jne 0x140067a13
test r15, r15
je 0x140067b46
mov rdx, rsi
mov rcx, r15
call fcn.1400568e0
sub r12, r15
sar r12, 5
mov r8, r12
mov rdx, r15
call fcn.140056760
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret