Function at 0x180121ed0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1138]
mov eax, 0x1238
call fcn.1802b8650
sub rsp, rax
mov qword [rbp], 0xfffffffffffffffe
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rbp + 0x1120], rax
mov dword [rsp + 0x68], r9d
mov qword [rbp - 0x70], r8
mov rsi, rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x78], 0
mov dword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
cmp byte [rsi], 0x7d
je 0x1801226ef
mov ecx, 1
mov dword [rsp + 0x6c], ecx
lea rdx, [0x18001d98c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor edi, edi
test eax, eax
sete dil
lea rdx, [0x18001dc20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x180121f81
test edi, edi
je 0x18012208e
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
cmp dword [rsp + 0x68], 0
je 0x18012208e
xor edx, edx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], edx
mov qword [rbp - 0x50], rdx
mov rcx, rsi
movzx eax, byte [rsi]
test al, al
je 0x180121fdf
nop word [rax + rax]
cmp al, 0x5c
je 0x180121fd6
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x180121fc0
jmp 0x180121fdf
test rcx, rcx
jne 0x180122657
lea rbx, [0x18001e4f0]
nop word [rax + rax]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x18012204a
add rbx, 8
lea rax, [0x18001e550]
cmp rbx, rax
jl 0x180121ff0
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1801217e0
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
test edi, edi
je 0x180122087
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x180122660
mov rdx, rsi
mov rcx, rdi
call fcn.180122fa0
mov ebx, eax
test eax, eax
js 0x180122660
xor ecx, ecx
mov dword [rbp - 0x58], ecx
jmp 0x1801223d0
mov dword [rbp - 0x58], 0
lea rdx, [0x18001dc30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1801220c1
xor edi, edi
mov dword [rsp + 0x6c], edi
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
jmp 0x1801220c5
mov edi, dword [rsp + 0x6c]
lea rdx, [0x18001d974]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x180122205
lea rdx, [rbp + 0x120]
mov rcx, qword [rsp + 0x60]
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
cmp byte [rsi], 0x3d
jne 0x1801226a8
cmp dword [rsp + 0x68], 0
je 0x180122175
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], rcx
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], rcx
mov r9, rsi
lea r8, [rbp + 0x120]
lea rdx, [rbp - 0x48]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.18011df20
mov ebx, eax
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x40], ecx
test eax, eax
js 0x1801226ef
jmp 0x1801223d0
cmp dword [rbp + 0x1180], 0
jne 0x1801221f3
test edi, edi
je 0x1801221f3
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.180120c90
test eax, eax
jne 0x18012267f
lea rdx, [rbp + 0x120]
mov rdi, qword [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, 0xfffffffd
jne 0x18012266c
test rdi, rdi
je 0x1801221ec
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180122fa0
jmp 0x180121f31
mov rcx, rsi
movzx eax, byte [rsi]
test al, al
je 0x18012222f
nop
cmp al, 0x5c
je 0x180122226
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x180122210
jmp 0x18012222f
test rcx, rcx
jne 0x1801226a8
cmp dword [rsp + 0x68], 0
je 0x180122421
mov r9d, 0x2001f
mov r8, rsi
mov rdi, qword [rbp - 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180120c90
test eax, eax
je 0x180122392
mov r9d, 0x20019
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180120c90
test eax, eax
je 0x180122392
mov qword [rsp + 0x70], 0
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x180122323
cmp qword [rbx], 0
je 0x180122314
lea rcx, [0x18001e680]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1801222b4
mov eax, 1
xor ebx, ebx
jmp 0x18012235b
lea rdx, [0x18001e718]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18012231a
mov qword [rsp + 0x50], 0
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call r10
jmp 0x18012235b
cmp dword [rbx + 8], 0
jne 0x180122323
mov eax, 1
xor ebx, ebx
jmp 0x18012235b
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1801226e6
mov eax, ebx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18012237a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], ebx
test eax, eax
jne 0x1801226e6
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
cmp byte [rsi], 0x3d
jne 0x1801223ce
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.18011df20
mov ebx, eax
test eax, eax
js 0x1801226ef
xor ecx, ecx
cmp byte [rsi], 0x7b
jne 0x180121f3b
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x1801223e0
cmp rax, 1
jne 0x180121f3b
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, rdi
call fcn.180121ed0
mov ebx, eax
test eax, eax
js 0x1801226ef
mov rdx, rsi
mov rcx, rdi
jmp 0x180121f2c
mov ebx, dword [rbp + 0x1180]
test ebx, ebx
jne 0x180122446
mov r9d, 0x20019
mov r8, rsi
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.180120c90
mov edi, eax
jmp 0x18012244b
mov edi, 2
mov eax, ebx
test edi, edi
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x70], eax
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1802d7bf0
test eax, eax
je 0x180122498
cmp eax, 0xc
je 0x1801226c5
cmp eax, 0x16
je 0x1801226ba
cmp eax, 0x22
je 0x1801226ba
cmp eax, 0x50
jne 0x1801226af
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180122fa0
mov ebx, eax
test eax, eax
js 0x1801226ef
cmp byte [rsi], 0x7b
jne 0x180122524
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x1801224d0
cmp rax, 1
jne 0x180122524
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180121ed0
mov ebx, eax
test eax, eax
jns 0x18012250d
cmp dword [rsp + 0x70], 0
je 0x1801226ef
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.180120b00
mov ebx, eax
test eax, eax
js 0x1801226ef
cmp edi, 2
je 0x180121f3b
test edi, edi
je 0x180122543
cmp dword [rbp + 0x1180], 0
je 0x1801226d0
jmp 0x180121f3b
cmp dword [rbp + 0x1180], 0
je 0x1801225b4
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.180120260
test eax, eax
je 0x1801225b4
lea rdi, [0x18001e4f0]
nop word [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x180121f3b
add rdi, 8
lea rax, [0x18001e550]
cmp rdi, rax
jl 0x180122570
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x180121f3b
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x78]
call fcn.1801217e0
jmp 0x180121f3b
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.180120260
mov edi, eax
xor eax, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1801225de
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], 0
test eax, eax
jne 0x1801226e6
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x180121f3b
test edi, edi
jne 0x180121f3b
mov qword [rbp - 0x18], 0
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x18]
call fcn.18011f560
mov qword [rbp - 0x18], 0
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], 0
test eax, eax
jne 0x1801226d4
mov dword [rbp - 0x10], eax
jmp 0x180121f3b
mov dword [rbp - 0x58], 0
jmp 0x1801226a8
mov dword [rbp - 0x58], 0
jmp 0x1801226ef
mov ecx, eax
call fcn.18011e800
mov ebx, eax
test rdi, rdi
je 0x18012269f
mov rcx, rdi
jmp 0x180122691
mov ecx, eax
call fcn.18011e800
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x18012269f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
jmp 0x1801226ef
mov ebx, 0x80020009
jmp 0x1801226ef
mov ecx, 0x80004005
call fcn.18011e9e0
int3
mov ecx, 0x80070057
call fcn.18011e9e0
int3
mov ecx, 0x8007000e
call fcn.18011e9e0
int3
mov ecx, edi
jmp 0x1801226e8
mov ecx, eax
call fcn.18011e800
mov ebx, eax
mov dword [rbp - 0x10], 0
jmp 0x1801226ef
mov ecx, eax
call fcn.18011e800
mov ebx, eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18012270b
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], 0
mov dword [rbp - 0x80], 0
mov eax, ebx
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.1802b85a0
add rsp, 0x1238
pop rdi
pop rsi
pop rbx
pop rbp
ret