Function at 0x14000e0b4
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x10e8]
mov eax, Ordinal_4587
call fcn.140011c50
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rbp + 0x10d0], rax
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x78], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov qword [rbp - 0x68], rsi
and dword [rbp - 0x60], esi
and qword [rbp - 0x58], rsi
mov ecx, dword [rbp + 0x1130]
mov dword [rbp - 0x50], ecx
mov rcx, rax
call fcn.14000cde4
mov ebx, eax
test eax, eax
js 0x14000e78f
cmp byte [rdi], 0x7d
je 0x14000e78b
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebx, ebx
test eax, eax
sete bl
mov dword [rsp + 0x60], ebx
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000e16d
test ebx, ebx
je 0x14000e23f
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000cde4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000e78b
cmp dword [rsp + 0x74], edx
je 0x14000e23f
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov rcx, rdi
mov al, byte [rdi]
jmp 0x14000e1b1
cmp al, 0x5c
je 0x14000e1b7
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x14000e1a2
jmp 0x14000e1c0
test rcx, rcx
jne 0x14000e75e
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14000e205
add rbx, 8
lea rax, [0x140016d30]
cmp rbx, rax
jl 0x14000e1c7
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
and dword [rbp - 0x78], 0
and qword [rbp - 0x70], 0
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14000d4c8
cmp dword [rsp + 0x60], 0
je 0x14000e23f
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000cde4
mov ebx, eax
test eax, eax
js 0x14000e78b
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000f624
mov ebx, eax
test eax, eax
js 0x14000e78b
jmp 0x14000e454
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000e26e
and dword [rsp + 0x70], eax
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000cde4
mov ebx, eax
test eax, eax
js 0x14000e78b
lea rdx, [0x140016bb8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor edx, edx
test eax, eax
jne 0x14000e37b
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsp + 0x68]
call fcn.14000cde4
mov ebx, eax
test eax, eax
js 0x14000e78b
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000cde4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000e78b
cmp byte [rdi], 0x3d
jne 0x14000e75e
cmp dword [rsp + 0x74], edx
je 0x14000e2fa
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov r9, rdi
lea r8, [rbp + 0xd0]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
call fcn.140009378
mov ebx, eax
jmp 0x14000e232
cmp dword [rbp + 0x1130], edx
jne 0x14000e35f
cmp dword [rsp + 0x70], edx
je 0x14000e35f
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.14000cf48
test eax, eax
jne 0x14000e744
lea rdx, [rbp + 0xd0]
mov rsi, qword [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, 0xfffffffd
jne 0x14000e731
test rsi, rsi
je 0x14000e35f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000f624
mov ebx, eax
test eax, eax
js 0x14000e78b
jmp 0x14000e723
mov rcx, rdi
mov al, byte [rdi]
jmp 0x14000e393
cmp al, 0x5c
je 0x14000e399
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
xor edx, edx
test al, al
jne 0x14000e382
jmp 0x14000e3a2
test rcx, rcx
jne 0x14000e765
cmp dword [rsp + 0x74], edx
je 0x14000e4aa
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14000cf48
xor esi, esi
test eax, eax
je 0x14000e415
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14000cf48
test eax, eax
je 0x14000e415
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14000b2cc
test eax, eax
jne 0x14000e782
mov rdx, rdi
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call fcn.14000cde4
mov ebx, eax
test eax, eax
js 0x14000e78b
cmp byte [rdi], 0x3d
jne 0x14000e450
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.140009378
mov ebx, eax
test eax, eax
js 0x14000e78b
mov rsi, qword [rbp - 0x68]
cmp byte [rdi], 0x7b
jne 0x14000e723
mov rcx, rdi
call sub.MSVCR110.dll_strlen
mov ecx, 1
cmp rax, rcx
jne 0x14000e723
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, rsi
mov rdx, rdi
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call fcn.14000e0b4
mov ebx, eax
test eax, eax
js 0x14000e78b
mov rdx, rdi
mov rcx, rsi
call fcn.14000cde4
jmp 0x14000e36c
mov ebx, dword [rbp + 0x1130]
test ebx, ebx
jne 0x14000e4cf
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.14000cf48
mov esi, eax
jmp 0x14000e4d4
mov esi, 2
test esi, esi
mov eax, 1
cmovne ebx, eax
mov dword [rbp + 0x1130], ebx
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCR110.dll__mbsnbcpy_s]
test eax, eax
je 0x14000e522
cmp eax, 0xc
je 0x14000e778
cmp eax, 0x16
je 0x14000e772
cmp eax, 0x22
je 0x14000e772
cmp eax, 0x50
jne 0x14000e76c
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000cde4
mov ebx, eax
test eax, eax
js 0x14000e78b
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000f624
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000e78b
cmp byte [rdi], 0x7b
jne 0x14000e5b8
mov rcx, rdi
call sub.MSVCR110.dll_strlen
mov ecx, 1
cmp rax, rcx
jne 0x14000e5b6
mov eax, dword [rbp + 0x1130]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rbp - 0x68]
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000e0b4
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x14000e59b
cmp dword [rbp + 0x1130], edx
je 0x14000e78b
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000cde4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000e78b
jmp 0x14000e5b8
xor edx, edx
mov eax, dword [rbp - 0x50]
mov dword [rbp + 0x1130], eax
cmp esi, 2
je 0x14000e723
test esi, esi
je 0x14000e5db
test eax, eax
je 0x14000e77e
jmp 0x14000e723
test eax, eax
je 0x14000e683
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x14000e683
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
test eax, eax
je 0x14000e683
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor edx, edx
test eax, eax
je 0x14000e723
add rsi, 8
lea rax, [0x140016d30]
cmp rsi, rax
jl 0x14000e640
cmp dword [rsp + 0x70], edx
je 0x14000e723
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14000d4c8
jmp 0x14000e723
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x14000e6d6
cmp dword [rsp + 0x60], edx
seta sil
mov eax, edx
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000e6ed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
test eax, eax
jne 0x14000e782
cmp dword [rsp + 0x70], edx
je 0x14000e723
test esi, esi
jne 0x14000e723
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14000b674
test eax, eax
jne 0x14000e782
cmp byte [rdi], 0x7d
je 0x14000e78b
mov rsi, qword [rbp - 0x68]
jmp 0x14000e12d
mov ecx, eax
call fcn.14000a08c
mov ebx, eax
test rsi, rsi
je 0x14000e78b
mov rcx, rsi
jmp 0x14000e756
mov ecx, eax
call fcn.14000a08c
mov ebx, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000e78b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000e78b
mov ebx, 0x80020009
jmp 0x14000e78f
mov ebx, 0x80020009
jmp 0x14000e78b
call sub.mfc110.dll_Ordinal_2288
int3
call sub.mfc110.dll_Ordinal_2288
int3
call sub.mfc110.dll_Ordinal_2290
int3
mov ecx, esi
jmp 0x14000e784
mov ecx, eax
call fcn.14000a08c
mov ebx, eax
mov rsi, qword [rbp - 0x68]
test rsi, rsi
je 0x14000e79d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.140011780
add rsp, 0x11e8
pop rdi
pop rsi
pop rbx
pop rbp
ret