Function at 0x14000902c
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 [0x140015018]
xor rax, rsp
mov qword [rbp + 0x17], rax
movsd xmm0, qword [str.___t_n]
lea rdx, [0x14000de50]
movzx eax, word [0x140012450]
mov r14, r8
movsd qword [rbp - 0x49], xmm0
xor esi, esi
movups xmm0, xmmword [0x140011b80]
and qword [rbp - 0x79], rsi
xor r9d, r9d
mov qword [rsp + 0x58], rcx
xor r8d, r8d
lea rcx, [0x1400158d0]
mov word [rbp - 0x41], ax
movdqu xmmword [0x140015740], xmm0
mov ebx, 0x80070057
xor r12d, r12d
xor r13d, r13d
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
cmp dword [0x140015840], 2
jne 0x140009110
cmp dword [0x140015834], 6
jne 0x140009110
cmp dword [0x140015838], 1
jne 0x140009110
and dword [rsp + 0x50], esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_rand_s]
test eax, eax
jne 0x140009110
movzx eax, byte [rsp + 0x50]
xor edi, edi
add eax, 1
mov dword [rsp + 0x50], eax
je 0x140009110
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 0x1400090f1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea r8, [rbp - 0x79]
mov rcx, r14
lea rdx, [rbp - 0x49]
call qword [sym.imp.msvcrt.dll_wcstok_s]
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x140009515
mov r8d, 0xb
lea rdx, str._Embedding
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x140009165
lea r15d, [rax + 1]
jmp 0x14000923c
mov r8d, 0xb
lea rdx, [0x140012470]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x140009236
mov r8d, 0xb
lea rdx, str._REGSERVER
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x140009236
mov r8d, 0xd
lea rdx, [0x1400124a0]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000922e
mov r8d, 0xd
lea rdx, str._UNREGSERVER
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000922e
mov r8d, 7
lea rdx, str._CLSID:
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x140009202
lea rcx, [rdi + 0xe]
lea rdx, [0x140015740]
call qword [sym.imp.ole32.dll_CLSIDFromString]
jmp 0x14000923c
mov r8d, 5
lea rdx, str._PID:
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x14000923c
lea rcx, [rdi + 0xa]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [0x140015608], eax
jmp 0x14000923c
mov r13d, 1
jmp 0x14000923c
mov r12d, 1
lea r8, [rbp - 0x79]
xor ecx, ecx
lea rdx, [rbp - 0x49]
inc esi
call qword [sym.imp.msvcrt.dll_wcstok_s]
mov rdi, rax
test rax, rax
jne 0x140009142
lea edi, [rax + 1]
cmp esi, edi
je 0x14000928e
cmp esi, 2
jne 0x140009515
mov rax, qword [0x140015740]
cmp rax, qword [0x140011b80]
jne 0x14000928e
mov rax, qword [0x140015748]
cmp rax, qword [0x140011b88]
je 0x140009515
test r13d, r13d
je 0x140009399
movups xmm0, xmmword [0x140011ce0]
lea rax, [rbp - 0x71]
mov edi, 0xf003f
movups xmm1, xmmword [0x140011bf0]
mov r15, 0xffffffff80000000
mov qword [rsp + 0x20], rax
mov r9d, edi
lea rdx, str.CLSID
xor r8d, r8d
mov rcx, r15
movdqu xmmword [rbp - 0x59], xmm0
movdqu xmmword [rbp - 0x69], xmm1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov ebx, reloc.iertutil.dll_Ordinal_39
test eax, eax
jne 0x140009310
mov r8d, ebx
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov rcx, qword [rbp - 0x71]
lea rdx, [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 0x71]
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x58]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppID
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140009363
mov r8d, ebx
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
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 edi, edi
jne 0x140009386
test esi, esi
jne 0x140009373
mov ebx, r14d
jmp 0x140009515
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x140009515
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140009515
test r12d, r12d
je 0x1400093aa
call fcn.140001458
mov ebx, eax
jmp 0x140009515
test r15d, r15d
je 0x140009515
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140015700], rax
test rax, rax
je 0x140009501
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
js 0x1400094f2
mov rcx, qword [rsp + 0x58]
mov edx, edi
call fcn.14000b8dc
test eax, eax
je 0x1400094ec
mov qword [rsp + 0x40], r14
or rsi, 0xffffffffffffffff
mov dword [rsp + 0x38], r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov edx, esi
xor ecx, ecx
mov dword [rsp + 0x20], 2
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
js 0x1400094be
call fcn.140001818
mov ebx, eax
test eax, eax
js 0x1400094be
xor r8d, r8d
lea rcx, str.user32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x140009481
lea rdx, str.SetProcessDPIAware
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009478
call qword [0x140011990]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.140007af8
mov rcx, qword [0x140015700]
or edx, 0xffffffff
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, r14d
xchg dword [0x140015614], eax
cmp eax, edi
jne 0x1400094be
mov ecx, dword [0x14001560c]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
lea rcx, [0x140015718]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [0x140015038]
cmp rcx, rsi
je 0x1400094d7
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [0x140015038], rsi
mov rax, qword [0x140015790]
test rax, rax
cmovne rax, rsi
mov qword [0x140015790], rax
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [0x140015700]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140009515
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.14000e250
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret