Function at 0x1000152c0
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x2338
call fcn.10007b790
sub rsp, rax
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x1000a1108]
xor rax, rsp
mov qword [rsp + 0x2320], rax
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x90], r8
mov rbp, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rcx
mov ecx, dword [rsp + 0x2380]
mov dword [rsp + 0x98], ecx
mov rcx, rax
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x100015345
jmp 0x100015c6c
cmp word [rbp], 0x7d
je 0x100015c55
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, [0x1000022d8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov esi, ebx
cmp eax, ebx
sete sil
lea rdx, [0x100002300]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
je 0x10001538f
cmp esi, ebx
je 0x10001548f
mov rdx, rbp
mov rcx, qword [rsp + 0x68]
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
cmp dword [rsp + 0x74], edx
je 0x10001548d
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rdx
mov rcx, rbp
movzx eax, word [rbp]
cmp ax, dx
je 0x1000153fa
cmp ax, 0x5c
je 0x1000153f1
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
xor edx, edx
cmp ax, dx
jne 0x1000153d6
jmp 0x1000153fa
cmp rcx, rdx
jne 0x100015b2c
lea rbx, [0x100002360]
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10001544d
add rbx, 8
lea rax, [0x1000023c0]
cmp rbx, rax
jl 0x100015401
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov rdx, rbp
lea rcx, [rsp + 0xa0]
call fcn.100014e88
xor ebx, ebx
mov qword [rsp + 0xa0], rbx
jmp 0x10001544f
xor ebx, ebx
cmp esi, ebx
je 0x10001548b
mov rdx, rbp
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015b50
mov rdx, rbp
mov rcx, rsi
call fcn.100014de0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015b4b
jmp 0x1000157ac
jmp 0x10001548f
xor ebx, ebx
lea rdx, [0x1000022e8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x1000154c5
mov dword [rsp + 0x70], ebx
mov rdx, rbp
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
jmp 0x1000154cc
mov rsi, qword [rsp + 0x68]
jmp 0x1000154ce
xor ebx, ebx
lea rdx, [0x100002318]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x100015650
lea rdx, [rsp + 0x320]
mov rcx, rsi
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
mov rdx, rbp
mov rcx, rsi
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
cmp word [rbp], 0x3d
jne 0x100015bad
cmp dword [rsp + 0x74], edx
je 0x100015586
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xb8], rax
mov r9, rbp
lea r8, [rsp + 0x320]
lea rdx, [rsp + 0xb8]
mov rcx, rsi
call fcn.100014934
mov ebx, eax
xor edx, edx
mov qword [rsp + 0xb8], rdx
cmp eax, edx
jl 0x100015b55
jmp 0x1000157ac
cmp dword [rsp + 0x2380], edx
jne 0x100015634
cmp dword [rsp + 0x70], edx
je 0x100015634
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
cmp eax, ebx
jne 0x100015b9d
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rsi
lea rdx, [rsp + 0x320]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100015612
cmp eax, 2
jne 0x100015b71
cmp rsi, rbx
je 0x10001562f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0xd0], rbx
mov rsi, qword [rsp + 0x68]
jmp 0x100015634
mov rsi, qword [rsp + 0x68]
mov rdx, rbp
mov rcx, rsi
call fcn.100014de0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
jmp 0x100015b17
mov rcx, rbp
movzx eax, word [rbp]
cmp ax, bx
je 0x10001567e
cmp ax, 0x5c
je 0x100015675
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
cmp ax, bx
jne 0x10001565c
jmp 0x10001567e
cmp rcx, rbx
jne 0x100015bcc
cmp dword [rsp + 0x74], ebx
je 0x10001580e
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rbp
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x1000156e3
mov eax, ecx
cmp rdi, rcx
je 0x1000156d1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
cmp eax, ecx
je 0x10001576a
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x100015732
mov eax, ecx
cmp rdi, rcx
je 0x100015724
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
cmp eax, ecx
je 0x10001576a
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.10001474c
xor edi, edi
cmp eax, edi
jne 0x100015bf0
mov rdi, qword [rsp + 0x78]
mov rdx, rbp
mov rcx, rsi
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
cmp word [rbp], 0x3d
jne 0x1000157ac
mov r9, rbp
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.100014934
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015be9
mov rdi, qword [rsp + 0x78]
cmp word [rbp], 0x7b
jne 0x100015b17
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x100015b15
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1000152c0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
mov rdx, rbp
mov rcx, rsi
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
jmp 0x100015b17
mov ebx, dword [rsp + 0x2380]
xor eax, eax
cmp ebx, eax
jne 0x100015871
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x100015876
mov esi, eax
cmp rdi, rax
je 0x100015865
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
xor eax, eax
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
jmp 0x100015876
mov esi, 2
cmp esi, eax
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x2380], ebx
or r9, 0xffffffffffffffff
mov r8, rbp
mov edx, 0x104
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_wcsncpy_s
xor ecx, ecx
cmp eax, ecx
je 0x1000158ca
cmp eax, 0xc
je 0x100015c28
cmp eax, 0x16
je 0x100015c1d
cmp eax, 0x22
je 0x100015c1d
cmp eax, 0x50
jne 0x100015c12
mov rdx, rbp
mov rcx, qword [rsp + 0x68]
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
mov rdx, rbp
mov rcx, qword [rsp + 0x68]
call fcn.100014de0
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
cmp word [rbp], 0x7b
jne 0x100015965
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x100015963
mov eax, dword [rsp + 0x2380]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rbp
mov rcx, qword [rsp + 0x68]
call fcn.1000152c0
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x100015948
cmp dword [rsp + 0x2380], edx
je 0x100015c55
mov rdx, rbp
mov rcx, qword [rsp + 0x68]
call fcn.100015134
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x100015c55
jmp 0x100015965
xor edx, edx
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x2380], eax
cmp esi, 2
je 0x100015b17
cmp esi, edx
je 0x10001598d
cmp eax, edx
je 0x100015c33
jmp 0x100015b17
cmp eax, edx
je 0x100015a44
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, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
jne 0x100015a44
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
cmp eax, edx
je 0x100015a44
lea rsi, [0x100002360]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x100015b17
add rsi, 8
lea rax, [0x1000023c0]
cmp rsi, rax
jl 0x1000159f1
cmp dword [rsp + 0x70], edx
je 0x100015b17
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x78]
call fcn.100014e88
mov rdi, qword [rsp + 0x78]
xor edx, edx
jmp 0x100015b17
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, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
je 0x100015a90
mov esi, edx
jmp 0x100015a9a
mov esi, edx
cmp dword [rsp + 0x60], edx
seta sil
cmp rdi, rdx
je 0x100015aba
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rdi, rdx
mov qword [rsp + 0x78], rdx
cmp eax, edx
jne 0x100015c40
cmp dword [rsp + 0x70], edx
je 0x100015b17
cmp esi, edx
jne 0x100015b17
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xf8], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xe8]
call fcn.100015070
xor edx, edx
mov qword [rsp + 0xe8], rdx
cmp eax, edx
jne 0x100015c4a
jmp 0x100015b17
xor edx, edx
cmp word [rbp], 0x7d
je 0x100015c55
mov eax, 1
jmp 0x100015355
cmp rdi, rdx
je 0x100015b41
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x78], rax
mov eax, 0x80020009
jmp 0x100015c6c
jmp 0x100015c55
jmp 0x100015c55
cmp rdi, rdx
je 0x100015b6a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x78], rax
mov eax, ebx
jmp 0x100015c6c
mov ecx, eax
call fcn.100015120
mov ebx, eax
xor edx, edx
cmp rsi, rdx
je 0x100015c55
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rsp + 0xd0], rdx
jmp 0x100015c55
mov ecx, eax
call fcn.100015120
mov ebx, eax
xor edx, edx
jmp 0x100015c55
cmp rdi, rdx
je 0x100015bc2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x78], rax
mov eax, 0x80020009
jmp 0x100015c6c
cmp rdi, rbx
je 0x100015bdf
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rbx
mov eax, 0x80020009
jmp 0x100015c6c
mov rdi, qword [rsp + 0x78]
jmp 0x100015c55
mov ecx, eax
call fcn.100015120
mov ebx, eax
mov rcx, qword [rsp + 0x78]
cmp rcx, rdi
je 0x100015c0e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rdi
mov eax, ebx
jmp 0x100015c6c
mov ecx, 0x80004005
call fcn.100016990
int3
mov ecx, 0x80070057
call fcn.100016990
int3
mov ecx, 0x8007000e
call fcn.100016990
int3
mov ecx, esi
call fcn.100015120
mov ebx, eax
xor edx, edx
jmp 0x100015c55
mov ecx, eax
call fcn.100015120
nop
jmp 0x100015c6c
mov ecx, eax
call fcn.100015120
mov ebx, eax
xor edx, edx
cmp rdi, rdx
je 0x100015c6a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x78], rax
mov eax, ebx
mov rcx, qword [rsp + 0x2320]
xor rcx, rsp
call fcn.10007a3b0
add rsp, 0x2338
pop rdi
pop rsi
pop rbp
pop rbx
ret