Function at 0x14000fb1c
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x11e8
call fcn.140052940
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x14006bbc0]
xor rax, rsp
mov qword [rsp + 0x11d0], rax
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x88], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor edi, edi
mov qword [rsp + 0x78], rdi
and dword [rsp + 0x80], edi
mov ecx, dword [rsp + 0x1230]
mov dword [rsp + 0xa0], ecx
mov rcx, rax
call fcn.14000ccb8
mov ebx, eax
test eax, eax
jns 0x14000fb93
jmp 0x1400103fb
cmp byte [rsi], 0x7d
je 0x1400103eb
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebp, ebp
test eax, eax
sete bpl
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000fbd9
test ebp, ebp
je 0x14000fcdb
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
cmp dword [rsp + 0x74], 0
je 0x14000fcdb
and qword [rsp + 0x90], 0
and dword [rsp + 0x98], 0
mov rcx, rsi
mov al, byte [rsi]
test al, al
je 0x14000fc33
cmp al, 0x5c
je 0x14000fc2a
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x14000fc15
jmp 0x14000fc33
test rcx, rcx
jne 0x1400102ea
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000fc93
add rbx, 8
lea rax, [0x140056aa0]
cmp rbx, rax
jl 0x14000fc3a
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
and dword [rsp + 0x98], 0
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.14000d1e8
and qword [rsp + 0x90], 0
and dword [rsp + 0x98], 0
test ebp, ebp
je 0x14000fcd3
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
mov rdx, rsi
mov rcx, rbp
call fcn.14000ceb4
mov ebx, eax
test eax, eax
js 0x1400103eb
and dword [rsp + 0x98], 0
jmp 0x14000ffac
and dword [rsp + 0x98], 0
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000fd0f
and dword [rsp + 0x70], eax
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
jmp 0x14000fd14
mov rbp, qword [rsp + 0x68]
lea rdx, [0x1400567fc]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000fe5f
lea rdx, [rsp + 0x1d0]
mov rcx, rbp
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
mov rdx, rsi
mov rcx, rbp
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
cmp byte [rsi], 0x3d
jne 0x140010345
cmp dword [rsp + 0x74], 0
je 0x14000fdc6
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
and dword [rsp + 0xb0], 0
mov r9, rsi
lea r8, [rsp + 0x1d0]
lea rdx, [rsp + 0xa8]
mov rcx, rbp
call fcn.14000f5d0
mov ebx, eax
and qword [rsp + 0xa8], 0
and dword [rsp + 0xb0], 0
test eax, eax
js 0x140010302
and dword [rsp + 0xb0], 0
jmp 0x14000ffac
cmp dword [rsp + 0x1230], 0
jne 0x14000fe45
cmp dword [rsp + 0x70], 0
je 0x14000fe45
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140010337
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x1d0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x14000fe2b
cmp eax, 2
jne 0x140010317
test rbp, rbp
je 0x14000fe40
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
jmp 0x14000fe45
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.14000ceb4
mov ebx, eax
test eax, eax
js 0x1400103eb
jmp 0x1400102d7
mov rcx, rsi
mov al, byte [rsi]
test al, al
je 0x14000fe86
cmp al, 0x5c
je 0x14000fe7d
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x14000fe68
jmp 0x14000fe86
test rcx, rcx
jne 0x14001035d
cmp dword [rsp + 0x74], 0
je 0x140010007
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000feea
test rdi, rdi
je 0x14000fed0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [rsp + 0x80], 0
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
test eax, eax
je 0x14000ff70
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ff37
test rdi, rdi
je 0x14000ff21
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [rsp + 0x80], 0
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
test eax, eax
je 0x14000ff70
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14000c6f0
test eax, eax
jne 0x14001037c
mov rdi, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, rbp
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
cmp byte [rsi], 0x3d
jne 0x14000ffac
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rbp
call fcn.14000f5d0
mov ebx, eax
test eax, eax
js 0x140010375
mov rdi, qword [rsp + 0x78]
cmp byte [rsi], 0x7b
jne 0x1400102d7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x1400102d7
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14000fb1c
mov ebx, eax
test eax, eax
js 0x1400103eb
mov rdx, rsi
mov rcx, rbp
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
jmp 0x1400102d7
mov ebx, dword [rsp + 0x1230]
test ebx, ebx
jne 0x140010066
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
test eax, eax
jne 0x14001006b
test rdi, rdi
je 0x140010052
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
and dword [rsp + 0x80], 0
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
jmp 0x14001006b
mov ebp, 2
test ebp, ebp
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x1230], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call fcn.140027a14
test eax, eax
je 0x1400100bd
cmp eax, 0xc
je 0x1400103af
cmp eax, 0x16
je 0x1400103a4
cmp eax, 0x22
je 0x1400103a4
cmp eax, 0x50
jne 0x140010399
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000ceb4
mov ebx, eax
test eax, eax
js 0x1400103eb
cmp byte [rsi], 0x7b
jne 0x14001014b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x14001014b
mov eax, dword [rsp + 0x1230]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000fb1c
mov ebx, eax
test eax, eax
jns 0x140010134
cmp dword [rsp + 0x1230], 0
je 0x1400103eb
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000ccb8
mov ebx, eax
test eax, eax
js 0x1400103eb
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x1230], eax
cmp ebp, 2
je 0x1400102d7
test ebp, ebp
je 0x140010173
test eax, eax
je 0x1400103ba
jmp 0x1400102d7
test eax, eax
je 0x14001022c
and dword [rsp + 0x60], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x14001022c
cmp dword [rsp + 0x60], eax
seta al
test eax, eax
je 0x14001022c
lea rbp, str.AppID
mov rdx, qword [rbp]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400102d7
add rbp, 8
lea rax, [0x140056aa0]
cmp rbp, rax
jl 0x1400101db
cmp dword [rsp + 0x70], 0
je 0x1400102d7
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x78]
call fcn.14000d1e8
mov rdi, qword [rsp + 0x78]
jmp 0x1400102d7
and dword [rsp + 0x60], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x14001027e
xor ebp, ebp
jmp 0x140010288
xor ebp, ebp
cmp dword [rsp + 0x60], ebp
seta bpl
xor eax, eax
test rdi, rdi
je 0x14001029f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov qword [rsp + 0x78], rdi
and dword [rsp + 0x80], 0
test eax, eax
jne 0x1400103d0
cmp dword [rsp + 0x70], eax
je 0x1400102d7
test ebp, ebp
jne 0x1400102d7
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1400103c5
cmp byte [rsi], 0x7d
je 0x1400103eb
mov eax, 1
jmp 0x14000fba1
test rdi, rdi
je 0x1400102f8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x1400103fb
test rdi, rdi
je 0x140010310
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400103fb
mov ecx, eax
call fcn.14000a7fc
mov ebx, eax
test rbp, rbp
je 0x1400103eb
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400103eb
mov ecx, eax
call fcn.14000a7fc
mov ebx, eax
jmp 0x1400103eb
test rdi, rdi
je 0x140010353
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x1400103fb
test rdi, rdi
je 0x14001036b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x1400103fb
mov rdi, qword [rsp + 0x78]
jmp 0x1400103eb
mov ecx, eax
call fcn.14000a7fc
mov ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140010395
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400103fb
mov ecx, 0x80004005
call fcn.14000a640
int3
mov ecx, 0x80070057
call fcn.14000a640
int3
mov ecx, 0x8007000e
call fcn.14000a640
int3
mov ecx, ebp
call fcn.14000a7fc
mov ebx, eax
jmp 0x1400103eb
mov ecx, eax
call fcn.14000a7fc
mov ebx, eax
jmp 0x1400103eb
mov ecx, eax
call fcn.14000a7fc
mov ebx, eax
test rdi, rdi
je 0x1400103e7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400103fb
test rdi, rdi
je 0x1400103f9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x11d0]
xor rcx, rsp
call fcn.140025570
add rsp, 0x11e8
pop rdi
pop rsi
pop rbp
pop rbx
ret