Function at 0x140009150
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21f8]
mov eax, 0x22f8
call fcn.140019510
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rbp + 0x21e0], rax
mov dword [rsp + 0x50], r9d
mov qword [rsp + 0x48], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x68], rcx
mov rcx, rax
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
cmp word [rsi], 0x7d
je 0x140009905
mov ecx, 1
mov dword [rsp + 0x54], ecx
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edi, edi
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140009206
test edi, edi
je 0x1400092e4
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
cmp dword [rsp + 0x50], 0
je 0x1400092e4
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x80], rax
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x140009269
cmp ax, 0x5c
je 0x140009260
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140009247
jmp 0x140009269
test rcx, rcx
jne 0x1400098d0
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400092b6
add rbx, 8
lea rax, [0x14003ac10]
cmp rbx, rax
jl 0x140009270
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rbp - 0x80], rbx
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140008600
mov qword [rsp + 0x70], rbx
test edi, edi
je 0x1400092e4
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
mov rdx, rsi
mov rcx, rdi
call fcn.14000a2d0
jmp 0x1400095cf
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x140009316
mov dword [rsp + 0x54], eax
mov rdx, rsi
mov rcx, rdi
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
lea rdx, [0x14003a260]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000942b
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
mov rdx, rsi
mov rcx, rdi
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
cmp word [rsi], 0x3d
jne 0x1400098d0
cmp dword [rsp + 0x50], 0
je 0x1400093aa
xor eax, eax
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
xor eax, eax
mov dword [rbp - 0x70], eax
mov qword [rbp - 0x68], rax
mov r9, rsi
lea r8, [rbp + 0x1e0]
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.1400035a0
mov ebx, eax
mov qword [rbp - 0x78], 0
jmp 0x1400095d1
cmp dword [rbp + 0x2240], 0
jne 0x14000941b
cmp dword [rsp + 0x54], 0
je 0x14000941b
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400098fc
lea rdx, [rbp + 0x1e0]
mov rdi, qword [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1400098b7
test rdi, rdi
je 0x140009416
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call fcn.14000a2d0
jmp 0x1400091b5
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x140009458
cmp ax, 0x5c
je 0x14000944f
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140009436
jmp 0x140009458
test rcx, rcx
jne 0x1400098d0
cmp dword [rsp + 0x50], 0
je 0x140009636
mov qword [rbp - 0x40], 0
mov rbx, qword [rsp + 0x68]
lea rax, [rbp - 0x40]
test rbx, rbx
je 0x14000949b
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2001f
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140008990
jmp 0x1400094b7
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400094e6
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400094cb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x40]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 0
test eax, eax
je 0x14000959c
jmp 0x1400094eb
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
test rbx, rbx
je 0x140009523
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140008990
mov rbx, qword [rsp + 0x48]
jmp 0x140009542
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009569
test rdi, rdi
je 0x140009554
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x40]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 0
test eax, eax
je 0x14000959c
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005390
test eax, eax
jne 0x1400098fc
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
cmp word [rsi], 0x3d
jne 0x1400095d9
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400035a0
mov ebx, eax
test eax, eax
js 0x140009905
cmp word [rsi], 0x7b
jne 0x1400091bf
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400095f0
cmp rax, 1
jne 0x1400091bf
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call fcn.140009150
mov ebx, eax
test eax, eax
js 0x140009905
mov rdx, rsi
mov rcx, rdi
jmp 0x1400091b0
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x1400096ca
mov qword [rbp - 0x40], 0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000967c
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140008990
jmp 0x14000969c
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1400096cf
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400096b7
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0
jmp 0x1400096cf
mov edi, 2
mov eax, ebx
test edi, edi
mov ecx, 1
cmovne eax, ecx
mov dword [rbp - 0x40], eax
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.14001ea78
test eax, eax
je 0x14000971b
cmp eax, 0xc
je 0x1400098ed
cmp eax, 0x16
je 0x1400098e2
cmp eax, 0x22
je 0x1400098e2
cmp eax, 0x50
jne 0x1400098d7
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14000a2d0
mov ebx, eax
test eax, eax
js 0x140009905
cmp word [rsi], 0x7b
jne 0x1400097a6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], 0
jne 0x140009753
cmp rax, 1
jne 0x1400097a6
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140009150
mov ebx, eax
test eax, eax
jns 0x14000978f
cmp dword [rbp - 0x40], 0
je 0x140009905
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140007130
mov ebx, eax
test eax, eax
js 0x140009905
cmp edi, 2
je 0x1400091bf
test edi, edi
je 0x1400097c5
cmp dword [rbp + 0x2240], 0
je 0x1400098f8
jmp 0x1400091bf
cmp dword [rbp + 0x2240], 0
je 0x140009833
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.140006190
test eax, eax
je 0x140009833
lea rdi, str.AppID
nop dword [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400091bf
add rdi, 8
lea rax, [0x14003ac10]
cmp rdi, rax
jl 0x1400097f0
cmp dword [rsp + 0x54], 0
je 0x1400091bf
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.140008600
jmp 0x1400091bf
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.140006190
mov edi, eax
xor eax, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000985d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0
test eax, eax
jne 0x1400098fc
cmp dword [rsp + 0x54], eax
je 0x1400091bf
test edi, edi
jne 0x1400091bf
xor eax, eax
mov qword [rbp - 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], edi
mov qword [rbp - 0x50], 0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
call fcn.140005860
mov qword [rbp - 0x60], 0
test eax, eax
jne 0x1400098fc
jmp 0x1400091bf
mov ecx, eax
call fcn.140003f40
mov ebx, eax
test rdi, rdi
je 0x140009905
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140009905
mov ebx, 0x80020009
jmp 0x140009905
mov ecx, 0x80004005
call fcn.140004bd0
int3
mov ecx, 0x80070057
call fcn.140004bd0
int3
mov ecx, 0x8007000e
call fcn.140004bd0
int3
mov ecx, edi
jmp 0x1400098fe
mov ecx, eax
call fcn.140003f40
mov ebx, eax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140009918
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21e0]
xor rcx, rsp
call fcn.140018ad0
add rsp, 0x22f8
pop rdi
pop rsi
pop rbx
pop rbp
ret