Function at 0x180035240
Capabilities:
Delete registry key
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.1800675c0
sub rsp, rax
mov rax, qword [0x1800ef3c8]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x40], r9d
mov qword [rsp + 0x48], r8
mov r15, rdx
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor esi, esi
mov r13d, esi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
call fcn.1800343a0
mov ebx, eax
test eax, eax
js 0x180035eba
cmp word [r15], 0x7d
je 0x180035eba
mov r12d, 1
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, [0x1800b8ae0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800352f0
test esi, esi
je 0x180035553
mov rbx, r15
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18003531f
cmp ax, 0xa
jbe 0x180035311
cmp ax, 0xd
je 0x180035311
cmp ax, 0x20
jne 0x18003531f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1800352f3
xor ecx, ecx
cmp cx, ax
je 0x180035eb5
mov edx, 0x27
cmp dx, ax
jne 0x180035411
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x1800353f2
mov ecx, 0x27
cmp cx, ax
jne 0x180035376
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x1800353f2
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x180035392
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x180035eb5
test edx, edx
jle 0x1800353e3
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r12
jne 0x1800353d0
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x180035355
mov rax, qword [r14]
cmp di, word [rax]
je 0x180035eb5
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor ecx, ecx
jmp 0x180035484
cmp ax, 0x20
ja 0x180035427
movabs rdx, 0x100002600
bt rdx, rax
jb 0x180035481
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x180035eb5
test edx, edx
jle 0x180035473
sub rdi, rbx
mov ecx, edx
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r12
jne 0x180035460
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x180035411
mov word [rbx], cx
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x180035553
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], rcx
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x1800354d2
nop
cmp ax, 0x5c
je 0x1800354c9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1800354b0
jmp 0x1800354d2
test rcx, rcx
jne 0x180035eb5
lea rbx, str.AppID
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180035520
add rbx, 8
lea rax, [0x1800bb480]
cmp rbx, rax
jl 0x1800354e0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180034a10
mov qword [rsp + 0x68], 0
test esi, esi
je 0x180035553
mov rdx, r15
mov rcx, r14
call fcn.1800343a0
mov ebx, eax
test eax, eax
js 0x180035eba
mov rdx, r15
mov rcx, r14
call fcn.180035f10
mov ebx, eax
test eax, eax
js 0x180035eba
jmp 0x180035bc6
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x1800356f3
mov r12d, esi
mov rbx, r15
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18003559f
cmp ax, 0xa
jbe 0x180035591
cmp ax, 0xd
je 0x180035591
cmp ax, 0x20
jne 0x18003559f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180035573
cmp si, ax
je 0x180035eb5
mov ecx, 0x27
cmp cx, ax
jne 0x180035680
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x180035661
mov edi, 0x27
cmp di, ax
jne 0x1800355e9
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x180035661
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x180035605
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x180035eb5
test edx, edx
jle 0x180035654
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x180035640
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x1800355d1
mov rax, qword [r14]
cmp si, word [rax]
je 0x180035eb5
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1800356f3
cmp ax, 0x20
ja 0x180035696
movabs rcx, 0x100002600
bt rcx, rax
jb 0x1800356f0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x180035eb5
test edx, edx
jle 0x1800356e4
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1800356d0
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x180035680
mov word [rbx], si
lea rdx, [0x1800b8ad8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180035ae0
lea rbx, [rbp + 0x1c0]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18003573e
cmp ax, 0xa
jbe 0x180035730
cmp ax, 0xd
je 0x180035730
cmp ax, 0x20
jne 0x18003573e
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180035712
cmp si, ax
je 0x180035eb5
mov ecx, 0x27
cmp cx, ax
jne 0x180035817
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x1800357fd
mov edi, 0x27
cmp di, ax
jne 0x180035788
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x1800357fd
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x1800357a4
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
mov rcx, rax
sub rcx, rdi
sar rcx, 1
lea rax, [rcx + 1]
lea rax, [rbx + rax*2]
lea r8, [rbp + 0x21c0]
cmp rax, r8
jae 0x180035eb5
test ecx, ecx
jle 0x1800357f1
sub rdi, rbx
mov ecx, ecx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1800357e0
movzx eax, word [rdx]
cmp si, ax
jne 0x180035770
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x180035eb5
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180035890
cmp ax, 0x20
ja 0x18003582d
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18003588d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [rbp + 0x21c0]
cmp rcx, rax
jae 0x180035eb5
test edx, edx
jle 0x180035881
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x180035870
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x180035817
mov word [rbx], si
mov rbx, r15
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x1800358bf
cmp ax, 0xa
jbe 0x1800358b1
cmp ax, 0xd
je 0x1800358b1
cmp ax, 0x20
jne 0x1800358bf
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180035893
cmp si, ax
je 0x180035eb5
mov ecx, 0x27
cmp cx, ax
jne 0x1800359a0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x180035981
mov edi, 0x27
cmp di, ax
jne 0x180035909
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x180035981
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x180035925
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x180035eb5
test edx, edx
jle 0x180035974
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x180035960
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x1800358f1
mov rax, qword [r14]
cmp si, word [rax]
je 0x180035eb5
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180035a13
cmp ax, 0x20
ja 0x1800359b6
movabs rcx, 0x100002600
bt rcx, rax
jb 0x180035a10
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x180035eb5
test edx, edx
jle 0x180035a04
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1800359f0
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x1800359a0
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x180035eb5
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x180035a66
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], esi
mov qword [rbp - 0x70], rsi
mov r9, r15
lea r8, [rbp + 0x1c0]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.180032e80
mov ebx, eax
mov qword [rbp - 0x80], rsi
test eax, eax
js 0x180035eba
jmp 0x180035bc6
cmp dword [rbp + 0x2240], 0
jne 0x180035ad0
test r12d, r12d
je 0x180035ad0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.18002a020
test eax, eax
jne 0x180035e80
lea rdx, [rbp + 0x1c0]
mov rdi, qword [rbp - 0x68]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x180035e67
test rdi, rdi
je 0x180035ad0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.180035f10
jmp 0x1800352a3
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x180035b12
nop dword [rax]
cmp ax, 0x5c
je 0x180035b09
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180035af0
jmp 0x180035b12
test rcx, rcx
jne 0x180035eb5
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x180035c21
mov r9d, 0x2001f
mov r8, r15
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.18002a020
test eax, eax
je 0x180035b88
mov r9d, 0x20019
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.18002a020
test eax, eax
je 0x180035b88
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800336c0
test eax, eax
jne 0x180035e9a
mov rdx, r15
mov rcx, r14
call fcn.1800343a0
mov ebx, eax
test eax, eax
js 0x180035ea3
cmp word [r15], 0x3d
jne 0x180035bc1
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.180032e80
mov ebx, eax
test eax, eax
js 0x180035ea3
mov r13, qword [rsp + 0x50]
cmp word [r15], 0x7b
jne 0x180035d32
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x180035be0
xor esi, esi
cmp rax, 1
jne 0x1800352ad
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.180035240
mov ebx, eax
test eax, eax
js 0x180035eba
mov rdx, r15
mov rcx, r14
jmp 0x18003529e
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x180035c4c
mov r9d, 0x20019
mov r8, r15
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.18002a020
mov edi, eax
mov r13, qword [rsp + 0x50]
jmp 0x180035c51
mov edi, 2
mov esi, 1
test edi, edi
cmove esi, ebx
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.180094e5c
test eax, eax
je 0x180035c9b
cmp eax, 0xc
je 0x180035eed
cmp eax, 0x16
je 0x180035f03
cmp eax, 0x22
je 0x180035f03
cmp eax, 0x50
jne 0x180035ef8
mov rdx, r15
mov rcx, r14
call fcn.1800343a0
mov ebx, eax
test eax, eax
js 0x180035eba
mov rdx, r15
mov rcx, r14
call fcn.180035f10
mov ebx, eax
test eax, eax
js 0x180035eba
cmp word [r15], 0x7b
jne 0x180035d1c
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x180035cd3
cmp rax, 1
jne 0x180035d1c
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.180035240
mov ebx, eax
test eax, eax
jns 0x180035d07
test esi, esi
je 0x180035eba
mov rdx, r15
mov rcx, r14
call fcn.1800343a0
mov ebx, eax
test eax, eax
js 0x180035eba
cmp edi, 2
je 0x180035d32
test edi, edi
je 0x180035d39
cmp dword [rbp + 0x2240], 0
je 0x180035eaa
xor esi, esi
jmp 0x1800352ad
cmp dword [rbp + 0x2240], 0
je 0x180035da0
mov rdx, r13
mov rcx, r14
call fcn.180034220
test eax, eax
je 0x180035da0
lea rdi, str.AppID
nop dword [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180035d32
add rdi, 8
lea rax, [0x1800bb480]
cmp rdi, rax
jl 0x180035d60
test r12d, r12d
je 0x180035d32
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.180034a10
mov r13, qword [rsp + 0x50]
xor esi, esi
jmp 0x1800352ad
mov rdx, r13
mov rcx, r14
call fcn.180034220
mov edi, eax
xor esi, esi
mov eax, esi
test r13, r13
je 0x180035dc7
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13d, esi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
test eax, eax
jne 0x180035e5c
test r12d, r12d
je 0x1800352ad
test edi, edi
jne 0x1800352ad
cmp byte [0x1800f3f00], sil
jne 0x180035e2f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180035e1f
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800f3ef8], rax
mov byte [0x1800f3f00], 1
jmp 0x180035e36
mov rax, qword [0x1800f3ef8]
mov byte [0x1800f3f00], 1
jmp 0x180035e36
mov rax, qword [0x1800f3ef8]
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x48]
test rax, rax
je 0x180035e4e
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x180035e54
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1800352ad
mov ecx, eax
call fcn.180033600
mov ebx, eax
jmp 0x180035eba
mov ecx, eax
call fcn.180033600
mov ebx, eax
test rdi, rdi
je 0x180035eba
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180035eba
mov ecx, eax
call fcn.180033600
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180035eba
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180035eba
mov ecx, eax
call fcn.180033600
mov ebx, eax
mov r13, qword [rsp + 0x50]
jmp 0x180035eba
mov ecx, edi
call fcn.180033600
mov ebx, eax
jmp 0x180035eba
mov ebx, 0x80020009
test r13, r13
je 0x180035ec8
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.180067630
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.180005ca0
int3
mov ecx, 0x80004005
call fcn.180005ca0
int3
mov ecx, 0x80070057
call fcn.180005ca0
int3