Function at 0x140017440
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 - 0x2208]
mov eax, 0x2308
call fcn.140032ac0
sub rsp, rax
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor esi, esi
mov r12d, esi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x80], rsi
call fcn.1400164f0
mov ebx, eax
test eax, eax
js 0x1400181b9
cmp word [r15], 0x7d
je 0x1400181b9
mov r13d, 1
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400174ef
test esi, esi
je 0x140017760
mov rbx, r15
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14001750e
sub edx, r13d
je 0x14001750e
sub edx, 3
je 0x14001750e
cmp edx, 0x13
jne 0x14001751c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400174f2
xor edx, edx
cmp dx, cx
je 0x1400181b4
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140017614
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 0x1400175f2
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140017573
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x1400175f2
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x14001758f
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 0x1400181b4
test edx, edx
jle 0x1400175e3
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x1400175d0
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140017552
mov rax, qword [r14]
cmp di, word [rax]
je 0x1400181b4
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edx, edx
jmp 0x14001769c
movzx ecx, cx
sub ecx, 9
je 0x140017699
sub ecx, r13d
je 0x140017699
sub ecx, 3
je 0x140017699
cmp ecx, 0x13
je 0x140017699
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 0x1400181b4
test edx, edx
jle 0x140017683
sub rdi, rbx
mov ecx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x140017670
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor edx, edx
cmp dx, ax
je 0x140017699
movzx ecx, ax
jmp 0x140017614
mov word [rbx], dx
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x140017760
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x68], rdx
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x1400176e6
cmp ax, 0x5c
je 0x1400176dd
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400176c4
jmp 0x1400176e6
test rcx, rcx
jne 0x1400181b4
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 0x14001772d
add rbx, 8
lea rax, [0x14003a790]
cmp rbx, rax
jl 0x1400176f0
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x78], rax
mov rdx, r15
lea rcx, [rbp - 0x78]
call fcn.140016c00
mov qword [rbp - 0x78], 0
test esi, esi
je 0x140017760
mov rdx, r15
mov rcx, r14
call fcn.1400164f0
mov ebx, eax
test eax, eax
js 0x1400181b9
mov rdx, r15
mov rcx, r14
call fcn.140018210
mov ebx, eax
test eax, eax
js 0x1400181b9
jmp 0x140017ecc
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140017909
mov r13d, esi
mov rbx, r15
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14001779c
sub edx, 1
je 0x14001779c
sub edx, 3
je 0x14001779c
cmp edx, 0x13
jne 0x1400177aa
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017780
cmp si, cx
je 0x1400181b4
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140017891
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 0x140017871
nop dword [rax]
mov edi, SafeArrayAllocDescriptorEx
cmp di, ax
jne 0x1400177f8
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x140017871
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140017814
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 0x1400181b4
test edx, edx
jle 0x140017864
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 0x140017850
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x1400177e0
mov rax, qword [r14]
cmp si, word [rax]
je 0x1400181b4
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017909
movzx ecx, cx
sub ecx, 9
je 0x140017906
sub ecx, 1
je 0x140017906
sub ecx, 3
je 0x140017906
cmp ecx, 0x13
je 0x140017906
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 0x1400181b4
test edx, edx
jle 0x1400178f5
sub rdi, rbx
mov ecx, edx
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400178e1
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
je 0x140017906
movzx ecx, ax
jmp 0x140017891
mov word [rbx], si
lea rdx, [0x14003a6e8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140017d0c
lea rbx, [rbp + 0x1f0]
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14001794c
sub edx, 1
je 0x14001794c
sub edx, 3
je 0x14001794c
cmp edx, 0x13
jne 0x14001795a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017930
cmp si, cx
je 0x1400181b4
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140017a37
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 0x140017a1d
nop dword [rax]
mov edi, SafeArrayAllocDescriptorEx
cmp di, ax
jne 0x1400179a8
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x140017a1d
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x1400179c4
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 + 0x21f0]
cmp rax, r8
jae 0x1400181b4
test ecx, ecx
jle 0x140017a11
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 0x140017a00
movzx eax, word [rdx]
cmp si, ax
jne 0x140017990
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x1400181b4
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017ab5
movzx ecx, cx
sub ecx, 9
je 0x140017ab2
sub ecx, 1
je 0x140017ab2
sub ecx, 3
je 0x140017ab2
cmp ecx, 0x13
je 0x140017ab2
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 + 0x21f0]
cmp rcx, rax
jae 0x1400181b4
test edx, edx
jle 0x140017aa1
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 0x140017a90
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
je 0x140017ab2
movzx ecx, ax
jmp 0x140017a37
mov word [rbx], si
mov rbx, r15
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x140017adc
sub edx, 1
je 0x140017adc
sub edx, 3
je 0x140017adc
cmp edx, 0x13
jne 0x140017aea
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017ac0
cmp si, cx
je 0x1400181b4
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140017bd0
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 0x140017bb1
nop dword [rax]
mov edi, SafeArrayAllocDescriptorEx
cmp di, ax
jne 0x140017b38
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x140017bb1
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140017b54
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 0x1400181b4
test edx, edx
jle 0x140017ba4
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 0x140017b90
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x140017b20
mov rax, qword [r14]
cmp si, word [rax]
je 0x1400181b4
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017c48
movzx ecx, cx
sub ecx, 9
je 0x140017c45
sub ecx, 1
je 0x140017c45
sub ecx, 3
je 0x140017c45
cmp ecx, 0x13
je 0x140017c45
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 0x1400181b4
test edx, edx
jle 0x140017c34
sub rdi, rbx
mov ecx, edx
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140017c20
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
je 0x140017c45
movzx ecx, ax
jmp 0x140017bd0
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x1400181b4
cmp dword [rsp + 0x60], 0
je 0x140017c92
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x60], rdi
mov dword [rbp - 0x58], esi
mov qword [rbp - 0x50], rsi
mov r9, r15
lea r8, [rbp + 0x1f0]
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140015100
mov ebx, eax
mov qword [rbp - 0x60], rsi
jmp 0x140017ec0
cmp dword [rbp + 0x2270], 0
jne 0x140017cfc
test r13d, r13d
je 0x140017cfc
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400166c0
test eax, eax
jne 0x14001817a
lea rdx, [rbp + 0x1f0]
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140018161
test rdi, rdi
je 0x140017cfc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.140018210
jmp 0x1400174a2
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140017d3a
cmp ax, 0x5c
je 0x140017d31
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140017d18
jmp 0x140017d3a
test rcx, rcx
jne 0x1400181b4
cmp dword [rsp + 0x60], 0
je 0x140017f21
mov r9d, 0x2001f
mov r8, r15
mov rdi, qword [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400166c0
test eax, eax
je 0x140017e85
mov r9d, 0x20019
mov r8, r15
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400166c0
test eax, eax
je 0x140017e85
mov qword [rbp - 0x30], rsi
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140017e1f
cmp qword [rbx], 0
je 0x140017e12
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018194
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140017e18
mov qword [rsp + 0x50], rsi
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
mov rax, r10
call qword [case.0x140025198.0]
jmp 0x140017e54
cmp dword [rbx + 8], 0
jne 0x140017e1f
mov eax, 1
jmp 0x140017e54
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140018199
mov eax, esi
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140017e6e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rbp - 0x30]
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], esi
test eax, eax
jne 0x14001819e
jmp 0x140017e8a
mov r12, qword [rsp + 0x70]
mov rdx, r15
mov rcx, r14
call fcn.1400164f0
mov ebx, eax
test eax, eax
js 0x1400181b9
cmp word [r15], 0x3d
jne 0x140017ec8
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140015100
mov ebx, eax
mov r12, qword [rsp + 0x70]
test eax, eax
js 0x1400181b9
mov edi, dword [rsp + 0x60]
cmp word [r15], 0x7b
jne 0x140018033
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r15 + rax*2], 0
jne 0x140017ee0
xor esi, esi
cmp rax, 1
jne 0x1400174ac
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140017440
mov ebx, eax
test eax, eax
js 0x1400181b9
mov rdx, r15
mov rcx, r14
jmp 0x14001749d
mov ebx, dword [rbp + 0x2270]
test ebx, ebx
jne 0x140017f4c
mov r9d, 0x20019
mov r8, r15
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.1400166c0
mov edi, eax
mov r12, qword [rsp + 0x70]
jmp 0x140017f51
mov edi, 2
mov esi, 1
test edi, edi
cmove esi, ebx
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test eax, eax
je 0x140017f9c
cmp eax, 0xc
je 0x1400181ec
cmp eax, 0x16
je 0x140018202
cmp eax, 0x22
je 0x140018202
cmp eax, 0x50
jne 0x1400181f7
mov rdx, r15
mov rcx, r14
call fcn.1400164f0
mov ebx, eax
test eax, eax
js 0x1400181b9
mov rdx, r15
mov rcx, r14
call fcn.140018210
mov ebx, eax
test eax, eax
js 0x1400181b9
cmp word [r15], 0x7b
jne 0x14001801d
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x140017fd4
cmp rax, 1
jne 0x14001801d
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140017440
mov ebx, eax
test eax, eax
jns 0x140018008
test esi, esi
je 0x1400181b9
mov rdx, r15
mov rcx, r14
call fcn.1400164f0
mov ebx, eax
test eax, eax
js 0x1400181b9
cmp edi, 2
je 0x140018033
test edi, edi
je 0x14001803a
cmp dword [rbp + 0x2270], 0
je 0x1400181a9
xor esi, esi
jmp 0x1400174ac
cmp dword [rbp + 0x2270], 0
je 0x1400180a0
mov rdx, r12
mov rcx, r14
call fcn.140016260
test eax, eax
je 0x1400180a0
lea rdi, str.AppID
nop dword [rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140018033
add rdi, 8
lea rax, [0x14003a790]
cmp rdi, rax
jl 0x140018060
test r13d, r13d
je 0x140018033
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.140016c00
mov r12, qword [rsp + 0x70]
xor esi, esi
jmp 0x1400174ac
mov rdx, r12
mov rcx, r14
call fcn.140016260
mov edi, eax
xor esi, esi
mov eax, esi
test r12, r12
je 0x1400180c7
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 0x14001819e
test r13d, r13d
je 0x1400174ac
test edi, edi
jne 0x1400174ac
cmp byte [0x14006c5f8], sil
jne 0x14001812f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001811f
lea rdx, [0x14003a6a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006c5f0], rax
mov byte [0x14006c5f8], 1
jmp 0x140018136
mov rax, qword [0x14006c5f0]
mov byte [0x14006c5f8], 1
jmp 0x140018136
mov rax, qword [0x14006c5f0]
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x140018152
xor r9d, r9d
xor r8d, r8d
call qword [case.0x140025198.0]
jmp 0x140018158
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14001819e
jmp 0x1400174ac
mov ecx, eax
call fcn.140015890
mov ebx, eax
test rdi, rdi
je 0x1400181b9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400181b9
mov ecx, eax
call fcn.140015890
mov ebx, eax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400181b9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400181b9
mov eax, 1
mov r12, qword [rsp + 0x70]
mov ecx, eax
call fcn.140015890
mov ebx, eax
jmp 0x1400181b9
mov ecx, edi
call fcn.140015890
mov ebx, eax
jmp 0x1400181b9
mov ebx, 0x80020009
test r12, r12
je 0x1400181c7
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.140032650
add rsp, 0x2308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400158a0
int3
mov ecx, 0x80004005
call fcn.1400158a0
int3
mov ecx, 0x80070057
call fcn.1400158a0
int3