Function at 0x140016cb0
Capabilities:
Delete registry key
Delete registry value
Link many functions at runtime

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.14001f470
sub rsp, rax
mov rax, qword [0x14004a0e8]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rbp - 0x74], r9d
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xor edi, edi
mov r13d, edi
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], edi
mov qword [rbp - 0x80], rdi
call fcn.140015e30
mov ebx, eax
test eax, eax
js 0x140017ae0
lfence
cmp word [r15], 0x7d
je 0x140017adb
mov r12, qword [rbp - 0x80]
mov r13, qword [rsp + 0x70]
nop word [rax + rax]
mov dword [rbp - 0x78], 1
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
lea rdx, [0x140036fc0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140016d65
test esi, esi
jne 0x140016fbc
mov rbx, r15
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x140016d8c
sub edx, 1
je 0x140016d8c
sub edx, 3
je 0x140016d8c
cmp edx, 0x13
jne 0x140016d9a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016d70
xor edx, edx
cmp dx, cx
je 0x140017cc3
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140016e80
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edi, edi
cmp di, word [rax]
je 0x140016e5f
nop word [rax + rax]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x140016ded
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x140016e5f
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140016e09
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 0x140017cc3
test edx, edx
jle 0x140016e51
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016e40
mov rax, qword [r14]
xor edi, edi
cmp di, word [rax]
jne 0x140016dd0
mov rax, qword [r14]
cmp di, word [rax]
je 0x140017cc3
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edx, edx
jmp 0x140016ef1
movzx ecx, cx
sub ecx, 9
je 0x140016eee
sub ecx, 1
je 0x140016eee
sub ecx, 3
je 0x140016eee
cmp ecx, 0x13
je 0x140016eee
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 0x140017cc3
test edx, edx
jle 0x140016ee1
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016ed0
mov rdi, qword [r14]
movzx ecx, word [rdi]
xor edx, edx
cmp dx, cx
jne 0x140016e80
mov word [rbx], dx
mov edi, dword [rbp - 0x74]
test edi, edi
je 0x140016fba
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140016f35
cmp ax, 0x5c
je 0x140016f2c
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140016f13
jmp 0x140016f35
test rcx, rcx
jne 0x140017cc3
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 0x140016f82
add rbx, 8
lea rax, [0x140038130]
cmp rbx, rax
jl 0x140016f40
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
xor ebx, ebx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140016450
mov qword [rbp - 0x68], rbx
test esi, esi
jne 0x140016fba
mov rdx, r15
mov rcx, r14
call fcn.140015e30
mov ebx, eax
test eax, eax
js 0x140017ae0
lfence
mov rdx, r15
mov rcx, r14
call fcn.140017d30
mov ebx, eax
test eax, eax
js 0x140017adb
xor esi, esi
jmp 0x140017882
xor edi, edi
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140017166
mov esi, edi
mov dword [rbp - 0x78], edi
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x140016ffc
sub edx, 1
je 0x140016ffc
sub edx, 3
je 0x140016ffc
cmp edx, 0x13
jne 0x14001700a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016fe0
xor r8d, r8d
cmp r8w, cx
je 0x140017cc3
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x1400170f0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edi, edi
cmp di, word [rax]
je 0x1400170cf
nop dword [rax]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x14001705d
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x1400170cf
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140017079
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 0x140017cc3
test edx, edx
jle 0x1400170c1
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400170b0
mov rax, qword [r14]
xor edi, edi
cmp di, word [rax]
jne 0x140017040
mov rax, qword [r14]
cmp di, word [rax]
je 0x140017cc3
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017169
movzx ecx, cx
sub ecx, 9
je 0x140017160
sub ecx, 1
je 0x140017160
sub ecx, 3
je 0x140017160
cmp ecx, 0x13
je 0x140017160
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 0x140017cc3
test edx, edx
jle 0x140017151
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140017140
mov rdi, qword [r14]
movzx ecx, word [rdi]
xor r8d, r8d
cmp r8w, cx
jne 0x1400170f0
mov word [rbx], r8w
jmp 0x140017169
mov esi, dword [rbp - 0x78]
lea rdx, [0x140036fb8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140017573
lea rbx, [rbp + 0x1c0]
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x1400171ac
sub edx, 1
je 0x1400171ac
sub edx, 3
je 0x1400171ac
cmp edx, 0x13
jne 0x1400171ba
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017190
xor r8d, r8d
cmp r8w, cx
je 0x140017cc3
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140017296
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edi, edi
cmp di, word [rax]
je 0x14001727c
nop dword [rax]
mov rcx, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rcx]
jne 0x14001720f
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x14001727c
mov eax, ecx
mov rdi, qword [r14]
cmp ax, word [rdi]
jne 0x140017226
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 + 0x21c0]
cmp rax, r8
jae 0x140017cc3
test ecx, ecx
jle 0x140017271
sub rdi, rbx
mov ecx, ecx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140017260
xor edi, edi
cmp di, word [rdx]
jne 0x1400171f0
mov rcx, qword [r14]
cmp di, word [rcx]
je 0x140017cc3
mov word [rbx], di
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017314
movzx ecx, cx
sub ecx, 9
je 0x140017310
sub ecx, 1
je 0x140017310
sub ecx, 3
je 0x140017310
cmp ecx, 0x13
je 0x140017310
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 0x140017cc3
test ecx, ecx
jle 0x140017301
sub rdi, rbx
mov ecx, ecx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400172f0
mov rdi, rdx
movzx ecx, word [rdx]
xor r8d, r8d
cmp r8w, cx
jne 0x140017296
mov word [rbx], r8w
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14001733c
sub edx, 1
je 0x14001733c
sub edx, 3
je 0x14001733c
cmp edx, 0x13
jne 0x14001734a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140017320
xor r8d, r8d
cmp r8w, cx
je 0x140017cc3
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140017430
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edi, edi
cmp di, word [rax]
je 0x14001740f
nop dword [rax]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x14001739d
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x14001740f
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x1400173b9
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 0x140017cc3
test edx, edx
jle 0x140017401
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400173f0
mov rax, qword [r14]
xor edi, edi
cmp di, word [rax]
jne 0x140017380
mov rax, qword [r14]
cmp di, word [rax]
je 0x140017cc3
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor r8d, r8d
jmp 0x1400174a4
movzx ecx, cx
sub ecx, 9
je 0x1400174a0
sub ecx, 1
je 0x1400174a0
sub ecx, 3
je 0x1400174a0
cmp ecx, 0x13
je 0x1400174a0
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 0x140017cc3
test edx, edx
jle 0x140017491
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140017480
mov rdi, qword [r14]
movzx ecx, word [rdi]
xor r8d, r8d
cmp r8w, cx
jne 0x140017430
mov word [rbx], r8w
cmp word [r15], 0x3d
jne 0x140017cc3
mov edi, dword [rbp - 0x74]
test edi, edi
je 0x1400174f1
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
xor esi, esi
mov dword [rbp - 0x60], esi
mov qword [rbp - 0x58], rsi
mov r9, r15
lea r8, [rbp + 0x1c0]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.1400148e0
mov ebx, eax
mov qword [rbp - 0x68], rsi
test eax, eax
js 0x140017ae0
jmp 0x14001788b
cmp dword [rbp + 0x2240], 0
jne 0x140017559
test esi, esi
je 0x140017559
mov qword [rsp + 0x60], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017cf2
mov rdi, qword [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140017ccd
test rdi, rdi
je 0x140017559
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.140017d30
mov ebx, eax
test eax, eax
js 0x140017ae0
jmp 0x1400178f1
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x1400175a2
nop
cmp ax, 0x5c
je 0x140017599
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140017580
jmp 0x1400175a2
test rcx, rcx
jne 0x140017cc3
mov edi, dword [rbp - 0x74]
test edi, edi
je 0x140017903
xor esi, esi
mov qword [rsp + 0x60], rsi
test r12, r12
je 0x14001762f
cmp qword [r12], rsi
je 0x140017621
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001767a
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140017628
mov qword [rsp + 0x30], rsi
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
mov rax, r10
call qword [0x140036608]
jmp 0x140017650
cmp dword [r12 + 8], esi
jne 0x14001762f
mov eax, 1
jmp 0x140017650
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001767a
mov eax, esi
test r13, r13
je 0x140017664
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], esi
test eax, eax
je 0x140017846
mov qword [rsp + 0x60], rsi
test r12, r12
je 0x1400176fa
cmp qword [r12], rsi
je 0x1400176ec
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017745
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400176f3
mov qword [rsp + 0x30], rsi
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
mov rax, r10
call qword [0x140036608]
jmp 0x14001771b
cmp dword [r12 + 8], esi
jne 0x1400176fa
mov eax, 1
jmp 0x14001771b
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017745
mov eax, esi
test r13, r13
je 0x14001772f
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], esi
test eax, eax
je 0x140017846
mov qword [rsp + 0x60], rsi
test r12, r12
je 0x1400177e0
cmp qword [r12], rsi
je 0x1400177d2
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017ced
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400177d9
mov qword [rsp + 0x50], rsi
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
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, qword [rsp + 0x68]
mov rax, r10
call qword [0x140036608]
jmp 0x140017818
cmp dword [r12 + 8], esi
jne 0x1400177e0
mov eax, 1
jmp 0x140017818
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
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, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140017cf2
mov eax, esi
test r13, r13
je 0x140017830
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], esi
test eax, eax
jne 0x140017cf2
mov rdx, r15
mov rcx, r14
call fcn.140015e30
mov ebx, eax
test eax, eax
js 0x140017ae0
cmp word [r15], 0x3d
jne 0x14001788b
lfence
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400148e0
mov ebx, eax
test eax, eax
js 0x140017adb
mov r13, qword [rsp + 0x70]
mov r12, qword [rbp - 0x80]
cmp word [r15], 0x7b
jne 0x1400178f1
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x1400178a0
cmp rax, 1
jne 0x1400178f1
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x140017ae0
lfence
mov rdx, r15
mov rcx, r14
call fcn.140015e30
mov ebx, eax
test eax, eax
js 0x140017adb
mov r13, qword [rsp + 0x70]
mov r12, qword [rbp - 0x80]
cmp word [r15], 0x7d
je 0x140017ae0
xor edi, edi
jmp 0x140016d30
cmp dword [rbp + 0x2240], 0
jne 0x1400179df
xor ebx, ebx
mov qword [rsp + 0x60], rbx
test r12, r12
je 0x140017996
cmp qword [r12], rbx
je 0x140017988
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14001793c
lea edi, [rbx + 1]
jmp 0x1400179e4
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14001798f
mov qword [rsp + 0x30], rbx
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
mov rax, r10
call qword [0x140036608]
jmp 0x1400179b7
cmp dword [r12 + 8], ebx
jne 0x140017996
mov edi, 1
jmp 0x1400179b9
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x1400179e4
mov edi, ebx
test r13, r13
je 0x1400179cf
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], ebx
jmp 0x1400179e4
mov edi, 2
mov esi, 1
test edi, edi
mov r12d, dword [rbp + 0x2240]
cmove esi, r12d
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.140028368
test eax, eax
je 0x140017a36
cmp eax, 0xc
je 0x140017d0b
cmp eax, 0x16
je 0x140017d00
cmp eax, 0x22
je 0x140017d00
cmp eax, 0x50
jne 0x140017d16
mov rdx, r15
mov rcx, r14
call fcn.140015e30
mov ebx, eax
test eax, eax
js 0x140017ae0
lfence
mov rdx, r15
mov rcx, r14
call fcn.140017d30
mov ebx, eax
test eax, eax
js 0x140017adb
cmp word [r15], 0x7b
jne 0x140017abc
lfence
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x140017a70
cmp rax, 1
jne 0x140017abc
lfence
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r13, qword [rsp + 0x70]
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.140016cb0
mov ebx, eax
test eax, eax
jns 0x140017aa8
test esi, esi
je 0x140017ae0
lfence
mov rdx, r15
mov rcx, r14
call fcn.140015e30
mov ebx, eax
test eax, eax
js 0x140017adb
cmp edi, 2
je 0x1400178e8
test edi, edi
je 0x140017b13
test r12d, r12d
jne 0x1400178e8
mov ecx, edi
call fcn.140015050
mov ebx, eax
mov r13, qword [rsp + 0x70]
test r13, r13
je 0x140017aee
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.14001ec80
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r13, qword [rsp + 0x70]
xor esi, esi
test r12d, r12d
je 0x140017bc1
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140017bc1
mov eax, esi
cmp dword [rsp + 0x60], eax
seta al
test eax, eax
je 0x140017bc1
lea rdi, str.AppID
nop dword [rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400178ed
add rdi, 8
lea rax, [0x140038130]
cmp rdi, rax
jl 0x140017b80
cmp dword [rbp - 0x78], esi
je 0x1400178ed
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140016450
jmp 0x1400178e8
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, esi
test eax, eax
jne 0x140017c11
cmp dword [rsp + 0x60], eax
seta dil
mov eax, esi
test r13, r13
je 0x140017c29
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, rsi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
test eax, eax
jne 0x140017cf2
cmp dword [rbp - 0x78], eax
je 0x1400178ed
test edi, edi
jne 0x1400178ed
cmp byte [0x14004bbb8], dil
jne 0x140017c91
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017c81
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bbb0], rax
mov byte [0x14004bbb8], 1
jmp 0x140017c98
mov rax, qword [0x14004bbb0]
mov byte [0x14004bbb8], 1
jmp 0x140017c98
mov rax, qword [0x14004bbb0]
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x140017cb4
xor r9d, r9d
xor r8d, r8d
call qword [0x140036608]
jmp 0x140017cba
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140017cf2
jmp 0x1400178ed
mov ebx, 0x80020009
jmp 0x140017ae0
mov ecx, eax
call fcn.140015050
mov ebx, eax
test rdi, rdi
je 0x140017ae0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140017ae0
mov eax, 1
mov ecx, eax
call fcn.140015050
mov ebx, eax
jmp 0x140017ae0
mov ecx, 0x80070057
call fcn.140004100
int3
mov ecx, 0x8007000e
call fcn.140004100
int3
mov ecx, 0x80004005
call fcn.140004100
int3