Function at 0x140030950
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor esi, esi
mov r14d, r8d
mov qword [rbp - 0x80], rsi
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140030e34
mov eax, dword [0x140045e60]
cmp dword [rcx], eax
jne 0x1400309c5
mov eax, dword [0x140045e64]
cmp dword [rcx + 4], eax
jne 0x1400309c5
mov eax, dword [0x140045e68]
cmp dword [rcx + 8], eax
jne 0x1400309c5
mov eax, dword [0x140045e6c]
cmp dword [rcx + 0xc], eax
je 0x140030e34
xor edx, edx
lea rax, [rbp - 0x80]
lea r9, [0x1400459d0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140045eb0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140030e34
mov ecx, dword [rbx]
test ecx, ecx
je 0x140030a6a
nop word [rax + rax]
mov rax, qword [rbx + 8]
lea r9, [rbp - 0x78]
mov r8d, 1
mov rdx, rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
test r14d, r14d
je 0x140030a43
cmp ecx, r8d
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
jne 0x140030a2f
mov rax, qword [rax + 0x28]
jmp 0x140030a33
mov rax, qword [rax + 0x38]
call qword [case.0x140025198.0]
test eax, eax
js 0x140030e36
jmp 0x140030a5f
cmp ecx, 1
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
jne 0x140030a55
mov rax, qword [rax + 0x30]
jmp 0x140030a59
mov rax, qword [rax + 0x40]
call qword [case.0x140025198.0]
mov ecx, dword [rbx + 0x10]
add rbx, 0x10
test ecx, ecx
jne 0x140030a00
test r14d, r14d
jne 0x140030e38
lea r8d, [r14 + 0x40]
mov rcx, rdi
lea rdx, [rbp + 0xa0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x140030a94
lea eax, [r14 + 0xd]
jmp 0x140030e36
lea r8, str.CLSID_
mov edx, 0x80
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
test eax, eax
je 0x140030ad2
cmp eax, 0xc
je 0x140030e77
cmp eax, 0x16
je 0x140030e8d
cmp eax, 0x22
je 0x140030e8d
cmp eax, 0x50
jne 0x140030e82
lea r8, [rbp + 0xa0]
mov edx, 0x80
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
je 0x140030b10
cmp eax, 0xc
je 0x140030e77
cmp eax, 0x16
je 0x140030e8d
cmp eax, 0x22
je 0x140030e8d
cmp eax, 0x50
jne 0x140030e82
lea r8, str.Required_Categories
mov edx, 0x80
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
je 0x140030b4e
cmp eax, 0xc
je 0x140030e77
cmp eax, 0x16
je 0x140030e8d
cmp eax, 0x22
je 0x140030e8d
cmp eax, 0x50
jne 0x140030e82
mov r9d, 0x20019
mov qword [rsp + 0x68], rsi
lea r8, [rbp - 0x60]
mov qword [rsp + 0x60], rsi
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x78], esi
call fcn.1400166c0
test eax, eax
jne 0x140030c62
mov rbx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rdi, eax
test rbx, rbx
je 0x140030bdd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], esi
test rdi, rdi
jne 0x140030c62
cmp dword [rsp + 0x78], esi
jne 0x140030c62
cmp byte [0x14006c5f8], sil
jne 0x140030c37
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140030c27
lea rdx, [0x14003a6a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006c5f0], rax
mov byte [0x14006c5f8], 1
jmp 0x140030c3e
mov rax, qword [0x14006c5f0]
mov byte [0x14006c5f8], 1
jmp 0x140030c3e
mov rax, qword [0x14006c5f0]
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x140030c5c
xor r9d, r9d
xor r8d, r8d
call qword [case.0x140025198.0]
jmp 0x140030c62
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r8, str.CLSID_
mov edx, 0x80
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
test eax, eax
je 0x140030ca0
cmp eax, 0xc
je 0x140030e77
cmp eax, 0x16
je 0x140030e8d
cmp eax, 0x22
je 0x140030e8d
cmp eax, 0x50
jne 0x140030e82
lea r8, [rbp + 0xa0]
mov edx, 0x80
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
je 0x140030cde
cmp eax, 0xc
je 0x140030e77
cmp eax, 0x16
je 0x140030e8d
cmp eax, 0x22
je 0x140030e8d
cmp eax, 0x50
jne 0x140030e82
lea r8, str.Implemented_Categories
mov edx, 0x80
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
je 0x140030d1c
cmp eax, 0xc
je 0x140030e77
cmp eax, 0x16
je 0x140030e8d
cmp eax, 0x22
je 0x140030e8d
cmp eax, 0x50
jne 0x140030e82
mov r9d, 0x20019
lea r8, [rbp - 0x60]
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x60]
call fcn.1400166c0
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x140030e17
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rsi
xor r9d, r9d
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x38], rsi
mov rcx, rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rdi, eax
test rbx, rbx
je 0x140030d96
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
test rdi, rdi
jne 0x140030e17
cmp dword [rsp + 0x78], esi
jne 0x140030e17
cmp byte [0x14006c5f8], sil
jne 0x140030dec
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140030ddc
lea rdx, [0x14003a6a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006c5f0], rax
mov byte [0x14006c5f8], 1
jmp 0x140030df3
mov rax, qword [0x14006c5f0]
mov byte [0x14006c5f8], 1
jmp 0x140030df3
mov rax, qword [0x14006c5f0]
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x140030e11
xor r9d, r9d
xor r8d, r8d
call qword [case.0x140025198.0]
jmp 0x140030e17
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x140030e25
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140030e38
mov eax, esi
mov esi, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140030e4e
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x140025198.0]
mov eax, esi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140032650
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400158a0
int3
mov ecx, 0x80004005
call fcn.1400158a0
int3
mov ecx, 0x80070057
call fcn.1400158a0
int3