Function at 0x100005450
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x220
mov rax, qword [0x10000c168]
xor rax, rsp
mov qword [rsp + 0x210], rax
xor r12d, r12d
mov ebp, r8d
mov rbx, rdx
cmp rdx, r12
mov rdi, rcx
mov qword [rsp + 0x68], r12
je 0x100005909
mov eax, dword [0x1000015c8]
cmp dword [rcx], eax
jne 0x1000054c4
mov eax, dword [0x1000015cc]
cmp dword [rcx + 4], eax
jne 0x1000054c4
mov eax, dword [0x1000015d0]
cmp dword [rcx + 8], eax
jne 0x1000054c4
mov eax, dword [0x1000015d4]
cmp dword [rcx + 0xc], eax
je 0x100005909
lea rax, [rsp + 0x68]
mov r13d, 1
lea r9, [0x100001d10]
lea rcx, [0x1000015d8]
xor edx, edx
mov r8d, r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r12d
jl 0x1000058f9
cmp dword [rbx], r12d
je 0x100005565
cmp ebp, r12d
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
mov r8d, r13d
mov rdx, rdi
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x80], xmm0
mov rax, qword [rcx]
je 0x100005552
cmp dword [rbx], r13d
jne 0x100005531
call qword [rax + 0x28]
jmp 0x100005534
call qword [rax + 0x38]
cmp eax, r12d
mov esi, eax
jge 0x10000555f
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x10000554b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
jmp 0x10000590b
cmp dword [rbx], r13d
jne 0x10000555c
call qword [rax + 0x30]
jmp 0x10000555f
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x1000054f6
cmp ebp, r12d
jne 0x1000058f9
lea rdx, [rsp + 0x190]
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov ebx, 0x80
lea r8, [0x100001b50]
lea rcx, [rsp + 0x90]
mov rdx, rbx
call sub.msvcrt.dll_wcscpy_s
lea esi, [rbx - 0x74]
lea ebp, [rbx - 0x30]
cmp eax, r12d
lea r13d, [rbx - 0x6a]
je 0x1000055e3
cmp eax, esi
je 0x1000055d8
cmp eax, r13d
je 0x1000055cd
cmp eax, 0x22
je 0x1000055cd
cmp eax, ebp
je 0x1000055e3
mov ecx, 0x80004005
call fcn.1000029b8
int3
mov ecx, 0x80070057
call fcn.1000029b8
int3
mov ecx, 0x8007000e
call fcn.1000029b8
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov rdx, rbx
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x100005633
cmp eax, esi
je 0x100005628
cmp eax, r13d
je 0x10000561d
cmp eax, 0x22
je 0x10000561d
cmp eax, ebp
je 0x100005633
mov ecx, 0x80004005
call fcn.1000029b8
int3
mov ecx, 0x80070057
call fcn.1000029b8
int3
mov ecx, 0x8007000e
call fcn.1000029b8
int3
lea r8, [0x100001b60]
lea rcx, [rsp + 0x90]
mov rdx, rbx
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x100005682
cmp eax, esi
je 0x100005677
cmp eax, r13d
je 0x10000566c
cmp eax, 0x22
je 0x10000566c
cmp eax, ebp
je 0x100005682
mov ecx, 0x80004005
call fcn.1000029b8
int3
mov ecx, 0x80070057
call fcn.1000029b8
int3
mov ecx, 0x8007000e
call fcn.1000029b8
int3
lea rax, [rsp + 0x78]
mov r15, 0xffffffff80000000
lea rdx, [rsp + 0x90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], rax
mov rbx, r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x78], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x100005733
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov rcx, rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp rbx, r12
movsxd rdi, eax
je 0x100005716
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x100005733
cmp dword [rsp + 0x60], r12d
jne 0x100005733
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, 0x80
lea r8, [0x100001b50]
lea rcx, [rsp + 0x90]
mov rdx, rdi
call sub.msvcrt.dll_wcscpy_s
cmp eax, r12d
je 0x100005787
cmp eax, esi
je 0x10000577c
cmp eax, r13d
je 0x100005771
cmp eax, 0x22
je 0x100005771
cmp eax, ebp
je 0x100005787
mov ecx, 0x80004005
call fcn.1000029b8
int3
mov ecx, 0x80070057
call fcn.1000029b8
int3
mov ecx, 0x8007000e
call fcn.1000029b8
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov rdx, rdi
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x1000057d7
cmp eax, esi
je 0x1000057cc
cmp eax, r13d
je 0x1000057c1
cmp eax, 0x22
je 0x1000057c1
cmp eax, ebp
je 0x1000057d7
mov ecx, 0x80004005
call fcn.1000029b8
int3
mov ecx, 0x80070057
call fcn.1000029b8
int3
mov ecx, 0x8007000e
call fcn.1000029b8
int3
lea r8, [0x100001b90]
lea rcx, [rsp + 0x90]
mov rdx, rdi
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x100005826
cmp eax, esi
je 0x10000581b
cmp eax, r13d
je 0x100005810
cmp eax, 0x22
je 0x100005810
cmp eax, ebp
je 0x100005826
mov ecx, 0x80004005
call fcn.1000029b8
int3
mov ecx, 0x80070057
call fcn.1000029b8
int3
mov ecx, 0x8007000e
call fcn.1000029b8
int3
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1000058e2
cmp rbx, r12
mov eax, r12d
je 0x100005869
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, r12d
mov rbx, qword [rsp + 0x70]
jne 0x1000058e2
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp rbx, r12
movsxd rdi, eax
je 0x1000058c5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x1000058e2
cmp dword [rsp + 0x60], r12d
jne 0x1000058e2
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp rbx, r12
je 0x1000058f0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x100005909
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.100009600
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret