Function at 0x141a576f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
mov qword [rbp - 0x60], rcx
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x60], 1
mov ecx, 0x38
lea r8, [0x1400bb820]
mov rax, r8
mov edx, r14d
cmp rcx, 1
je 0x141a57767
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x141a57752
mov rdx, rax
lea rax, [0x1400bb890]
test rdx, rdx
cmovne rax, rdx
sub rax, r8
sar rax, 1
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r8
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x20], r14d
mov r9d, 0x20019
lea r8, [rbp - 0x80]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.141a88fd0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x141a579aa
mov dword [rsp + 0x64], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x141a579aa
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x141a579aa
mov edi, r14d
mov rsi, qword [rbp - 0x60]
nop dword [rax]
mov dword [rsp + 0x68], 0xff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x20]
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x141a5799e
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.14198daf0
nop
mov rcx, qword [rax]
mov qword [rbp - 0x80], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x78], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x70], rcx
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov eax, dword [rsp + 0x60]
or eax, 0xa
mov dword [rsp + 0x60], eax
test al, 4
je 0x141a578cc
and dword [rsp + 0x60], 0xfffffffb
test rsi, rsi
je 0x141a578cc
mov eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x141a578cc
mov edx, 2
mov r8d, 8
mov rcx, rsi
call fcn.1419a7030
nop
mov eax, dword [rsp + 0x60]
test al, 2
je 0x141a57905
and dword [rsp + 0x60], 0xfffffffd
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x141a57905
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a57905
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.1419a7030
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.141993490
or dword [rsp + 0x60], 0x10
lea r8, [rbp - 0x58]
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.1419aa370
mov rax, qword [rbx]
test rax, rax
je 0x141a57936
mov eax, dword [rax]
cmp eax, 1
jle 0x141a57947
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1419ac930
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x141a57973
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a57973
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x58]
call fcn.1419a7030
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x141a5799e
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141a5799e
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x80]
call fcn.1419a7030
inc edi
cmp edi, dword [rsp + 0x64]
jb 0x141a57820
lea rcx, [rsp + 0x70]
call fcn.141a89020
mov rax, rbx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.141ae2a00
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret