Function at 0x100010444
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push r12
push r13
push r15
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov r12d, r8d
mov esi, 0x8007000e
and dword [rsp + 0xb8], 0
lea rax, [0x100001a80]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x40], rax
lea r8, [0x100002698]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
mov qword [rsp + 0x50], rax
lea r8, [0x100002668]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov r13, rax
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x1000104eb
test rax, rax
je 0x1000104eb
mov dword [rsp + 0xb8], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 1
je 0x1000104eb
mov esi, 0x80004005
jmp 0x100010761
test r12d, r12d
je 0x100010699
xor r12d, r12d
mov qword [rsp + 0x68], r12
and qword [rsp + 0x70], r12
and qword [rsp + 0x78], r12
and qword [rsp + 0xa8], r12
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x10002
xor r8d, r8d
lea rdx, [0x1000022f0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001059f
mov r12, qword [rsp + 0xa8]
mov qword [rsp + 0x68], r12
lea rdx, [0x100001910]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [0x100001930]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [0x100001948]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [0x100001968]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r12, r12
je 0x10001059f
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov ecx, 1
call fcn.10000ed34
mov r15, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x100010682
and qword [rsp + 0x30], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea rcx, [0x100002768]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rbx + rax + 8]
mov qword [rsp + 0xa8], rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.10001df34
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x10001064f
lea rax, [0x100002768]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x100002780]
mov rdx, qword [rsp + 0xa8]
mov rcx, rbx
call fcn.100006a70
mov edx, 1
mov rcx, rbx
call qword [sym.imp.loadperf.dll_LoadPerfCounterTextStringsW]
mov esi, eax
test eax, eax
je 0x10001064f
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x10001066c
test rbx, rbx
je 0x100010679
mov rcx, rbx
call sub.msvcrt.dll_free
mov rcx, r15
call sub.msvcrt.dll_free
nop
test r12, r12
je 0x10001072d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10001072d
and qword [rsp + 0x30], 0
lea r12, [0x100002768]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r15d, [rax + 4]
mov eax, 2
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.10001df34
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x10001070d
mov r9, r12
lea r8, [0x100002798]
mov rdx, r15
mov rcx, rax
call fcn.100006a70
mov edx, 1
mov rcx, rbx
call qword [sym.imp.loadperf.dll_UnloadPerfCounterTextStringsW]
mov esi, eax
test eax, eax
je 0x10001070d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x100010720
test rbx, rbx
je 0x10001072d
mov rcx, rbx
call sub.msvcrt.dll_free
cmp dword [rsp + 0xb8], 0
je 0x100010755
mov edx, 0xbb8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10001075c
mov esi, 0x80004005
mov rbx, qword [rsp + 0x50]
jmp 0x100010761
mov rbx, qword [rsp + 0x50]
jmp 0x100010761
mov rbx, qword [rsp + 0x50]
test r13, r13
je 0x100010770
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x10001077e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r13
pop r12
ret