Function at 0x100019250
Capabilities:
Delete registry key

Disassembly:
jmp 0x100019250
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 [0x10002e230]
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 0x100019709
mov eax, dword [0x10000da90]
cmp dword [rcx], eax
jne 0x1000192c4
mov eax, dword [0x10000da94]
cmp dword [rcx + 4], eax
jne 0x1000192c4
mov eax, dword [0x10000da98]
cmp dword [rcx + 8], eax
jne 0x1000192c4
mov eax, dword [0x10000da9c]
cmp dword [rcx + 0xc], eax
je 0x100019709
lea rax, [rsp + 0x68]
mov r13d, 1
lea r9, [0x10000b9d0]
lea rcx, [0x10000d720]
xor edx, edx
mov r8d, r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r12d
jl 0x1000196f9
cmp dword [rbx], r12d
je 0x100019365
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 0x100019352
cmp dword [rbx], r13d
jne 0x100019331
call qword [rax + 0x28]
jmp 0x100019334
call qword [rax + 0x38]
cmp eax, r12d
mov esi, eax
jge 0x10001935f
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x10001934b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
jmp 0x10001970b
cmp dword [rbx], r13d
jne 0x10001935c
call qword [rax + 0x30]
jmp 0x10001935f
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x1000192f6
cmp ebp, r12d
jne 0x1000196f9
lea rdx, [rsp + 0x190]
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov ebx, 0x80
lea r8, [0x10000b9c0]
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 0x1000193e3
cmp eax, esi
je 0x1000193d8
cmp eax, r13d
je 0x1000193cd
cmp eax, 0x22
je 0x1000193cd
cmp eax, ebp
je 0x1000193e3
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov rdx, rbx
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x100019433
cmp eax, esi
je 0x100019428
cmp eax, r13d
je 0x10001941d
cmp eax, 0x22
je 0x10001941d
cmp eax, ebp
je 0x100019433
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea r8, [0x10000b988]
lea rcx, [rsp + 0x90]
mov rdx, rbx
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x100019482
cmp eax, esi
je 0x100019477
cmp eax, r13d
je 0x10001946c
cmp eax, 0x22
je 0x10001946c
cmp eax, ebp
je 0x100019482
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
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 0x100019533
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 0x100019516
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x100019533
cmp dword [rsp + 0x60], r12d
jne 0x100019533
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, 0x80
lea r8, [0x10000b9c0]
lea rcx, [rsp + 0x90]
mov rdx, rdi
call sub.msvcrt.dll_wcscpy_s
cmp eax, r12d
je 0x100019587
cmp eax, esi
je 0x10001957c
cmp eax, r13d
je 0x100019571
cmp eax, 0x22
je 0x100019571
cmp eax, ebp
je 0x100019587
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov rdx, rdi
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x1000195d7
cmp eax, esi
je 0x1000195cc
cmp eax, r13d
je 0x1000195c1
cmp eax, 0x22
je 0x1000195c1
cmp eax, ebp
je 0x1000195d7
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea r8, [0x10000b948]
lea rcx, [rsp + 0x90]
mov rdx, rdi
call sub.msvcrt.dll_wcscat_s
cmp eax, r12d
je 0x100019626
cmp eax, esi
je 0x10001961b
cmp eax, r13d
je 0x100019610
cmp eax, 0x22
je 0x100019610
cmp eax, ebp
je 0x100019626
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
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 0x1000196e2
cmp rbx, r12
mov eax, r12d
je 0x100019669
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, r12d
mov rbx, qword [rsp + 0x70]
jne 0x1000196e2
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 0x1000196c5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
cmp rdi, r12
jne 0x1000196e2
cmp dword [rsp + 0x60], r12d
jne 0x1000196e2
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp rbx, r12
je 0x1000196f0
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 0x100019709
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1000218f0
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