Function at 0x1400f0b00
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1138]
mov eax, 0x1238
call fcn.14010d1a0
sub rsp, rax
mov qword [rbp + 8], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0x1120], rax
mov dword [rbp - 0x78], r9d
mov qword [rbp - 0x70], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov ecx, dword [rbp + 0x1180]
mov dword [rbp - 0x48], ecx
mov rcx, rax
call fcn.1400ee430
mov ebx, eax
test eax, eax
jns 0x1400f0b86
jmp 0x1400f139e
mov ebx, eax
test eax, eax
js 0x1400f1380
cmp byte [rsi], 0x7d
je 0x1400f1380
mov dword [rbp - 0x80], 1
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor edi, edi
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400f0bca
test edi, edi
je 0x1400f0cd0
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f1380
cmp dword [rbp - 0x78], 0
je 0x1400f0cd0
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x58], ebx
mov qword [rbp - 0x50], rbx
mov rcx, rsi
movzx eax, byte [rsi]
test al, al
je 0x1400f0c21
cmp al, 0x5c
je 0x1400f0c18
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x1400f0c02
jmp 0x1400f0c21
test rcx, rcx
jne 0x1400f1286
lea rbx, str.AppID
nop dword [rax + rax]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400f0c8a
add rbx, 8
lea rax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp rbx, rax
jl 0x1400f0c30
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400eeba0
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
test edi, edi
je 0x1400f0cc9
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f12b4
mov rdx, rsi
mov rcx, rdi
call fcn.1400ee680
mov ebx, eax
test eax, eax
js 0x1400f12af
mov dword [rbp - 0x58], 0
jmp 0x1400f1008
mov dword [rbp - 0x58], 0
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400f0d02
xor edi, edi
mov dword [rbp - 0x80], edi
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f1380
jmp 0x1400f0d05
mov edi, dword [rbp - 0x80]
lea rdx, [0x1401ea314]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400f0e46
lea rdx, [rbp + 0x120]
mov rcx, qword [rsp + 0x60]
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f1380
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f1380
cmp byte [rsi], 0x3d
jne 0x1400f1300
cmp dword [rbp - 0x78], 0
je 0x1400f0db4
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x38], ecx
mov qword [rbp - 0x30], rcx
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], ecx
mov qword [rbp - 0x30], rcx
mov r9, rsi
lea r8, [rbp + 0x120]
lea rdx, [rbp - 0x40]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400f05e0
mov ebx, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x30], rax
test ebx, ebx
js 0x1400f12b9
mov dword [rbp - 0x38], eax
jmp 0x1400f1008
cmp dword [rbp + 0x1180], 0
jne 0x1400f0e34
test edi, edi
je 0x1400f0e34
mov qword [rbp - 0x10], 0
mov dword [rbp - 8], 0
mov qword [rbp], 0
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x10]
call fcn.140011780
test eax, eax
jne 0x1400f12d4
lea rdx, [rbp + 0x120]
mov rdi, qword [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1400f0e17
cmp eax, 2
jne 0x1400f12c1
test rdi, rdi
je 0x1400f0e2d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x10], 0
mov dword [rbp - 8], 0
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400ee680
jmp 0x1400f0b7c
mov rcx, rsi
movzx eax, byte [rsi]
test al, al
je 0x1400f0e6f
cmp al, 0x5c
je 0x1400f0e66
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x1400f0e50
jmp 0x1400f0e6f
test rcx, rcx
jne 0x1400f1323
cmp dword [rbp - 0x78], 0
je 0x1400f1059
mov r9d, 0x2001f
mov r8, rsi
mov rdi, qword [rbp - 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140011780
test eax, eax
je 0x1400f0fcc
mov r9d, 0x20019
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140011780
test eax, eax
je 0x1400f0fcc
mov qword [rbp - 0x80], 0
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400f0f5d
cmp qword [rbx], 0
je 0x1400f0f4e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1400f0ef3
mov eax, 1
xor ebx, ebx
jmp 0x1400f0f94
lea rdx, str.RegCreateKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f0f54
mov qword [rsp + 0x50], 0
mov rcx, qword [rbx]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call rax
jmp 0x1400f0f94
cmp dword [rbx + 8], 0
jne 0x1400f0f5d
mov eax, 1
xor ebx, ebx
jmp 0x1400f0f94
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400f1325
mov eax, ebx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400f0fb3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ebx
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], ebx
test eax, eax
jne 0x1400f1325
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f1380
cmp byte [rsi], 0x3d
jne 0x1400f1008
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400f05e0
mov ebx, eax
test eax, eax
js 0x1400f1380
cmp byte [rsi], 0x7b
jne 0x1400f0b86
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x1400f0b86
mov dword [rsp + 0x20], 0
mov r9d, dword [rbp - 0x78]
mov r8, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rdi
call fcn.1400f0b00
mov ebx, eax
test eax, eax
js 0x1400f1380
mov rdx, rsi
mov rcx, rdi
call fcn.1400ee430
jmp 0x1400f0b7c
cmp dword [rbp + 0x1180], 0
jne 0x1400f1081
mov r9d, 0x20019
mov r8, rsi
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140011780
mov edi, eax
test eax, eax
jne 0x1400f1086
jmp 0x1400f1090
mov edi, 2
mov dword [rbp + 0x1180], 1
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.140117334
test eax, eax
je 0x1400f10cd
cmp eax, 0xc
je 0x1400f1346
cmp eax, 0x16
je 0x1400f133b
cmp eax, 0x22
je 0x1400f133b
cmp eax, 0x50
jne 0x1400f1330
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f1380
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400ee680
mov ebx, eax
test eax, eax
js 0x1400f1380
cmp byte [rsi], 0x7b
jne 0x1400f1157
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x1400f1157
mov eax, dword [rbp + 0x1180]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400f0b00
mov ebx, eax
test eax, eax
jns 0x1400f1140
cmp dword [rbp + 0x1180], 0
je 0x1400f1380
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1400ee430
mov ebx, eax
test eax, eax
js 0x1400f1380
mov eax, dword [rbp - 0x48]
mov dword [rbp + 0x1180], eax
cmp edi, 2
je 0x1400f0b86
test edi, edi
je 0x1400f117a
test eax, eax
je 0x1400f1351
jmp 0x1400f0b86
test eax, eax
je 0x1400f11e3
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400ee610
test eax, eax
je 0x1400f11e3
lea rdi, str.AppID
nop dword [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400f0b86
add rdi, 8
lea rax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp rdi, rax
jl 0x1400f11a0
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x1400f0b86
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400eeba0
jmp 0x1400f0b86
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400ee610
mov edi, eax
xor eax, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400f120d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], 0
test eax, eax
jne 0x1400f136e
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x1400f0b86
test edi, edi
jne 0x1400f0b86
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], 0
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x28]
call fcn.1400edd40
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], 0
test eax, eax
jne 0x1400f135c
mov dword [rbp - 0x20], eax
jmp 0x1400f0b86
mov dword [rbp - 0x58], ebx
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400f12a1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ebx
mov eax, 0x80020009
jmp 0x1400f13a6
jmp 0x1400f1379
jmp 0x1400f1379
mov dword [rbp - 0x38], eax
jmp 0x1400f1380
mov ecx, eax
call fcn.1400ed9d0
mov ebx, eax
test rdi, rdi
je 0x1400f12f4
mov rcx, rdi
jmp 0x1400f12e6
mov ecx, eax
call fcn.1400ed9d0
mov ebx, eax
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400f12f4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x10], 0
mov dword [rbp - 8], 0
jmp 0x1400f1380
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400f131c
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], 0
mov eax, 0x80020009
jmp 0x1400f139e
jmp 0x1400f1300
mov ecx, eax
call fcn.1400ed9d0
mov ebx, eax
jmp 0x1400f1380
mov ecx, 0x80004005
call fcn.140003e90
int3
mov ecx, 0x80070057
call fcn.140003e90
int3
mov ecx, 0x8007000e
call fcn.140003e90
int3
mov ecx, edi
call fcn.1400ed9d0
mov ebx, eax
jmp 0x1400f1380
mov ecx, eax
call fcn.1400ed9d0
mov ebx, eax
mov dword [rbp - 0x20], 0
jmp 0x1400f1380
mov ecx, eax
call fcn.1400ed9d0
mov ebx, eax
jmp 0x1400f1380
mov dword [rbp - 0x58], 0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400f139c
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], 0
mov eax, ebx
mov dword [rsp + 0x70], 0
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x1238
pop rdi
pop rsi
pop rbx
pop rbp
ret