Function at 0x14004e8a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x60], rdx
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004ecff
mov rcx, qword [rbp - 0x28]
xor eax, eax
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x30], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x1a0], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movabs rbx, 0xb9b2d81febbbaff7
movabs rdi, 0x2aafbff6e6e58e44
movabs r15, 0xc0bbaf38172d7dd3
movabs r14, 0xe5c7a650d22341be
movabs r12, 0xb49bcb5d7b441c95
movabs r13, 0xb336234fae1243a
test eax, eax
jne 0x14004eb80
cmp dword [rbp - 0x20], eax
jbe 0x14004eb80
mov ecx, dword [rbp - 0x30]
mov eax, 2
inc ecx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140127750
mov rdi, rax
xor eax, eax
mov ebx, eax
cmp dword [rbp - 0x20], eax
jbe 0x14004eb64
movabs rsi, 0xb9b2d81febbbaff7
nop dword [rax + rax]
mov ecx, dword [rbp - 0x30]
lea r9, [rbp - 0x1c]
mov qword [rsp + 0x38], rax
inc ecx
mov qword [rsp + 0x30], rax
mov r8, rdi
mov dword [rbp - 0x1c], ecx
xor edx, edx
mov rcx, qword [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14004eb4f
mov rcx, qword [rbp - 0x28]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14004eb4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x68], r15
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
mov r8d, eax
mov qword [rbp - 0x60], rcx
movabs rax, 0x6e4707589f850455
mov qword [rsp + 0x68], rax
movabs rax, 0x83cbbd7489cedcd7
mov rcx, qword [rsp + 0x68]
mov qword [rbp - 0x58], rcx
mov qword [rsp + 0x68], rax
movabs rax, 0x58ddfad6c896ab64
mov rcx, qword [rsp + 0x68]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x48], rax
movabs rax, 0x7f42505cef8d22e6
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x68], r14
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x68], r12
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], r13
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x68], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x30], rax
movabs rax, 0x2aafbff6e6e58e44
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x38], rax
movabs rax, 0x7f483479cfb75089
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x68], r14
mov rax, qword [rsp + 0x68]
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmm1, xmmword [rbp - 0x50]
xorps xmm1, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [rbp - 0x40]
mov qword [rbp + 0x48], rax
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x50], xmm1
call fcn.140003b80
inc ebx
mov eax, 0
cmp ebx, dword [rbp - 0x20]
jb 0x14004e9e0
mov rsi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1401270fc
movabs rbx, 0xb9b2d81febbbaff7
movabs rdi, 0x2aafbff6e6e58e44
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14004ecca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x60], r15
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
mov r8d, eax
mov qword [rsp + 0x70], rcx
movabs rax, 0x6e4707589f850455
mov qword [rsp + 0x60], rax
movabs rax, 0xcbc6ab768cdeddd7
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x60], rax
movabs rax, 0xf8f858f838eae3d
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x80], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
movabs rax, 0xd27460b8a977efa
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
movabs rax, 0xe5c7a65ab6066184
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x60], r12
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], r13
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbx
mov qword [rbp - 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp], rax
mov qword [rsp + 0x60], rdi
mov rax, qword [rsp + 0x60]
mov qword [rbp + 8], rax
movabs rax, 0x7f483479cfb75089
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x60], r14
mov rax, qword [rsp + 0x60]
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rbp - 0x70]
mov qword [rbp + 0x18], rax
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x80], xmm1
call fcn.140003b80
mov rbx, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140126e40
mov rsi, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movabs r15, 0xc0bbaf38172d7dd3
movabs r12, 0xb49bcb5d7b441c95
mov qword [rsp + 0x60], r15
mov r8d, eax
mov rcx, qword [rsp + 0x60]
movabs rax, 0x79130c518a8e0455
mov qword [rsp + 0x70], rcx
movabs r13, 0xb336234fae1243a
mov qword [rsp + 0x60], rax
movabs r14, 0xe5c7a650d22341be
mov rcx, qword [rsp + 0x60]
movabs rax, 0x99cbaa6b98d2c892
mov qword [rsp + 0x78], rcx
mov rdx, rsi
mov qword [rsp + 0x60], rax
movabs rax, 0x4dc9ad6dc9ceb2f
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x80], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
movabs rax, 0x5f724616bdc515a9
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
movabs rax, 0xe5c7a650d229259b
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x60], r12
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x60], r13
mov rax, qword [rsp + 0x60]
mov qword [rbp - 8], rax
movabs rax, 0xb9b2d81febbbaff7
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp], rax
movabs rax, 0x2aafbff6e6e58e44
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 8], rax
movabs rax, 0x7f483479cfb75089
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x60], r14
mov rax, qword [rsp + 0x60]
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rbp - 0x70]
mov qword [rbp + 0x18], rax
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x80], xmm1
call fcn.140003b80
jmp 0x14004ecda