Function at 0x140015bf0
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 - 0x2218]
mov eax, 0x2318
call fcn.14001e8e0
sub rsp, rax
mov rax, qword [0x1400720d8]
xor rax, rsp
mov qword [rbp + 0x2200], rax
mov dword [rbp - 0x7c], r9d
mov qword [rsp + 0x60], r8
mov r15, rdx
mov r14, rcx
xor esi, esi
mov r13d, esi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x78], rsi
call fcn.140014d00
mov ebx, eax
test eax, eax
js 0x140016a60
lfence
cmp word [r15], 0x7d
je 0x140016a5b
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
nop dword [rax]
mov dword [rbp - 0x80], 1
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, [0x1400544e0]
mov rcx, r15
call qword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x140015ca9
test esi, esi
je 0x140015f06
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x140015cdc
cmp ax, 0xa
jbe 0x140015cce
cmp ax, 0xd
je 0x140015cce
cmp ax, 0x20
jne 0x140015cdc
mov rcx, rdi
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140015cb0
xor ecx, ecx
cmp cx, ax
je 0x140016c5a
mov edx, SafeArrayAllocDescriptorEx
cmp dx, ax
jne 0x140015dd2
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 0x140015db3
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140015d33
mov rcx, r8
call qword [sym.imp.user32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x140015db3
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140015d4f
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 0x140016c5a
test edx, edx
jle 0x140015da4
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140015d90
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140015d12
mov rax, qword [r14]
cmp di, word [rax]
je 0x140016c5a
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
xor ecx, ecx
jmp 0x140015e46
cmp ax, 0x20
ja 0x140015de8
movabs rdx, 0x100002600
bt rdx, rax
jb 0x140015e43
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 0x140016c5a
test edx, edx
jle 0x140015e35
sub rdi, rbx
mov ecx, edx
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140015e21
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x140015dd2
mov word [rbx], cx
mov edi, dword [rbp - 0x7c]
test edi, edi
je 0x140015f06
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x38], ecx
mov qword [rbp - 0x30], rcx
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140015e8a
cmp ax, 0x5c
je 0x140015e81
call qword [sym.imp.user32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140015e68
jmp 0x140015e8a
test rcx, rcx
jne 0x140016c5a
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x140015ece
add rbx, 8
lea rax, [0x1400579f0]
cmp rbx, rax
jl 0x140015e91
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x40], rax
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140015370
mov qword [rbp - 0x40], 0
test esi, esi
je 0x140015f06
mov rdx, r15
mov rcx, r14
call fcn.140014d00
mov ebx, eax
test eax, eax
js 0x140016a60
lfence
mov rdx, r15
mov rcx, r14
call fcn.140016ca0
mov ebx, eax
test eax, eax
js 0x140016a5b
xor esi, esi
jmp 0x140016806
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x1400160d7
xor esi, esi
mov dword [rbp - 0x80], esi
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x140015f5c
cmp ax, 0xa
jbe 0x140015f4e
cmp ax, 0xd
je 0x140015f4e
cmp ax, 0x20
jne 0x140015f5c
mov rcx, rdi
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140015f30
xor ecx, ecx
cmp cx, ax
je 0x140016c5a
mov edx, SafeArrayAllocDescriptorEx
cmp dx, ax
jne 0x140016053
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 0x140016033
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140015fb3
mov rcx, r8
call qword [sym.imp.user32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x140016033
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140015fcf
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 0x140016c5a
test edx, edx
jle 0x140016024
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016010
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140015f92
mov rax, qword [r14]
cmp di, word [rax]
je 0x140016c5a
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400160da
cmp ax, 0x20
ja 0x140016069
movabs rdx, 0x100002600
bt rdx, rax
jb 0x1400160d2
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 0x140016c5a
test edx, edx
jle 0x1400160c4
sub rdi, rbx
mov ecx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400160b0
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x140016053
mov word [rbx], cx
jmp 0x1400160da
mov esi, dword [rbp - 0x80]
lea rdx, [0x1400544d8]
mov rcx, r15
call qword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x140016502
lea rbx, [rbp + 0x200]
nop dword [rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x14001612c
cmp ax, 0xa
jbe 0x14001611e
cmp ax, 0xd
je 0x14001611e
cmp ax, 0x20
jne 0x14001612c
mov rcx, rdi
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016100
xor ecx, ecx
cmp cx, ax
je 0x140016c5a
mov edx, SafeArrayAllocDescriptorEx
cmp dx, ax
jne 0x140016220
mov rcx, rdi
call qword [sym.imp.user32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x1400161ff
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140016183
mov rcx, rdx
call qword [sym.imp.user32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x1400161ff
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x14001619f
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 + 0x2200]
cmp rax, r8
jae 0x140016c5a
test ecx, ecx
jle 0x1400161f1
sub rdi, rbx
mov ecx, ecx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400161e0
movzx eax, word [rdx]
xor edi, edi
cmp di, ax
jne 0x140016162
mov rcx, qword [r14]
cmp di, word [rcx]
je 0x140016c5a
mov word [rbx], di
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016292
cmp ax, 0x20
ja 0x140016236
movabs rdx, 0x100002600
bt rdx, rax
jb 0x14001628f
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 + 0x2200]
cmp rcx, rax
jae 0x140016c5a
test edx, edx
jle 0x140016281
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016270
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x140016220
mov word [rbx], cx
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x1400162cc
cmp ax, 0xa
jbe 0x1400162be
cmp ax, 0xd
je 0x1400162be
cmp ax, 0x20
jne 0x1400162cc
mov rcx, rdi
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400162a0
xor ecx, ecx
cmp cx, ax
je 0x140016c5a
mov edx, SafeArrayAllocDescriptorEx
cmp dx, ax
jne 0x1400163c2
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 0x1400163a3
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140016323
mov rcx, r8
call qword [sym.imp.user32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x1400163a3
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x14001633f
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 0x140016c5a
test edx, edx
jle 0x140016394
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016380
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140016302
mov rax, qword [r14]
cmp di, word [rax]
je 0x140016c5a
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.user32.dll_CharNextW]
mov qword [r14], rax
xor ecx, ecx
jmp 0x140016436
cmp ax, 0x20
ja 0x1400163d8
movabs rdx, 0x100002600
bt rdx, rax
jb 0x140016433
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 0x140016c5a
test edx, edx
jle 0x140016425
sub rdi, rbx
mov ecx, edx
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016411
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x1400163c2
mov word [rbx], cx
cmp word [r15], 0x3d
jne 0x140016c5a
mov edi, dword [rbp - 0x7c]
test edi, edi
je 0x140016483
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x28], rax
xor esi, esi
mov dword [rbp - 0x20], esi
mov qword [rbp - 0x18], rsi
mov r9, r15
lea r8, [rbp + 0x200]
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.140013900
mov ebx, eax
mov qword [rbp - 0x28], rsi
test eax, eax
js 0x140016a60
jmp 0x140016810
cmp dword [rbp + 0x2280], 0
jne 0x1400164e8
test esi, esi
je 0x1400164e8
mov qword [rbp - 0x48], rcx
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140016c69
mov rdi, qword [rbp - 0x48]
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140016c3a
test rdi, rdi
je 0x1400164e8
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.140016ca0
mov ebx, eax
test eax, eax
js 0x140016a60
jmp 0x140016872
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140016532
nop
cmp ax, 0x5c
je 0x140016529
call qword [sym.imp.user32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140016510
jmp 0x140016532
test rcx, rcx
jne 0x140016c5a
mov edi, dword [rbp - 0x7c]
test edi, edi
je 0x140016884
xor esi, esi
mov qword [rbp - 0x68], rsi
test r12, r12
je 0x1400165bd
cmp qword [r12], rsi
je 0x1400165af
lea rcx, str.Advapi32.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140016606
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400165b6
mov qword [rsp + 0x30], rsi
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x60]
mov rax, r10
call qword [case.0x140027396.0]
jmp 0x1400165dd
cmp dword [r12 + 8], esi
jne 0x1400165bd
mov eax, 1
jmp 0x1400165dd
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140016606
mov eax, esi
test r13, r13
je 0x1400165f1
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov r13, qword [rbp - 0x68]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], esi
test eax, eax
je 0x1400167ca
mov qword [rbp - 0x60], rsi
test r12, r12
je 0x140016684
cmp qword [r12], rsi
je 0x140016676
lea rcx, str.Advapi32.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400166cd
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14001667d
mov qword [rsp + 0x30], rsi
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x60]
mov rax, r10
call qword [case.0x140027396.0]
jmp 0x1400166a4
cmp dword [r12 + 8], esi
jne 0x140016684
mov eax, 1
jmp 0x1400166a4
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400166cd
mov eax, esi
test r13, r13
je 0x1400166b8
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov r13, qword [rbp - 0x60]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], esi
test eax, eax
je 0x1400167ca
mov qword [rbp - 0x58], rsi
test r12, r12
je 0x140016766
cmp qword [r12], rsi
je 0x140016758
lea rcx, str.Advapi32.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140016c64
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14001675f
mov qword [rsp + 0x50], rsi
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x58]
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 + 0x60]
mov rax, r10
call qword [case.0x140027396.0]
jmp 0x14001679d
cmp dword [r12 + 8], esi
jne 0x140016766
mov eax, 1
jmp 0x14001679d
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x58]
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 + 0x60]
call qword [sym.imp.advapi32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140016c69
mov eax, esi
test r13, r13
je 0x1400167b5
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov r13, qword [rbp - 0x58]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], esi
test eax, eax
jne 0x140016c69
mov rdx, r15
mov rcx, r14
call fcn.140014d00
mov ebx, eax
test eax, eax
js 0x140016a60
cmp word [r15], 0x3d
jne 0x140016810
lfence
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140013900
mov ebx, eax
test eax, eax
js 0x140016a5b
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x78]
cmp word [r15], 0x7b
jne 0x140016872
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r15 + rax*2], 0
jne 0x140016820
cmp rax, 1
jne 0x140016872
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.140015bf0
mov ebx, eax
test eax, eax
js 0x140016a60
lfence
mov rdx, r15
mov rcx, r14
call fcn.140014d00
mov ebx, eax
test eax, eax
js 0x140016a5b
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
xor esi, esi
cmp word [r15], 0x7d
je 0x140016a60
jmp 0x140015c70
cmp dword [rbp + 0x2280], 0
jne 0x14001695c
xor ebx, ebx
mov qword [rbp - 0x50], rbx
test r12, r12
je 0x140016915
cmp qword [r12], rbx
je 0x140016907
lea rcx, str.Advapi32.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400168bc
lea edi, [rbx + 1]
jmp 0x140016961
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14001690e
mov qword [rsp + 0x30], rbx
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x60]
mov rax, r10
call qword [case.0x140027396.0]
jmp 0x140016935
cmp dword [r12 + 8], ebx
jne 0x140016915
mov edi, 1
jmp 0x140016937
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x140016961
mov edi, ebx
test r13, r13
je 0x14001694d
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov edi, eax
mov r13, qword [rbp - 0x50]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], ebx
jmp 0x140016961
mov edi, 2
mov esi, 1
test edi, edi
mov r12d, dword [rbp + 0x2280]
cmove esi, r12d
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.140043e58
test eax, eax
je 0x1400169b3
cmp eax, 0xc
je 0x140016c82
cmp eax, 0x16
je 0x140016c77
cmp eax, 0x22
je 0x140016c77
cmp eax, 0x50
jne 0x140016c8d
mov rdx, r15
mov rcx, r14
call fcn.140014d00
mov ebx, eax
test eax, eax
js 0x140016a60
lfence
mov rdx, r15
mov rcx, r14
call fcn.140016ca0
mov ebx, eax
test eax, eax
js 0x140016a5b
cmp word [r15], 0x7b
jne 0x140016a3c
lfence
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x1400169f0
cmp rax, 1
jne 0x140016a3c
lfence
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r13, qword [rsp + 0x68]
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.140015bf0
mov ebx, eax
test eax, eax
jns 0x140016a28
test esi, esi
je 0x140016a60
lfence
mov rdx, r15
mov rcx, r14
call fcn.140014d00
mov ebx, eax
test eax, eax
js 0x140016a5b
cmp edi, 2
je 0x140016868
test edi, edi
je 0x140016a93
test r12d, r12d
jne 0x140016868
mov ecx, edi
call fcn.1400140b0
mov ebx, eax
mov r13, qword [rsp + 0x68]
test r13, r13
je 0x140016a6e
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2200]
xor rcx, rsp
call fcn.14001df60
add rsp, 0x2318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r13, qword [rsp + 0x68]
xor esi, esi
test r12d, r12d
je 0x140016b3e
mov dword [rbp - 0x74], 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, [rbp - 0x74]
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 0x140016b3e
cmp dword [rbp - 0x74], esi
jbe 0x140016b3e
lea rdi, str.AppID
mov rdx, qword [rdi]
lea rcx, [rbp - 0x10]
call qword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x140016c30
add rdi, 8
lea rax, [0x1400579f0]
cmp rdi, rax
jl 0x140016af3
cmp dword [rbp - 0x80], esi
je 0x140016c30
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140015370
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
jmp 0x140016874
mov dword [rbp - 0x70], 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, [rbp - 0x70]
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 0x140016b8b
cmp dword [rbp - 0x70], eax
seta dil
mov eax, esi
test r13, r13
je 0x140016ba3
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov r13, rsi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
test eax, eax
jne 0x140016c69
cmp dword [rbp - 0x80], eax
je 0x140016c30
test edi, edi
jne 0x140016c30
cmp byte [0x140075088], dil
jne 0x140016c03
lea rcx, str.Advapi32.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140016bf3
lea rdx, [0x140057870]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x140075080], rax
mov byte [0x140075088], 1
jmp 0x140016c0a
mov rax, qword [0x140075080]
mov byte [0x140075088], 1
jmp 0x140016c0a
mov rax, qword [0x140075080]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x60]
test rax, rax
je 0x140016c26
xor r9d, r9d
xor r8d, r8d
call qword [case.0x140027396.0]
jmp 0x140016c2c
call qword [sym.imp.advapi32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140016c69
mov r12, qword [rsp + 0x78]
jmp 0x140016874
mov ecx, eax
call fcn.1400140b0
mov ebx, eax
test rdi, rdi
je 0x140016a60
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x140016a60
mov ebx, 0x80020009
jmp 0x140016a60
mov eax, 1
mov ecx, eax
call fcn.1400140b0
mov ebx, eax
jmp 0x140016a60
mov ecx, 0x80070057
call fcn.14000bd70
int3
mov ecx, 0x8007000e
call fcn.14000bd70
int3
mov ecx, 0x80004005
call fcn.14000bd70
int3