Function at 0x140139ed0
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 - 0x2228]
mov eax, 0x2328
call fcn.14022c7f0
sub rsp, rax
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
xor esi, esi
mov r12d, esi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x80], rsi
call fcn.140139d20
mov ebx, eax
test eax, eax
js 0x14013ad04
cmp word [r15], 0x7d
je 0x14013ad04
nop dword [rax]
mov r13d, 1
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
lea rdx, str.ForceRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140139f84
test esi, esi
jne 0x14013a1fe
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x140139fac
sub edx, r13d
je 0x140139fac
sub edx, 3
je 0x140139fac
cmp edx, 0x13
jne 0x140139fba
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140139f90
xor eax, eax
cmp ax, cx
je 0x14013acfd
mov eax, 0x27
cmp ax, cx
jne 0x14013a0a0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edi, edi
cmp di, word [rax]
je 0x14013a07e
nop word [rax + rax]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x14013a00d
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x14013a07e
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x14013a029
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14013acfd
test edx, edx
jle 0x14013a070
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x14013a060
mov rax, qword [r14]
xor edi, edi
cmp di, word [rax]
jne 0x140139ff0
mov rax, qword [r14]
cmp di, word [rax]
je 0x14013acfd
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14013a112
movzx ecx, cx
sub ecx, 9
je 0x14013a10d
sub ecx, r13d
je 0x14013a10d
sub ecx, 3
je 0x14013a10d
cmp ecx, 0x13
je 0x14013a10d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14013acfd
test edx, edx
jle 0x14013a100
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x14013a0f0
mov rdi, qword [r14]
movzx ecx, word [rdi]
xor edx, edx
cmp dx, cx
jne 0x14013a0a0
xor edi, edi
mov word [rbx], di
cmp dword [rsp + 0x60], 0
je 0x14013a1fe
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x60], edi
mov qword [rbp - 0x58], rdi
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x14013a163
cmp ax, 0x5c
je 0x14013a15a
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14013a141
jmp 0x14013a163
test rcx, rcx
jne 0x14013ac60
lea rbx, [0x1402a88b0]
nop word [rax + rax]
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14013a1b9
add rbx, 8
lea rax, str.RegOpenKeyTransactedW
cmp rbx, rax
jl 0x14013a170
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x68], rdi
xor ebx, ebx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140139990
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
test esi, esi
jne 0x14013a1f7
mov rdx, r15
mov rcx, r14
call fcn.140139d20
mov ebx, eax
test eax, eax
js 0x14013ac6f
mov rdx, r15
mov rcx, r14
call fcn.1401397c0
mov ebx, eax
test eax, eax
js 0x14013ac6f
xor r13d, r13d
mov dword [rbp - 0x60], r13d
mov esi, dword [rsp + 0x60]
jmp 0x14013a98b
xor esi, esi
mov dword [rbp - 0x60], esi
jmp 0x14013a200
xor esi, esi
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14013a38f
mov r13d, esi
mov rbx, r15
nop
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14013a23c
sub edx, 1
je 0x14013a23c
sub edx, 3
je 0x14013a23c
cmp edx, 0x13
jne 0x14013a24a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14013a220
cmp si, cx
je 0x14013ac65
mov eax, 0x27
cmp ax, cx
jne 0x14013a320
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
cmp si, word [rax]
je 0x14013a2fd
mov edi, 0x27
cmp di, word [rax]
jne 0x14013a28e
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14013a2fd
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x14013a2aa
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14013ac65
test edx, edx
jle 0x14013a2f1
sub rdi, rbx
mov ecx, edx
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14013a2e0
mov rax, qword [r14]
cmp si, word [rax]
jne 0x14013a276
mov rax, qword [r14]
cmp si, word [rax]
je 0x14013ac65
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14013a38f
movzx ecx, cx
sub ecx, 9
je 0x14013a38c
sub ecx, 1
je 0x14013a38c
sub ecx, 3
je 0x14013a38c
cmp ecx, 0x13
je 0x14013a38c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14013ac65
test edx, edx
jle 0x14013a381
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14013a370
mov rdi, qword [r14]
movzx ecx, word [rdi]
cmp si, cx
jne 0x14013a320
mov word [rbx], si
lea rdx, [0x1402a8780]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14013a7b8
lea rbx, [rbp + 0x210]
nop
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14013a3cc
sub edx, 1
je 0x14013a3cc
sub edx, 3
je 0x14013a3cc
cmp edx, 0x13
jne 0x14013a3da
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14013a3b0
cmp si, cx
je 0x14013ac65
mov eax, 0x27
cmp ax, cx
jne 0x14013a4b4
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
cmp si, word [rax]
je 0x14013a49a
nop word [rax + rax]
mov rcx, qword [r14]
mov edi, 0x27
cmp di, word [rcx]
jne 0x14013a428
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14013a49a
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x14013a444
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], 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 + 0x2210]
cmp rax, r8
jae 0x14013ac65
test ecx, ecx
jle 0x14013a491
sub rdi, rbx
mov ecx, ecx
nop dword [rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14013a480
cmp si, word [rdx]
jne 0x14013a410
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x14013ac65
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14013a52f
movzx ecx, cx
sub ecx, 9
je 0x14013a52c
sub ecx, 1
je 0x14013a52c
sub ecx, 3
je 0x14013a52c
cmp ecx, 0x13
je 0x14013a52c
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 + 0x2210]
cmp rax, r8
jae 0x14013ac65
test ecx, ecx
jle 0x14013a521
sub rdi, rbx
mov ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14013a510
mov rdi, rdx
movzx ecx, word [rdx]
cmp si, cx
jne 0x14013a4b4
mov word [rbx], si
mov rbx, r15
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14013a54e
sub edx, 1
je 0x14013a54e
sub edx, 3
je 0x14013a54e
cmp edx, 0x13
jne 0x14013a55c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14013a532
cmp si, cx
je 0x14013ac65
mov eax, 0x27
cmp ax, cx
jne 0x14013a640
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
cmp si, word [rax]
je 0x14013a61d
nop dword [rax + rax]
mov edi, 0x27
cmp di, word [rax]
jne 0x14013a5a8
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14013a61d
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x14013a5c4
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14013ac65
test edx, edx
jle 0x14013a611
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14013a600
mov rax, qword [r14]
cmp si, word [rax]
jne 0x14013a590
mov rax, qword [r14]
cmp si, word [rax]
je 0x14013ac65
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14013a6af
movzx ecx, cx
sub ecx, 9
je 0x14013a6ac
sub ecx, 1
je 0x14013a6ac
sub ecx, 3
je 0x14013a6ac
cmp ecx, 0x13
je 0x14013a6ac
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14013ac65
test edx, edx
jle 0x14013a6a1
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14013a690
mov rdi, qword [r14]
movzx ecx, word [rdi]
cmp si, cx
jne 0x14013a640
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x14013ac65
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x14013a724
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
xor r13d, r13d
mov qword [rbp - 0x50], r13
mov dword [rbp - 0x48], r13d
mov qword [rbp - 0x40], r13
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x50], rdi
mov dword [rbp - 0x48], r13d
mov qword [rbp - 0x40], r13
mov r9, r15
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1401391b0
mov ebx, eax
mov qword [rbp - 0x50], r13
mov dword [rbp - 0x48], r13d
mov qword [rbp - 0x40], r13
test eax, eax
js 0x14013ac79
mov dword [rbp - 0x48], r13d
jmp 0x14013a98b
xor esi, esi
cmp dword [rbp + 0x2290], esi
jne 0x14013a79e
test r13d, r13d
je 0x14013a79e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
mov qword [rbp - 0x28], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140139880
test eax, eax
jne 0x14013aca3
lea rdx, [rbp + 0x210]
mov rdi, qword [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14013ac83
test rdi, rdi
je 0x14013a79b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
mov rdx, r15
mov rcx, r14
call fcn.1401397c0
mov ebx, eax
test eax, eax
js 0x14013ad04
jmp 0x14013ab04
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x14013a7e6
cmp ax, 0x5c
je 0x14013a7dd
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14013a7c4
jmp 0x14013a7e6
test rcx, rcx
jne 0x14013ac65
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x14013a9f1
mov r9d, 0x2001f
mov r8, r15
mov rdi, qword [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140139880
test eax, eax
je 0x14013a945
mov r9d, 0x20019
mov r8, r15
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140139880
test eax, eax
je 0x14013a945
xor r13d, r13d
mov qword [rbp - 0x78], r13
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14013a8cf
cmp qword [rbx], r13
je 0x14013a8c2
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14013acc4
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14013a8c8
mov qword [rsp + 0x50], r13
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
mov rax, r10
call qword [case.0x140038ca6.0]
jmp 0x14013a905
cmp dword [rbx + 8], r13d
jne 0x14013a8cf
mov eax, 1
jmp 0x14013a905
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14013a936
mov eax, r13d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013a921
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
mov r12, qword [rbp - 0x78]
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r13d
jmp 0x14013a93b
mov r12, qword [rsp + 0x70]
test eax, eax
jne 0x14013acce
jmp 0x14013a94d
mov r12, qword [rsp + 0x70]
xor r13d, r13d
mov rdx, r15
mov rcx, r14
call fcn.140139d20
mov ebx, eax
test eax, eax
js 0x14013ad02
cmp word [r15], 0x3d
jne 0x14013a98b
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1401391b0
mov ebx, eax
mov r12, qword [rsp + 0x70]
test eax, eax
js 0x14013ad02
cmp word [r15], 0x7b
jne 0x14013ab02
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x14013a9a0
cmp rax, 1
jne 0x14013ab02
mov dword [rsp + 0x20], r13d
mov r9d, esi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140139ed0
mov ebx, eax
test eax, eax
js 0x14013ad02
mov rdx, r15
mov rcx, r14
call fcn.140139d20
mov ebx, eax
xor esi, esi
test eax, eax
js 0x14013ad04
jmp 0x14013ab04
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x14013aa1c
mov r9d, 0x20019
mov r8, r15
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.140139880
mov edi, eax
mov r12, qword [rsp + 0x70]
jmp 0x14013aa21
mov edi, 2
mov esi, 1
test edi, edi
cmove esi, ebx
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp]
call fcn.140218f48
test eax, eax
je 0x14013aa6b
cmp eax, 0xc
je 0x14013ad40
cmp eax, 0x16
je 0x14013ad56
cmp eax, 0x22
je 0x14013ad56
cmp eax, 0x50
jne 0x14013ad4b
mov rdx, r15
mov rcx, r14
call fcn.140139d20
mov ebx, eax
test eax, eax
js 0x14013ad02
mov rdx, r15
mov rcx, r14
call fcn.1401397c0
mov ebx, eax
test eax, eax
js 0x14013ad02
cmp word [r15], 0x7b
jne 0x14013aaec
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x14013aaa3
cmp rax, 1
jne 0x14013aaec
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140139ed0
mov ebx, eax
test eax, eax
jns 0x14013aad7
test esi, esi
je 0x14013ad02
mov rdx, r15
mov rcx, r14
call fcn.140139d20
mov ebx, eax
test eax, eax
js 0x14013ad02
cmp edi, 2
je 0x14013ab02
test edi, edi
je 0x14013ab14
cmp dword [rbp + 0x2290], 0
je 0x14013acd9
xor esi, esi
cmp word [r15], 0x7d
jne 0x140139f50
jmp 0x14013ad04
cmp dword [rbp + 0x2290], 0
je 0x14013ab6b
mov rdx, r12
call fcn.140139b10
test eax, eax
je 0x14013ab6b
lea rdi, [0x1402a88b0]
mov rdx, qword [rdi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14013ab02
add rdi, 8
lea rax, str.RegOpenKeyTransactedW
cmp rdi, rax
jl 0x14013ab30
test r13d, r13d
je 0x14013ab02
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.140139990
mov r12, qword [rsp + 0x70]
jmp 0x14013ab02
mov rdx, r12
call fcn.140139b10
mov edi, eax
xor esi, esi
mov eax, esi
test r12, r12
je 0x14013ab8f
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, esi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
test eax, eax
jne 0x14013acf2
test r13d, r13d
je 0x14013ab04
test edi, edi
jne 0x14013ab04
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
cmp byte [0x140315cc8], al
jne 0x14013ac1e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14013ac0e
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140315cc0], rax
mov byte [0x140315cc8], 1
jmp 0x14013ac25
mov rax, qword [0x140315cc0]
mov byte [0x140315cc8], 1
jmp 0x14013ac25
mov rax, qword [0x140315cc0]
lea rdx, [rbp]
mov rcx, rdi
test rax, rax
je 0x14013ac3f
xor r9d, r9d
xor r8d, r8d
call qword [case.0x140038ca6.0]
jmp 0x14013ac45
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
test eax, eax
jne 0x14013ace4
mov dword [rbp - 0x18], esi
jmp 0x14013ab04
xor esi, esi
mov dword [rbp - 0x60], esi
mov ebx, 0x80020009
jmp 0x14013ad04
xor esi, esi
mov dword [rbp - 0x60], esi
jmp 0x14013ad04
xor esi, esi
mov dword [rbp - 0x48], esi
jmp 0x14013ad04
mov ecx, eax
call fcn.140139d10
mov ebx, eax
test rdi, rdi
je 0x14013acbf
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
jmp 0x14013ad04
mov ecx, eax
call fcn.140139d10
mov ebx, eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14013acbf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
jmp 0x14013ad04
mov eax, 1
mov r12, qword [rsp + 0x70]
mov ecx, eax
call fcn.140139d10
mov ebx, eax
jmp 0x14013ad02
mov ecx, edi
call fcn.140139d10
mov ebx, eax
jmp 0x14013ad02
mov ecx, eax
call fcn.140139d10
mov ebx, eax
mov dword [rbp - 0x18], esi
jmp 0x14013ad04
mov ecx, eax
call fcn.140139d10
mov ebx, eax
jmp 0x14013ad04
mov ebx, 0x80020009
xor esi, esi
test r12, r12
je 0x14013ad17
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x2328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140019300
int3
mov ecx, 0x80004005
call fcn.140019300
int3
mov ecx, 0x80070057
call fcn.140019300
int3