Function at 0x14002f7c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14008b020]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, r8
mov r15, rcx
mov qword [rbp - 0x40], rcx
xor r12d, r12d
mov dword [rsp + 0x6c], r12d
mov qword [rsp + 0x70], r12
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14002f816
mov rdx, qword [r8]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14002f883
cmp qword [rdi + 0x18], 8
jb 0x14002f844
mov rdi, qword [rdi]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14002f883
mov qword [r15], r12
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
mov dword [rsp + 0x6c], 1
jmp 0x14002fbbc
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
lea r8, [rbp - 0x68]
lea rcx, [rbp - 0x50]
call fcn.140030e40
nop
mov dword [rsp + 0x60], r12d
mov word [rbp - 0x10], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0xe]
call fcn.14003fa40
mov dword [rbp - 0x70], 0x104
mov dword [rsp + 0x68], r12d
lea rax, [rbp - 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002fba0
cmp dword [rsp + 0x60], eax
je 0x14002fba0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r12
mov r14d, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x14002fb71
movzx ebx, byte [rsp + 0x64]
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
mov r8d, dword [rsp + 0x68]
inc r8d
mov rcx, qword [rbp - 0x20]
cmp r8, rcx
ja 0x14002f9aa
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], r8
mov word [rax + r8*2], r12w
jmp 0x14002fa00
mov rdx, r8
sub rdx, rcx
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x14002f9ea
mov qword [rbp - 0x20], r8
lea r9, [rbp - 0x30]
cmp rdi, 8
cmovae r9, qword [rbp - 0x30]
lea rdi, [r9 + rcx*2]
test rdx, rdx
je 0x14002f9e3
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r9 + r8*2], r12w
jmp 0x14002fa00
mov word [rsp + 0x20], r12w
mov r9, rdx
movzx r8d, bl
lea rcx, [rbp - 0x30]
call fcn.140004690
mov r9d, dword [rsp + 0x68]
inc r9d
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r8, qword [rbp - 0x30]
mov edx, r14d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14002fb12
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14002fae3
lea rax, [rbp - 0x30]
mov rdi, qword [rbp - 0x30]
mov r8, qword [rbp - 0x18]
cmp r8, 8
cmovae rax, rdi
cmp word [rax + rcx*2 - 2], 0
jne 0x14002fae3
lea rax, [rbp - 0x30]
cmp r8, 8
cmovae rax, rdi
lea rsi, [rax + rcx*2]
lea rax, [rbp - 0x30]
cmovae rax, rdi
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x30]
cmovae rcx, rdi
xor r8d, r8d
call fcn.14003cba0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov r9, rax
sub r9, rcx
sar r9, 1
sub rsi, rax
sar rsi, 1
mov rdi, qword [rbp - 0x20]
mov rax, rdi
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
lea rcx, [rax + r9*2]
sub rdi, rsi
lea rdx, [rcx + rsi*2]
mov r8, rdi
sub r8, r9
lea r8, [r8*2 + 2]
call fcn.14003f3a0
mov qword [rbp - 0x20], rdi
mov rax, qword [rbp - 0x80]
cmp rax, qword [rbp - 0x78]
je 0x14002fb00
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140003f50
add qword [rbp - 0x80], 0x20
jmp 0x14002fb12
lea r8, [rbp - 0x30]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140031ea0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14002fb52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14002fb4d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fbea
call fcn.14003d1f0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
inc r14d
cmp r14d, dword [rsp + 0x60]
jb 0x14002f960
mov rdx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r12
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 0x80], r12
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], r12
mov qword [r15], rax
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rdx
mov dword [rsp + 0x6c], 1
jmp 0x14002fbb3
mov qword [r15], r12
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
mov dword [rsp + 0x6c], 1
lea rcx, [rbp - 0x50]
call fcn.140030550
mov rax, r15
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14003d1d0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004930c
int3