Function at 0x140003d10
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.140008940
sub rsp, rax
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x68], r9d
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov r12, rcx
xor esi, esi
mov r14d, esi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r15d, esi
mov qword [rbp - 0x78], rsi
call fcn.140003080
mov ebx, eax
test eax, eax
js 0x1400041a3
cmp word [rdi], 0x7d
je 0x1400041a3
mov r13d, 1
lea rdx, [0x14000c4a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov esi, ebx
test eax, eax
sete sil
lea rdx, [0x14000c430]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003dbc
test esi, esi
je 0x140003e95
mov rdx, rdi
mov rcx, r12
call fcn.140003080
mov ebx, eax
test eax, eax
js 0x1400041a3
xor ebx, ebx
cmp dword [rsp + 0x68], ebx
je 0x140003e95
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], ebx
mov qword [rbp - 0x60], rbx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003e02
cmp ax, 0x5c
je 0x140003e09
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003df0
jmp 0x140003e12
test rcx, rcx
jne 0x140004565
lea rbx, [0x14000d930]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003e59
add rbx, 8
lea rax, [0x14000d990]
cmp rbx, rax
jl 0x140003e19
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
xor ebx, ebx
mov dword [rbp - 0x68], ebx
mov qword [rbp - 0x60], rbx
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140003600
jmp 0x140003e5b
xor ebx, ebx
test esi, esi
je 0x140003e95
mov rdx, rdi
mov rcx, r12
call fcn.140003080
mov ebx, eax
xor r15d, r15d
test eax, eax
js 0x1400041a3
mov rdx, rdi
mov rcx, r12
call fcn.140004594
mov ebx, eax
test eax, eax
js 0x1400041a3
mov esi, dword [rsp + 0x68]
jmp 0x14000420e
lea rdx, [0x14000c468]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140003ec1
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.140003080
mov ebx, eax
test eax, eax
js 0x1400041a3
lea rdx, [0x14000c408]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140003fcd
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.140003080
mov ebx, eax
xor r15d, r15d
test eax, eax
js 0x1400041a3
mov rdx, rdi
mov rcx, r12
call fcn.140003080
mov ebx, eax
test eax, eax
js 0x1400041a3
cmp word [rdi], 0x3d
jne 0x140004565
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x140003f4a
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r15
mov r9, rdi
lea r8, [rbp + 0x1c0]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.14000266c
mov ebx, eax
jmp 0x14000420a
cmp dword [rbp + 0x2240], r15d
jne 0x140003fb3
test r13d, r13d
je 0x140003fb3
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000419a
mov rsi, qword [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140004545
test rsi, rsi
je 0x140003fb3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.140004594
mov ebx, eax
test eax, eax
js 0x1400041a3
jmp 0x140004532
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003fe7
cmp ax, 0x5c
je 0x140003fee
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003fd5
jmp 0x140003ff7
test rcx, rcx
jne 0x140004565
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x140004260
xor r13d, r13d
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
test r15, r15
je 0x14000403a
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2001f
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.140003918
jmp 0x140004054
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000407f
mov eax, r13d
test r14, r14
je 0x140004069
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r13d
test eax, eax
je 0x1400041d6
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
test r15, r15
je 0x1400040ae
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.140003918
jmp 0x1400040c8
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400040f3
mov eax, r13d
test r14, r14
je 0x1400040dd
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r13d
test eax, eax
je 0x1400041d6
mov qword [rsp + 0x60], r13
lea rax, [rbp - 0x58]
test r15, r15
je 0x14000413d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x2001f
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.140003758
xor r15d, r15d
jmp 0x140004173
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000419a
mov eax, r15d
test r14, r14
je 0x140004188
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r15d
test eax, eax
je 0x1400041d9
mov ecx, eax
call fcn.140002cdc
mov ebx, eax
test r14, r14
je 0x1400041b1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1400089a0
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r15d, r15d
mov rdx, rdi
mov rcx, r12
call fcn.140003080
mov ebx, eax
test eax, eax
js 0x1400041a3
cmp word [rdi], 0x3d
jne 0x14000420e
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.14000266c
mov ebx, eax
mov r14, qword [rsp + 0x78]
test eax, eax
js 0x1400041a3
cmp word [rdi], 0x7b
jne 0x140004532
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14000421c
cmp rax, 1
jne 0x140004532
mov dword [rsp + 0x20], r15d
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.140003d10
mov ebx, eax
test eax, eax
js 0x1400041a3
mov rdx, rdi
mov rcx, r12
call fcn.140003080
jmp 0x140003fbe
mov ebx, dword [rbp + 0x2240]
xor eax, eax
test ebx, ebx
jne 0x1400042e4
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
test r15, r15
je 0x14000429d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rdi
mov rdx, qword [rsp + 0x70]
mov rcx, r15
call fcn.140003918
jmp 0x1400042b9
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
xor eax, eax
test esi, esi
jne 0x1400042e9
mov esi, eax
test r14, r14
je 0x1400042d5
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
xor eax, eax
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], eax
jmp 0x1400042e9
mov esi, 2
mov r15d, 1
test esi, esi
cmove r15d, ebx
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 0x140004333
cmp eax, 0xc
je 0x14000457a
cmp eax, 0x16
je 0x14000456f
cmp eax, 0x22
je 0x14000456f
cmp eax, 0x50
jne 0x140004585
mov rdx, rdi
mov rcx, r12
call fcn.140003080
mov ebx, eax
test eax, eax
js 0x1400041a3
mov rdx, rdi
mov rcx, r12
call fcn.140004594
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x1400041a3
cmp word [rdi], 0x7b
jne 0x1400043b7
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x140004369
cmp rax, 1
jne 0x1400043b7
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.140003d10
mov ebx, eax
test eax, eax
jns 0x14000439d
test r15d, r15d
je 0x1400041a3
mov rdx, rdi
mov rcx, r12
call fcn.140003080
mov ebx, eax
xor r15d, r15d
test eax, eax
js 0x1400041a3
jmp 0x1400043ba
xor r15d, r15d
cmp esi, 2
je 0x140004532
test esi, esi
je 0x1400043db
cmp dword [rbp + 0x2240], r15d
jne 0x140004532
mov ecx, esi
jmp 0x14000419c
cmp dword [rbp + 0x2240], r15d
je 0x14000448b
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000448b
mov eax, r15d
cmp dword [rsp + 0x60], r15d
seta al
test eax, eax
je 0x14000448b
lea rsi, [0x14000d930]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140004532
add rsi, 8
lea rax, [0x14000d990]
cmp rsi, rax
jl 0x140004445
test r13d, r13d
je 0x140004532
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.140003600
mov r14, qword [rsp + 0x78]
jmp 0x140004532
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, r15d
test eax, eax
jne 0x1400044de
cmp dword [rsp + 0x60], r15d
seta sil
mov eax, r15d
test r14, r14
je 0x1400044f7
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, r15
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
test eax, eax
jne 0x14000419a
test r13d, r13d
je 0x140004532
test esi, esi
jne 0x140004532
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r15
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140002e70
test eax, eax
jne 0x14000419a
cmp word [rdi], 0x7d
je 0x1400041a3
mov r15, qword [rbp - 0x78]
jmp 0x140003d80
mov ecx, eax
call fcn.140002cdc
mov ebx, eax
test rsi, rsi
je 0x1400041a3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400041a3
mov ebx, 0x80020009
jmp 0x1400041a3
mov ecx, 0x80070057
call fcn.140002cec
int3
mov ecx, 0x8007000e
call fcn.140002cec
int3
mov ecx, 0x80004005
call fcn.140002cec
int3