Function at 0x140003ea4
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.1400085b0
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x140017018]
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.1400031b0
mov ebx, eax
test eax, eax
js 0x1400044fb
cmp word [rdi], 0x7d
je 0x1400044fb
mov eax, 1
mov r13d, eax
lea rdx, [0x14000b878]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, [0x14000b848]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003f55
test esi, esi
je 0x140004029
mov rdx, rdi
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044fb
cmp dword [rsp + 0x64], edx
je 0x140004029
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003f9d
cmp ax, 0x5c
je 0x140003fa4
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003f8b
jmp 0x140003fad
test rcx, rcx
jne 0x14000455c
lea rbx, [0x14000dad0]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
je 0x140003ff0
add rbx, 8
lea rax, [0x14000db30]
cmp rbx, rax
jl 0x140003fb4
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], ecx
mov qword [rbp - 0x80], rcx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400037dc
test esi, esi
je 0x140004029
mov rdx, rdi
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
test eax, eax
js 0x1400044fb
mov rdx, rdi
mov rcx, r12
call fcn.1400045a0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044fb
mov esi, dword [rsp + 0x64]
jmp 0x140004235
lea rdx, [0x14000b860]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140004057
mov r13d, esi
mov rdx, rdi
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
test eax, eax
js 0x1400044fb
lea rdx, [0x14000b840]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000415e
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
test eax, eax
js 0x1400044fb
mov rdx, rdi
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044fb
cmp word [rdi], 0x3d
jne 0x14000455c
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x1400040e6
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.1400026c8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044fb
jmp 0x140004235
cmp dword [rbp + 0x2240], edx
jne 0x14000414c
test r13d, r13d
je 0x14000414c
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.140003368
test eax, eax
jne 0x140004541
lea rdx, [rbp + 0x1c0]
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000452e
test rsi, rsi
je 0x14000414c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.1400045a0
xor esi, esi
jmp 0x140003f07
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140004178
cmp ax, 0x5c
je 0x14000417f
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140004166
jmp 0x140004188
test rcx, rcx
jne 0x14000455c
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x140004286
mov r15d, 0x2001f
mov r9d, r15d
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140003368
xor ebx, ebx
test eax, eax
je 0x1400041f6
lea r9d, [r15 - 6]
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140003368
test eax, eax
je 0x1400041f6
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.140002eac
test eax, eax
jne 0x140004563
mov rdx, rdi
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000456c
cmp word [rdi], 0x3d
jne 0x140004231
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.1400026c8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000456c
mov r15, qword [rbp - 0x78]
cmp word [rdi], 0x7b
jne 0x14000439d
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140004243
mov ecx, 1
cmp rax, rcx
jne 0x14000439d
mov dword [rsp + 0x20], edx
mov r9d, esi
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.140003ea4
mov ebx, eax
xor esi, esi
test eax, eax
js 0x1400044fb
mov rdx, rdi
mov rcx, r12
jmp 0x140003f02
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x1400042ad
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140003368
mov esi, eax
mov r15, qword [rbp - 0x78]
jmp 0x1400042b2
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 0x1400042fe
cmp eax, 0xc
je 0x140004579
cmp eax, 0x16
je 0x14000458f
cmp eax, 0x22
je 0x14000458f
cmp eax, 0x50
jne 0x140004584
mov rdx, rdi
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
test eax, eax
js 0x1400044fb
mov rdx, rdi
mov rcx, r12
call fcn.1400045a0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044fb
cmp word [rdi], 0x7b
jne 0x140004383
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140004334
mov ecx, 1
cmp rax, rcx
jne 0x140004383
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.140003ea4
mov ebx, eax
test eax, eax
jns 0x14000436c
test r14d, r14d
je 0x1400044fb
mov rdx, rdi
mov rcx, r12
call fcn.1400031b0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1400044fb
cmp esi, 2
je 0x140004398
test esi, esi
je 0x1400043a4
cmp dword [rbp + 0x2240], edx
je 0x140004572
mov r14, qword [rsp + 0x68]
xor esi, esi
jmp 0x140003f11
cmp dword [rbp + 0x2240], edx
je 0x140004445
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 0x140004445
cmp dword [rsp + 0x60], edx
jbe 0x140004445
lea rsi, [0x14000dad0]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140004398
add rsi, 8
lea rax, [0x14000db30]
cmp rsi, rax
jl 0x140004405
test r13d, r13d
je 0x140004398
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400037dc
mov r15, qword [rbp - 0x78]
jmp 0x140004398
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 0x140004497
cmp dword [rsp + 0x60], edx
seta sil
mov eax, edx
test r15, r15
je 0x1400044b0
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 0x1400044f2
mov r14, qword [rsp + 0x68]
test r13d, r13d
je 0x14000439d
test esi, esi
jne 0x14000439d
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.140002f98
xor esi, esi
test eax, eax
je 0x140003f11
mov ecx, eax
call fcn.140002d9c
mov ebx, eax
test r15, r15
je 0x140004509
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.140008620
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.140002d9c
mov ebx, eax
test rsi, rsi
je 0x1400044fb
mov rcx, rsi
jmp 0x140004554
mov ecx, eax
call fcn.140002d9c
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400044fb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400044fb
mov ebx, 0x80020009
jmp 0x1400044fb
mov ecx, eax
call fcn.140002d9c
mov ebx, eax
mov r15, qword [rbp - 0x78]
jmp 0x1400044fb
mov ecx, esi
jmp 0x1400044f4
mov ecx, 0x8007000e
call fcn.140002dac
int3
mov ecx, 0x80004005
call fcn.140002dac
int3
mov ecx, 0x80070057
call fcn.140002dac
int3