Function at 0x1400137f4
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x1258
call fcn.14004a0d0
sub rsp, rax
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov rax, qword [0x140061550]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov dword [rsp + 0x48], r9d
mov qword [rsp + 0x60], r8
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rsp + 0x50], rdi
and dword [rsp + 0x58], edi
mov eax, dword [rsp + 0x12a0]
mov dword [rsp + 0x68], eax
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], 0x518
mov dword [rsp + 0x20], 0xc
lea r9, str.Num_Els___d_n
lea r8d, [rdi + 2]
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0x80]
call fcn.14000a6e8
mov rdx, rbp
mov rcx, rbx
call fcn.14000b12c
mov ebx, eax
test eax, eax
jns 0x1400138a6
jmp 0x14001422d
cmp byte [rbp], 0x7d
je 0x14001421d
mov eax, 1
mov dword [rsp + 0x4c], eax
lea rdx, str.Delete
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor esi, esi
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400138ed
test esi, esi
je 0x1400139d2
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
cmp dword [rsp + 0x48], 0
je 0x1400139d2
and qword [rsp + 0x70], 0
and dword [rsp + 0x78], 0
mov rcx, rbp
mov al, byte [rbp]
test al, al
je 0x140013942
cmp al, 0x5c
je 0x140013939
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x140013924
jmp 0x140013942
test rcx, rcx
jne 0x140014105
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140013990
add rbx, 8
lea rax, [0x14004f580]
cmp rbx, rax
jl 0x140013949
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
and dword [rsp + 0x78], 0
mov rdx, rbp
lea rcx, [rsp + 0x70]
call fcn.14000e0cc
and qword [rsp + 0x70], 0
and dword [rsp + 0x78], 0
test esi, esi
je 0x1400139cd
mov rdx, rbp
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
mov rdx, rbp
mov rcx, rsi
call fcn.14000b36c
mov ebx, eax
test eax, eax
js 0x14001421d
and dword [rsp + 0x78], 0
jmp 0x14001409b
and dword [rsp + 0x78], 0
lea rdx, str.NoRemove
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140013a06
and dword [rsp + 0x4c], eax
mov rdx, rbp
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
jmp 0x140013a0b
mov rsi, qword [rsp + 0x40]
lea rdx, [0x14004f36c]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140013be2
lea rdx, [rsp + 0x240]
mov rcx, rsi
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
mov rdx, rbp
mov rcx, rsi
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
cmp byte [rbp], 0x3d
jne 0x140014177
xor ebx, ebx
cmp dword [rsp + 0x48], ebx
je 0x140013abb
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], ebx
mov r9, rbp
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.1400131e8
mov ebx, eax
and qword [rsp + 0xa0], 0
and dword [rsp + 0xa8], 0
test eax, eax
js 0x14001411d
and dword [rsp + 0xa8], 0
jmp 0x14001409b
cmp dword [rsp + 0x12a0], ebx
jne 0x140013bc8
cmp dword [rsp + 0x4c], ebx
je 0x140013bc8
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], 0x569
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
lea r9, str.Deleting__s_n
mov r8d, 1
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0xd0]
call fcn.14000a6e8
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], ebx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.14000aab4
cmp eax, ebx
jne 0x140014152
mov rsi, qword [rsp + 0x90]
cmp rsi, rbx
jne 0x140013b88
lea rax, str.m_hKey___0
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1497
lea rdx, [0x14004f770]
lea ecx, [r9 + 2]
call fcn.14001f620
mov ecx, 1
cmp eax, ecx
jne 0x140013b88
int3
lea rdx, [rsp + 0x240]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x140013ba6
cmp eax, 2
jne 0x140014132
cmp rsi, rbx
je 0x140013bbc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], ebx
mov rsi, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, rsi
call fcn.14000b36c
mov ebx, eax
test eax, eax
js 0x14001421d
jmp 0x1400140f1
mov rcx, rbp
mov al, byte [rbp]
test al, al
je 0x140013c0a
cmp al, 0x5c
je 0x140013c01
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
mov al, byte [rax]
test al, al
jne 0x140013bec
jmp 0x140013c0a
test rcx, rcx
jne 0x14001418f
cmp dword [rsp + 0x48], 0
je 0x140013d0f
mov r9d, 0x2001f
mov r8, rbp
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000aab4
xor edi, edi
cmp eax, edi
je 0x140013cc3
mov r9d, 0x20019
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000aab4
cmp eax, edi
je 0x140013cc3
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x118], 0x590
mov qword [rsp + 0x20], rbp
lea r9, str.Creating_key__s_n
lea r8d, [rdi + 2]
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0x110]
call fcn.14000a6e8
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000a9b8
cmp eax, edi
jne 0x1400141a7
mov rdx, rbp
mov rcx, rsi
call fcn.14000b12c
mov ebx, eax
cmp eax, edi
jl 0x1400141c4
cmp byte [rbp], 0x3d
jne 0x140013d05
mov r9, rbp
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400131e8
mov ebx, eax
cmp eax, edi
jl 0x1400141c4
mov rdi, qword [rsp + 0x50]
jmp 0x14001409b
mov rdi, qword [rsp + 0x50]
jmp 0x14001409b
mov ebx, dword [rsp + 0x12a0]
test ebx, ebx
jne 0x140013d3b
mov r9d, 0x20019
mov r8, rbp
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000aab4
mov esi, eax
mov rdi, qword [rsp + 0x50]
jmp 0x140013d40
mov esi, 2
test esi, esi
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x12a0], ebx
test ebx, ebx
jne 0x140013d94
lea rcx, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xf0], rcx
mov dword [rsp + 0xf8], 0x5b3
mov qword [rsp + 0x20], rbp
lea r9, str.Opened_Key__s_n
mov r8d, eax
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0xf0]
call fcn.14000a6e8
jmp 0x140013dd1
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0x5b5
mov qword [rsp + 0x20], rbp
lea r9, str.Ignoring_Open_key_on__s_:_In_Recovery_mode_n
xor r8d, r8d
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0xb0]
call fcn.14000a6e8
or r9, 0xffffffffffffffff
mov r8, rbp
mov edx, 0x104
lea rcx, [rsp + 0x130]
call fcn.140020860
test eax, eax
je 0x140013e12
cmp eax, 0xc
je 0x1400141e1
cmp eax, 0x16
je 0x1400141d6
cmp eax, 0x22
je 0x1400141d6
cmp eax, 0x50
jne 0x1400141cb
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000b36c
mov ebx, eax
test eax, eax
js 0x14001421d
cmp byte [rbp], 0x7b
jne 0x140013ea1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x140013ea1
mov eax, dword [rsp + 0x12a0]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.1400137f4
mov ebx, eax
test eax, eax
jns 0x140013e8a
cmp dword [rsp + 0x12a0], 0
je 0x14001421d
mov rdx, rbp
mov rcx, qword [rsp + 0x40]
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x12a0], eax
je 0x140013eea
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x5cd
lea r9, str.Ending_Recovery_Mode_n
xor r8d, r8d
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0xc0]
call fcn.14000a6e8
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x12a0], eax
cmp esi, 2
je 0x1400140f1
test esi, esi
je 0x140013f0b
test eax, eax
je 0x1400141ec
jmp 0x1400140f1
test eax, eax
je 0x140013fc4
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.14000b2b0
test eax, eax
je 0x140013fc4
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400140f1
add rsi, 8
lea rax, [0x14004f580]
cmp rsi, rax
jl 0x140013f2f
cmp dword [rsp + 0x4c], 0
je 0x1400140f1
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xe8], 0x5e7
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
lea r9, str.Deleting_non_empty_subkey__s_by_force_n
xor r8d, r8d
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0xe0]
call fcn.14000a6e8
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.14000e0cc
mov rdi, qword [rsp + 0x50]
jmp 0x1400140f1
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call fcn.14000b2b0
mov esi, eax
xor eax, eax
test rdi, rdi
je 0x140013fea
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov qword [rsp + 0x50], rdi
and dword [rsp + 0x58], 0
test eax, eax
jne 0x140014202
cmp dword [rsp + 0x4c], eax
je 0x1400140f1
test esi, esi
jne 0x1400140f1
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x108], 0x5f5
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
lea r9, str.Deleting_Key__s_n
xor r8d, r8d
mov rdx, qword [0x140063140]
lea rcx, [rsp + 0x100]
call fcn.14000a6e8
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
and dword [rsp + 0x88], esi
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x80]
call fcn.14000a904
and qword [rsp + 0x80], 0
and dword [rsp + 0x88], esi
test eax, eax
jne 0x1400141f7
and dword [rsp + 0x88], eax
mov rsi, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 0
je 0x1400140f1
cmp byte [rbp], 0x7b
jne 0x1400140f1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 1
cmp eax, ecx
jne 0x1400140f1
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x48]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1400137f4
mov ebx, eax
test eax, eax
js 0x14001421d
mov rdx, rbp
mov rcx, rsi
call fcn.14000b12c
mov ebx, eax
test eax, eax
js 0x14001421d
cmp byte [rbp], 0x7d
je 0x14001421d
mov eax, 1
jmp 0x1400138b5
test rdi, rdi
je 0x140014113
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001422d
test rdi, rdi
je 0x14001412b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001422d
mov ecx, eax
call fcn.14000a510
mov ebx, eax
test rsi, rsi
je 0x14001421d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001421d
mov ecx, eax
call fcn.14000a510
mov ebx, eax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14001421d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001421d
test rdi, rdi
je 0x140014185
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001422d
test rdi, rdi
je 0x14001419d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001422d
mov ecx, eax
call fcn.14000a510
mov ebx, eax
mov rcx, qword [rsp + 0x50]
cmp rcx, rdi
je 0x1400141c0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001422d
mov rdi, qword [rsp + 0x50]
jmp 0x14001421d
mov ecx, 0x80004005
call fcn.14000a738
int3
mov ecx, 0x80070057
call fcn.14000a738
int3
mov ecx, 0x8007000e
call fcn.14000a738
int3
mov ecx, esi
call fcn.14000a510
mov ebx, eax
jmp 0x14001421d
mov ecx, eax
call fcn.14000a510
mov ebx, eax
jmp 0x14001421d
mov ecx, eax
call fcn.14000a510
mov ebx, eax
test rdi, rdi
je 0x140014219
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001422d
test rdi, rdi
je 0x14001422b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.14001e4a0
add rsp, 0x1258
pop rdi
pop rsi
pop rbp
pop rbx
ret