Function at 0x140016550
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.14001efc0
sub rsp, rax
mov rax, qword [0x1400490e8]
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.140015660
mov ebx, eax
test eax, eax
js 0x140017420
lfence
cmp word [r15], 0x7d
je 0x14001741b
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, str.ForceRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140016609
test esi, esi
je 0x140016885
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14001662c
sub edx, 1
je 0x14001662c
sub edx, 3
je 0x14001662c
cmp edx, 0x13
jne 0x14001663a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016610
xor edx, edx
cmp dx, cx
je 0x14001761a
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140016735
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 0x140016713
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140016691
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x140016713
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x1400166ad
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 0x14001761a
test edx, edx
jle 0x140016704
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400166f0
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140016670
mov rax, qword [r14]
cmp di, word [rax]
je 0x14001761a
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edx, edx
jmp 0x1400167bd
movzx ecx, cx
sub ecx, 9
je 0x1400167ba
sub ecx, 1
je 0x1400167ba
sub ecx, 3
je 0x1400167ba
cmp ecx, 0x13
je 0x1400167ba
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 0x14001761a
test edx, edx
jle 0x1400167a4
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016790
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor edx, edx
cmp dx, ax
je 0x1400167ba
movzx ecx, ax
jmp 0x140016735
mov word [rbx], dx
mov edi, dword [rbp - 0x7c]
test edi, edi
je 0x140016885
mov qword [rbp - 0x40], rdx
mov dword [rbp - 0x38], edx
mov qword [rbp - 0x30], rdx
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140016802
nop
cmp ax, 0x5c
je 0x1400167f9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400167e0
jmp 0x140016802
test rcx, rcx
jne 0x14001761a
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 0x14001684d
add rbx, 8
lea rax, [0x140036fc0]
cmp rbx, rax
jl 0x140016810
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x40], rax
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140015cb0
mov qword [rbp - 0x40], 0
test esi, esi
je 0x140016885
mov rdx, r15
mov rcx, r14
call fcn.140015660
mov ebx, eax
test eax, eax
js 0x140017420
lfence
mov rdx, r15
mov rcx, r14
call fcn.140017660
mov ebx, eax
test eax, eax
js 0x14001741b
xor esi, esi
jmp 0x1400171be
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140016a62
xor esi, esi
mov dword [rbp - 0x80], esi
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x1400168cc
sub edx, 1
je 0x1400168cc
sub edx, 3
je 0x1400168cc
cmp edx, 0x13
jne 0x1400168da
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400168b0
xor r8d, r8d
cmp r8w, cx
je 0x14001761a
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x1400169d3
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 0x1400169b3
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140016933
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x1400169b3
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x14001694f
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 0x14001761a
test edx, edx
jle 0x1400169a4
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 0x140016990
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140016912
mov rax, qword [r14]
cmp di, word [rax]
je 0x14001761a
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016a65
movzx ecx, cx
sub ecx, 9
je 0x140016a5c
sub ecx, 1
je 0x140016a5c
sub ecx, 3
je 0x140016a5c
cmp ecx, 0x13
je 0x140016a5c
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 0x14001761a
test edx, edx
jle 0x140016a44
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016a30
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor r8d, r8d
cmp r8w, ax
je 0x140016a5c
movzx ecx, ax
jmp 0x1400169d3
mov word [rbx], r8w
jmp 0x140016a65
mov esi, dword [rbp - 0x80]
lea rdx, [0x140035f48]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140016ebc
lea rbx, [rbp + 0x200]
nop dword [rax]
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x140016aac
sub edx, 1
je 0x140016aac
sub edx, 3
je 0x140016aac
cmp edx, 0x13
jne 0x140016aba
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016a90
xor r8d, r8d
cmp r8w, cx
je 0x14001761a
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140016bb0
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 0x140016b8f
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140016b13
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x140016b8f
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140016b2f
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 0x14001761a
test ecx, ecx
jle 0x140016b81
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 0x140016b70
movzx eax, word [rdx]
xor edi, edi
cmp di, ax
jne 0x140016af2
mov rcx, qword [r14]
cmp di, word [rcx]
je 0x14001761a
mov word [rbx], di
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016c2a
movzx ecx, cx
sub ecx, 9
je 0x140016c26
sub ecx, 1
je 0x140016c26
sub ecx, 3
je 0x140016c26
cmp ecx, 0x13
je 0x140016c26
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 0x14001761a
test edx, edx
jle 0x140016c11
sub rdi, rbx
mov ecx, edx
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140016c00
movzx eax, word [r8]
mov rdi, r8
xor r8d, r8d
cmp r8w, ax
je 0x140016c26
movzx ecx, ax
jmp 0x140016bb0
mov word [rbx], r8w
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x140016c4c
sub edx, 1
je 0x140016c4c
sub edx, 3
je 0x140016c4c
cmp edx, 0x13
jne 0x140016c5a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140016c30
xor r8d, r8d
cmp r8w, cx
je 0x14001761a
mov eax, SafeArrayAllocDescriptorEx
cmp ax, cx
jne 0x140016d60
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 0x140016d33
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, ax
jne 0x140016cb3
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, SafeArrayAllocDescriptorEx
cmp cx, word [rax]
jne 0x140016d33
mov rdi, qword [r14]
mov eax, SafeArrayAllocDescriptorEx
cmp ax, word [rdi]
jne 0x140016ccf
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 0x14001761a
test edx, edx
jle 0x140016d24
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 0x140016d10
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140016c92
mov rax, qword [r14]
cmp di, word [rax]
je 0x14001761a
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor r8d, r8d
jmp 0x140016df0
movzx ecx, cx
sub ecx, 9
je 0x140016dec
sub ecx, 1
je 0x140016dec
sub ecx, 3
je 0x140016dec
cmp ecx, 0x13
je 0x140016dec
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 0x14001761a
test edx, edx
jle 0x140016dd4
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, 1
jne 0x140016dc0
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor r8d, r8d
cmp r8w, ax
je 0x140016dec
movzx ecx, ax
jmp 0x140016d60
mov word [rbx], r8w
cmp word [r15], 0x3d
jne 0x14001761a
mov edi, dword [rbp - 0x7c]
test edi, edi
je 0x140016e3d
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.140014250
mov ebx, eax
mov qword [rbp - 0x28], rsi
test eax, eax
js 0x140017420
jmp 0x1400171c8
cmp dword [rbp + 0x2280], 0
jne 0x140016ea2
test esi, esi
je 0x140016ea2
mov qword [rbp - 0x48], r8
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 0x140017629
mov rdi, qword [rbp - 0x48]
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1400175fa
test rdi, rdi
je 0x140016ea2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.140017660
mov ebx, eax
test eax, eax
js 0x140017420
jmp 0x140017232
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140016eea
cmp ax, 0x5c
je 0x140016ee1
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140016ec8
jmp 0x140016eea
test rcx, rcx
jne 0x14001761a
mov edi, dword [rbp - 0x7c]
test edi, edi
je 0x140017244
xor esi, esi
mov qword [rbp - 0x68], rsi
test r12, r12
je 0x140016f75
cmp qword [r12], rsi
je 0x140016f67
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016fbe
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140016f6e
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 [0x1400355d8]
jmp 0x140016f95
cmp dword [r12 + 8], esi
jne 0x140016f75
mov eax, 1
jmp 0x140016f95
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 0x140016fbe
mov eax, esi
test r13, r13
je 0x140016fa9
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 0x140017182
mov qword [rbp - 0x60], rsi
test r12, r12
je 0x14001703c
cmp qword [r12], rsi
je 0x14001702e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017085
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140017035
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 [0x1400355d8]
jmp 0x14001705c
cmp dword [r12 + 8], esi
jne 0x14001703c
mov eax, 1
jmp 0x14001705c
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 0x140017085
mov eax, esi
test r13, r13
je 0x140017070
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 0x140017182
mov qword [rbp - 0x58], rsi
test r12, r12
je 0x14001711e
cmp qword [r12], rsi
je 0x140017110
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017624
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140017117
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 [0x1400355d8]
jmp 0x140017155
cmp dword [r12 + 8], esi
jne 0x14001711e
mov eax, 1
jmp 0x140017155
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 0x140017629
mov eax, esi
test r13, r13
je 0x14001716d
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 0x140017629
mov rdx, r15
mov rcx, r14
call fcn.140015660
mov ebx, eax
test eax, eax
js 0x140017420
cmp word [r15], 0x3d
jne 0x1400171c8
lfence
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140014250
mov ebx, eax
test eax, eax
js 0x14001741b
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x78]
cmp word [r15], 0x7b
jne 0x140017232
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x1400171e0
cmp rax, 1
jne 0x140017232
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.140016550
mov ebx, eax
test eax, eax
js 0x140017420
lfence
mov rdx, r15
mov rcx, r14
call fcn.140015660
mov ebx, eax
test eax, eax
js 0x14001741b
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
xor esi, esi
cmp word [r15], 0x7d
je 0x140017420
jmp 0x1400165d0
cmp dword [rbp + 0x2280], 0
jne 0x14001731c
xor ebx, ebx
mov qword [rbp - 0x50], rbx
test r12, r12
je 0x1400172d5
cmp qword [r12], rbx
je 0x1400172c7
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14001727c
lea edi, [rbx + 1]
jmp 0x140017321
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400172ce
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 [0x1400355d8]
jmp 0x1400172f5
cmp dword [r12 + 8], ebx
jne 0x1400172d5
mov edi, 1
jmp 0x1400172f7
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 0x140017321
mov edi, ebx
test r13, r13
je 0x14001730d
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 0x140017321
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.140027b38
test eax, eax
je 0x140017373
cmp eax, 0xc
je 0x140017642
cmp eax, 0x16
je 0x140017637
cmp eax, 0x22
je 0x140017637
cmp eax, 0x50
jne 0x14001764d
mov rdx, r15
mov rcx, r14
call fcn.140015660
mov ebx, eax
test eax, eax
js 0x140017420
lfence
mov rdx, r15
mov rcx, r14
call fcn.140017660
mov ebx, eax
test eax, eax
js 0x14001741b
cmp word [r15], 0x7b
jne 0x1400173fc
lfence
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x1400173b0
cmp rax, 1
jne 0x1400173fc
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.140016550
mov ebx, eax
test eax, eax
jns 0x1400173e8
test esi, esi
je 0x140017420
lfence
mov rdx, r15
mov rcx, r14
call fcn.140015660
mov ebx, eax
test eax, eax
js 0x14001741b
cmp edi, 2
je 0x140017228
test edi, edi
je 0x140017453
test r12d, r12d
jne 0x140017228
mov ecx, edi
call fcn.140014a10
mov ebx, eax
mov r13, qword [rsp + 0x68]
test r13, r13
je 0x14001742e
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2200]
xor rcx, rsp
call fcn.14001e640
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 0x1400174fe
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 0x1400174fe
cmp dword [rbp - 0x74], esi
jbe 0x1400174fe
lea rdi, str.AppID
mov rdx, qword [rdi]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400175f0
add rdi, 8
lea rax, [0x140036fc0]
cmp rdi, rax
jl 0x1400174b3
cmp dword [rbp - 0x80], esi
je 0x1400175f0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140015cb0
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
jmp 0x140017234
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 0x14001754b
cmp dword [rbp - 0x70], eax
seta dil
mov eax, esi
test r13, r13
je 0x140017563
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 0x140017629
cmp dword [rbp - 0x80], eax
je 0x1400175f0
test edi, edi
jne 0x1400175f0
cmp byte [0x14004ac38], dil
jne 0x1400175c3
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400175b3
lea rdx, [0x140036ea8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004ac30], rax
mov byte [0x14004ac38], 1
jmp 0x1400175ca
mov rax, qword [0x14004ac30]
mov byte [0x14004ac38], 1
jmp 0x1400175ca
mov rax, qword [0x14004ac30]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x60]
test rax, rax
je 0x1400175e6
xor r9d, r9d
xor r8d, r8d
call qword [0x1400355d8]
jmp 0x1400175ec
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140017629
mov r12, qword [rsp + 0x78]
jmp 0x140017234
mov ecx, eax
call fcn.140014a10
mov ebx, eax
test rdi, rdi
je 0x140017420
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140017420
mov ebx, 0x80020009
jmp 0x140017420
mov eax, 1
mov ecx, eax
call fcn.140014a10
mov ebx, eax
jmp 0x140017420
mov ecx, 0x80070057
call fcn.14000d140
int3
mov ecx, 0x8007000e
call fcn.14000d140
int3
mov ecx, 0x80004005
call fcn.14000d140
int3