Function at 0x140003e90
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d8]
mov eax, 0x22d8
call fcn.140008510
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x64], r9d
mov r14, r8
mov qword [rsp + 0x68], r8
mov rdi, rdx
mov r12, rcx
xor esi, esi
mov r15d, esi
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x70], esi
mov qword [rbp - 0x68], rsi
call fcn.14000319c
mov ebx, eax
test eax, eax
js 0x1400044e7
cmp word [rdi], 0x7d
je 0x1400044e7
mov eax, 1
mov r13d, eax
lea rdx, [0x14000a868]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, [0x14000a838]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003f41
test esi, esi
je 0x140004015
mov rdx, rdi
mov rcx, r12
call fcn.14000319c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044e7
cmp dword [rsp + 0x64], edx
je 0x140004015
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003f89
cmp ax, 0x5c
je 0x140003f90
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003f77
jmp 0x140003f99
test rcx, rcx
jne 0x140004548
lea rbx, [0x14000cac0]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
je 0x140003fdc
add rbx, 8
lea rax, [0x14000cb20]
cmp rbx, rax
jl 0x140003fa0
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], ecx
mov qword [rbp - 0x80], rcx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400037c8
test esi, esi
je 0x140004015
mov rdx, rdi
mov rcx, r12
call fcn.14000319c
mov ebx, eax
test eax, eax
js 0x1400044e7
mov rdx, rdi
mov rcx, r12
call fcn.14000458c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044e7
mov esi, dword [rsp + 0x64]
jmp 0x140004221
lea rdx, [0x14000a850]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140004043
mov r13d, esi
mov rdx, rdi
mov rcx, r12
call fcn.14000319c
mov ebx, eax
test eax, eax
js 0x1400044e7
lea rdx, [0x14000a830]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000414a
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.14000319c
mov ebx, eax
test eax, eax
js 0x1400044e7
mov rdx, rdi
mov rcx, r12
call fcn.14000319c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044e7
cmp word [rdi], 0x3d
jne 0x140004548
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x1400040d2
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
mov r9, rdi
lea r8, [rbp + 0x1c0]
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1400026b4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044e7
jmp 0x140004221
cmp dword [rbp + 0x2240], edx
jne 0x140004138
test r13d, r13d
je 0x140004138
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140003354
test eax, eax
jne 0x14000452d
lea rdx, [rbp + 0x1c0]
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000451a
test rsi, rsi
je 0x140004138
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.14000458c
xor esi, esi
jmp 0x140003ef3
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140004164
cmp ax, 0x5c
je 0x14000416b
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140004152
jmp 0x140004174
test rcx, rcx
jne 0x140004548
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x140004272
mov r15d, 0x2001f
mov r9d, r15d
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140003354
xor ebx, ebx
test eax, eax
je 0x1400041e2
lea r9d, [r15 - 6]
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140003354
test eax, eax
je 0x1400041e2
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140002e98
test eax, eax
jne 0x14000454f
mov rdx, rdi
mov rcx, r12
call fcn.14000319c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140004558
cmp word [rdi], 0x3d
jne 0x14000421d
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.1400026b4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140004558
mov r15, qword [rbp - 0x78]
cmp word [rdi], 0x7b
jne 0x140004389
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x14000422f
mov ecx, 1
cmp rax, rcx
jne 0x140004389
mov dword [rsp + 0x20], edx
mov r9d, esi
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.140003e90
mov ebx, eax
xor esi, esi
test eax, eax
js 0x1400044e7
mov rdx, rdi
mov rcx, r12
jmp 0x140003eee
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x140004299
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140003354
mov esi, eax
mov r15, qword [rbp - 0x78]
jmp 0x14000429e
mov esi, 2
mov r14d, ebx
test esi, esi
mov eax, 1
cmovne r14d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test eax, eax
je 0x1400042ea
cmp eax, 0xc
je 0x140004565
cmp eax, 0x16
je 0x14000457b
cmp eax, 0x22
je 0x14000457b
cmp eax, 0x50
jne 0x140004570
mov rdx, rdi
mov rcx, r12
call fcn.14000319c
mov ebx, eax
test eax, eax
js 0x1400044e7
mov rdx, rdi
mov rcx, r12
call fcn.14000458c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044e7
cmp word [rdi], 0x7b
jne 0x14000436f
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140004320
mov ecx, 1
cmp rax, rcx
jne 0x14000436f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.140003e90
mov ebx, eax
test eax, eax
jns 0x140004358
test r14d, r14d
je 0x1400044e7
mov rdx, rdi
mov rcx, r12
call fcn.14000319c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044e7
cmp esi, 2
je 0x140004384
test esi, esi
je 0x140004390
cmp dword [rbp + 0x2240], edx
je 0x14000455e
mov r14, qword [rsp + 0x68]
xor esi, esi
jmp 0x140003efd
cmp dword [rbp + 0x2240], edx
je 0x140004431
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, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x140004431
cmp dword [rsp + 0x60], edx
jbe 0x140004431
lea rsi, [0x14000cac0]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140004384
add rsi, 8
lea rax, [0x14000cb20]
cmp rsi, rax
jl 0x1400043f1
test r13d, r13d
je 0x140004384
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400037c8
mov r15, qword [rbp - 0x78]
jmp 0x140004384
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, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x140004483
cmp dword [rsp + 0x60], edx
seta sil
mov eax, edx
test r15, r15
je 0x14000449c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r15d, edx
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x70], edx
test eax, eax
jne 0x1400044de
mov r14, qword [rsp + 0x68]
test r13d, r13d
je 0x140004389
test esi, esi
jne 0x140004389
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140002f84
xor esi, esi
test eax, eax
je 0x140003efd
mov ecx, eax
call fcn.140002d88
mov ebx, eax
test r15, r15
je 0x1400044f5
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.140008580
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.140002d88
mov ebx, eax
test rsi, rsi
je 0x1400044e7
mov rcx, rsi
jmp 0x140004540
mov ecx, eax
call fcn.140002d88
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400044e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400044e7
mov ebx, 0x80020009
jmp 0x1400044e7
mov ecx, eax
call fcn.140002d88
mov ebx, eax
mov r15, qword [rbp - 0x78]
jmp 0x1400044e7
mov ecx, esi
jmp 0x1400044e0
mov ecx, 0x8007000e
call fcn.140002d98
int3
mov ecx, 0x80004005
call fcn.140002d98
int3
mov ecx, 0x80070057
call fcn.140002d98
int3