Function at 0x14000bfa0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x140011008]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [0x140003b38]
movups xmm0, xmmword [0x1400011d8]
mov r14, r8
mov qword [rbp - 0x49], rax
movzx eax, word [0x140003b40]
mov qword [rsp + 0x58], rcx
movdqu xmmword [0x140011640], xmm0
mov ebx, 0x80070057
xor esi, esi
xor r12d, r12d
mov word [rbp - 0x41], ax
xor r13d, r13d
xor r15d, r15d
call fcn.14000f640
cmp dword [0x140011700], 2
jne 0x14000c068
cmp dword [0x1400116f4], 6
jne 0x14000c068
cmp dword [0x1400116f8], 1
jne 0x14000c068
and dword [rsp + 0x50], esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_rand_s]
test eax, eax
jne 0x14000c068
movzx eax, byte [rsp + 0x50]
mov edi, esi
inc eax
mov dword [rsp + 0x50], eax
je 0x14000c068
xor ecx, ecx
mov edx, 0x10000
mov r8d, 0x2000
lea r9d, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
inc edi
cmp edi, dword [rsp + 0x50]
jb 0x14000c049
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea rdx, [rbp - 0x49]
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcstok]
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x14000c480
lea rdx, [0x140003b48]
mov r8d, 0xb
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x14000c0b9
lea r15d, [rax + 1]
jmp 0x14000c190
lea rdx, [0x140003b60]
mov r8d, 0xb
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000c18a
lea rdx, [0x140003b78]
mov r8d, 0xb
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000c18a
lea rdx, [0x140003b90]
mov r8d, 0xd
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000c182
lea rdx, [0x140003bb0]
mov r8d, 0xd
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000c182
lea rdx, [0x140003bd0]
mov r8d, 7
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x14000c156
lea rcx, [rdi + 0xe]
lea rdx, [0x140011640]
call qword [sym.imp.ole32.dll_CLSIDFromString]
jmp 0x14000c190
lea rdx, [0x140003be0]
mov r8d, 5
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x14000c190
lea rcx, [rdi + 0xa]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [0x1400115ec], eax
jmp 0x14000c190
mov r13d, 1
jmp 0x14000c190
mov r12d, 1
lea rdx, [rbp - 0x49]
xor ecx, ecx
inc esi
call qword [sym.imp.msvcrt.dll_wcstok]
mov rdi, rax
test rax, rax
jne 0x14000c096
lea edi, [rax + 1]
cmp esi, edi
je 0x14000c1de
cmp esi, 2
jne 0x14000c480
mov rax, qword [0x140011640]
cmp rax, qword [0x1400011d8]
jne 0x14000c1de
mov rax, qword [0x140011648]
cmp rax, qword [0x1400011e0]
je 0x14000c480
test r13d, r13d
je 0x14000c2ed
movups xmm0, xmmword [0x1400012e8]
movups xmm1, xmmword [0x140003ec0]
lea rax, [rbp - 0x79]
mov edi, 0xf003f
mov r15, 0xffffffff80000000
lea rdx, [0x140003670]
mov r9d, edi
xor r8d, r8d
mov rcx, r15
movdqu xmmword [rbp - 0x69], xmm0
movdqu xmmword [rbp - 0x59], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 0x27
mov esi, eax
test eax, eax
jne 0x14000c260
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
mov r8d, ebx
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov rcx, qword [rbp - 0x79]
lea rdx, [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 0x79]
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x58]
lea rdx, [0x140003c38]
mov r9d, edi
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000c2b3
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
mov r8d, ebx
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x58]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x14000c2c3
test edi, edi
jne 0x14000c2da
mov ebx, r14d
jmp 0x14000c480
test edi, edi
jne 0x14000c2da
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x14000c480
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x14000c480
test r12d, r12d
je 0x14000c2fe
call fcn.140004420
mov ebx, eax
jmp 0x14000c480
test r15d, r15d
je 0x14000c480
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140011600], rax
test rax, rax
je 0x14000c46c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
js 0x14000c45d
mov edx, edi
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.14000ecfc
test eax, eax
je 0x14000c457
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
or rsi, 0xffffffffffffffff
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, esi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 2
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
js 0x14000c429
mov qword [0x140011608], rdi
call fcn.1400047f0
mov ebx, eax
test eax, eax
js 0x14000c429
lea rcx, [0x140003cd0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x14000c3eb
lea rdx, [0x140003ce8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14000c3e2
mov rcx, rax
call qword [0x1400136a0]
call rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.14000a910
mov rcx, qword [0x140011600]
or edx, 0xffffffff
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, r14d
xchg dword [0x1400115e8], eax
cmp eax, 1
jne 0x14000c429
mov ecx, dword [0x1400115f0]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
lea rcx, [0x140011618]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [0x140011020]
cmp rcx, rsi
je 0x14000c442
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [0x140011020], rsi
mov rax, qword [0x140011690]
test rax, rax
cmovne rax, rsi
mov qword [0x140011690], rax
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [0x140011600]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c480
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14000faa0
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret