Function at 0x180033658
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.180043900
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rsp + 0x68], r9d
mov r15, r8
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
mov esi, r13d
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
call fcn.180032cf8
test eax, eax
mov ebx, eax
js 0x180033d66
cmp word [rdi], 0x7d
je 0x180033d66
mov eax, 1
mov r13d, eax
lea rdx, [0x1800b0b10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov r14d, ebx
test eax, eax
sete r14b
lea rdx, [0x1800b0ae0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180033712
test r14d, r14d
je 0x1800337e0
mov rdx, rdi
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180033d66
cmp dword [rsp + 0x68], edx
je 0x1800337de
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180033759
cmp ax, 0x5c
je 0x180033760
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180033747
jmp 0x180033769
test rcx, rcx
jne 0x180033db2
lea rbx, [0x1800b0b20]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800337a0
add rbx, 8
lea rax, [0x1800b0b80]
cmp rbx, rax
jl 0x180033770
mov qword [rbp - 0x70], r15
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.18003310c
xor ebx, ebx
test r14d, r14d
je 0x1800337e0
mov rdx, rdi
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
xor r13d, r13d
test eax, eax
js 0x180033d66
mov rdx, rdi
mov rcx, r12
call fcn.180033e68
mov ebx, eax
test eax, eax
js 0x180033d66
mov r14d, dword [rsp + 0x68]
jmp 0x180033a7b
xor ebx, ebx
lea rdx, [0x1800b0af8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18003380c
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
test eax, eax
js 0x180033d66
lea rdx, [0x1800b0ad8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x18003390a
lea rdx, [rbp + 0x1d0]
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
test eax, eax
js 0x180033d66
mov rdx, rdi
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180033d66
cmp word [rdi], 0x3d
jne 0x180033db2
mov r14d, dword [rsp + 0x68]
test r14d, r14d
je 0x180033896
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x70], r15
mov r9, rdi
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.180031520
mov ebx, eax
xor r13d, r13d
jmp 0x180033a73
cmp dword [rbp + 0x2250], edx
jne 0x1800338fa
test r13d, r13d
je 0x1800338fa
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180033d5d
mov r14, qword [rsp + 0x60]
lea rdx, [rbp + 0x1d0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x180033d99
test r14, r14
je 0x1800338fa
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.180033e68
jmp 0x1800336be
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180033926
cmp ax, 0x5c
je 0x18003392d
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x180033912
jmp 0x180033936
test rcx, rcx
jne 0x180033db2
mov r14d, dword [rsp + 0x68]
test r14d, r14d
je 0x180033ac6
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov ebx, 0x2001f
mov r9d, ebx
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r13d, r13d
test eax, eax
jne 0x180033994
mov eax, r13d
test rsi, rsi
je 0x180033982
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
test eax, eax
je 0x180033a3e
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800339db
mov eax, r13d
test rsi, rsi
je 0x1800339cd
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
test eax, eax
je 0x180033a3e
mov qword [rsp + 0x60], r13
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180033d5d
mov eax, r13d
test rsi, rsi
je 0x180033a2c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
test eax, eax
jne 0x180033d5d
mov rdx, rdi
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
test eax, eax
js 0x180033d66
cmp word [rdi], 0x3d
jne 0x180033a7b
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.180031520
mov ebx, eax
mov rsi, qword [rsp + 0x78]
test eax, eax
js 0x180033d66
cmp word [rdi], 0x7b
jne 0x1800336c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x1800336c8
mov dword [rsp + 0x20], r13d
mov r9d, r14d
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call fcn.180033658
mov ebx, eax
test eax, eax
js 0x180033d66
mov rdx, rdi
mov rcx, r12
jmp 0x1800336b9
mov ebx, dword [rbp + 0x2250]
test ebx, ebx
jne 0x180033b1d
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, eax
xor edx, edx
test eax, eax
jne 0x180033b23
mov r14d, edx
test rsi, rsi
je 0x180033b11
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14d, eax
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
jmp 0x180033b23
mov r14d, 2
mov r15d, ebx
test r14d, r14d
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.180083540
test eax, eax
je 0x180033b6f
cmp eax, 0xc
je 0x180033dbe
cmp eax, 0x16
je 0x180033dd4
cmp eax, 0x22
je 0x180033dd4
cmp eax, 0x50
jne 0x180033dc9
mov rdx, rdi
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
test eax, eax
js 0x180033d66
mov rdx, rdi
mov rcx, r12
call fcn.180033e68
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180033d66
cmp word [rdi], 0x7b
jne 0x180033bf3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x180033bf1
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call fcn.180033658
mov ebx, eax
test eax, eax
jns 0x180033bd8
test r15d, r15d
je 0x180033d66
mov rdx, rdi
mov rcx, r12
call fcn.180032cf8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180033d66
jmp 0x180033bf3
xor edx, edx
cmp r14d, 2
je 0x180033c0a
test r14d, r14d
je 0x180033c14
cmp dword [rbp + 0x2250], edx
je 0x180033db9
mov r15, qword [rsp + 0x70]
jmp 0x1800336c8
cmp dword [rbp + 0x2250], edx
je 0x180033cb7
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, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x180033cb7
cmp dword [rsp + 0x60], edx
jbe 0x180033cb7
lea r14, [0x1800b0b20]
mov rdx, qword [r14]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180033c0a
add r14, 8
lea rax, [0x1800b0b80]
cmp r14, rax
jl 0x180033c75
test r13d, r13d
je 0x180033c0a
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.18003310c
mov rsi, qword [rsp + 0x78]
jmp 0x180033c0a
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, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov r14d, edx
test eax, eax
jne 0x180033d0a
cmp dword [rsp + 0x60], edx
seta r14b
test rsi, rsi
je 0x180033d25
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov esi, edx
mov qword [rsp + 0x78], rdx
test eax, eax
jne 0x180033d5d
test r13d, r13d
je 0x180033c0a
mov r15, qword [rsp + 0x70]
test r14d, r14d
jne 0x1800336c8
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x70], r15
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.180032a24
test eax, eax
je 0x1800336c8
mov ecx, eax
call fcn.180031de0
mov ebx, eax
test rsi, rsi
je 0x180033d74
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.180043830
add rsp, 0x22e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.180031de0
mov ebx, eax
test r14, r14
je 0x180033d66
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180033d66
mov ebx, 0x80020009
jmp 0x180033d66
mov ecx, r14d
jmp 0x180033d5f
mov ecx, 0x8007000e
call fcn.18001756c
int3
mov ecx, 0x80004005
call fcn.18001756c
int3
mov ecx, 0x80070057
call fcn.18001756c
int3