Function at 0x140067f00
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.1400b5dc0
sub rsp, rax
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xor esi, esi
mov r12d, esi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov qword [rbp - 0x78], rsi
call fcn.140060310
mov ebx, eax
test eax, eax
js 0x140068e86
cmp word [r15], 0x7d
je 0x140068e86
mov r13d, 1
lea rdx, [0x1400fe0e0]
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 0x140067fa6
test esi, esi
je 0x1400681f3
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x140067fcc
sub edx, r13d
je 0x140067fcc
sub edx, 3
je 0x140067fcc
cmp edx, 0x13
jne 0x140067fda
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140067fb0
xor edx, edx
cmp dx, cx
je 0x140068e81
mov eax, 0x27
cmp ax, cx
jne 0x1400680c0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x1400680a1
mov edx, 0x27
cmp dx, ax
jne 0x14006802a
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x1400680a1
mov rcx, qword [r14]
mov eax, 0x27
cmp ax, word [rcx]
jne 0x140068040
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 0x140068e81
test edx, edx
jle 0x140068090
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 0x140068080
mov rcx, qword [r14]
movzx eax, word [rcx]
xor edi, edi
cmp di, ax
jne 0x140068010
mov rax, qword [r14]
cmp di, word [rax]
je 0x140068e81
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edx, edx
jmp 0x140068130
movzx ecx, cx
sub ecx, 9
je 0x14006812d
sub ecx, r13d
je 0x14006812d
sub ecx, 3
je 0x14006812d
cmp ecx, 0x13
je 0x14006812d
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 0x140068e81
test edx, edx
jle 0x140068120
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 0x140068110
mov rdi, qword [r14]
movzx ecx, word [rdi]
xor edx, edx
cmp dx, cx
jne 0x1400680c0
mov word [rbx], dx
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x1400681f3
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 0x140068175
cmp ax, 0x5c
je 0x14006816c
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140068153
jmp 0x140068175
test rcx, rcx
jne 0x140068e81
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 0x1400681be
add rbx, 8
lea rax, [0x140100430]
cmp rbx, rax
jl 0x140068180
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
xor eax, eax
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x58], rax
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140067680
test esi, esi
je 0x1400681f3
mov rdx, r15
mov rcx, r14
call fcn.140060310
mov ebx, eax
test eax, eax
js 0x140068e86
mov rdx, r15
mov rcx, r14
call fcn.140069050
mov ebx, eax
test eax, eax
js 0x140068e86
xor esi, esi
jmp 0x140068a5a
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x14006837f
mov r13d, esi
mov rbx, r15
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14006822f
sub edx, 1
je 0x14006822f
sub edx, 3
je 0x14006822f
cmp edx, 0x13
jne 0x14006823d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140068213
cmp si, cx
je 0x140068e81
mov eax, 0x27
cmp ax, cx
jne 0x140068310
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x1400682ec
nop
mov edi, 0x27
cmp di, ax
jne 0x140068285
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x1400682ec
mov rcx, qword [r14]
cmp di, word [rcx]
jne 0x140068296
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 0x140068e81
test edx, edx
jle 0x1400682e1
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400682d0
mov rcx, qword [r14]
movzx eax, word [rcx]
cmp si, ax
jne 0x140068270
mov rax, qword [r14]
cmp si, word [rax]
je 0x140068e81
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14006837f
movzx ecx, cx
sub ecx, 9
je 0x14006837c
sub ecx, 1
je 0x14006837c
sub ecx, 3
je 0x14006837c
cmp ecx, 0x13
je 0x14006837c
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 0x140068e81
test edx, edx
jle 0x140068371
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 0x140068360
mov rdi, qword [r14]
movzx ecx, word [rdi]
cmp si, cx
jne 0x140068310
mov word [rbx], si
lea rdx, [0x140100390]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140068750
lea rbx, [rbp + 0x1c0]
nop
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x1400683bc
sub edx, 1
je 0x1400683bc
sub edx, 3
je 0x1400683bc
cmp edx, 0x13
jne 0x1400683ca
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400683a0
cmp si, cx
je 0x140068e81
mov eax, 0x27
cmp ax, cx
jne 0x1400684a7
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 0x14006848d
nop dword [rax]
mov edi, 0x27
cmp di, ax
jne 0x140068418
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14006848d
mov rcx, qword [r14]
cmp di, word [rcx]
jne 0x140068429
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 0x140068e81
test ecx, ecx
jle 0x140068481
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 0x140068470
movzx eax, word [rdx]
cmp si, ax
jne 0x140068400
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x140068e81
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140068520
movzx ecx, cx
sub ecx, 9
je 0x14006851d
sub ecx, 1
je 0x14006851d
sub ecx, 3
je 0x14006851d
cmp ecx, 0x13
je 0x14006851d
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 + 0x21c0]
cmp rcx, rax
jae 0x140068e81
test edx, edx
jle 0x140068511
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 0x140068500
mov rdi, r8
movzx ecx, word [r8]
cmp si, cx
jne 0x1400684a7
mov word [rbx], si
mov rbx, r15
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14006853f
sub edx, 1
je 0x14006853f
sub edx, 3
je 0x14006853f
cmp edx, 0x13
jne 0x14006854d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140068523
cmp si, cx
je 0x140068e81
mov eax, 0x27
cmp ax, cx
jne 0x140068620
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x1400685fc
nop
mov edi, 0x27
cmp di, ax
jne 0x140068595
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x1400685fc
mov rcx, qword [r14]
cmp di, word [rcx]
jne 0x1400685a6
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 0x140068e81
test edx, edx
jle 0x1400685f1
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400685e0
mov rcx, qword [r14]
movzx eax, word [rcx]
cmp si, ax
jne 0x140068580
mov rax, qword [r14]
cmp si, word [rax]
je 0x140068e81
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14006868f
movzx ecx, cx
sub ecx, 9
je 0x14006868c
sub ecx, 1
je 0x14006868c
sub ecx, 3
je 0x14006868c
cmp ecx, 0x13
je 0x14006868c
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 0x140068e81
test edx, edx
jle 0x140068681
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 0x140068670
mov rdi, qword [r14]
movzx ecx, word [rdi]
cmp si, cx
jne 0x140068620
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x140068e81
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x1400686cf
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
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.14005da80
mov ebx, eax
jmp 0x140068a52
cmp dword [rbp + 0x2240], 0
jne 0x140068734
test r13d, r13d
je 0x140068734
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x60], esi
mov qword [rbp - 0x58], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x68]
call fcn.140064c70
test eax, eax
jne 0x140068e67
lea rdx, [rbp + 0x1c0]
mov rdi, qword [rbp - 0x68]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140068e4e
test rdi, rdi
je 0x140068734
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.140069050
mov ebx, eax
test eax, eax
js 0x140068e86
xor esi, esi
jmp 0x140067f63
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140068782
nop dword [rax]
cmp ax, 0x5c
je 0x140068779
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140068760
jmp 0x140068782
test rcx, rcx
jne 0x140068e81
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x140068ab4
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140068810
cmp qword [rbx], 0
je 0x140068803
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400687be
mov eax, 1
jmp 0x140068852
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140068809
mov qword [rsp + 0x30], rsi
mov rax, qword [rbx]
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]
call r10
jmp 0x140068831
cmp dword [rbx + 8], 0
jne 0x140068810
mov eax, 1
jmp 0x140068831
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 0x140068852
mov eax, esi
test r12, r12
je 0x140068845
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x140068a1c
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x1400688d8
cmp qword [rbx], 0
je 0x1400688cb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140068886
mov eax, 1
jmp 0x14006891a
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400688d1
mov qword [rsp + 0x30], rsi
mov rax, qword [rbx]
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]
call r10
jmp 0x1400688f9
cmp dword [rbx + 8], 0
jne 0x1400688d8
mov eax, 1
jmp 0x1400688f9
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 0x14006891a
mov eax, esi
test r12, r12
je 0x14006890d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x140068a1c
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x1400689bb
cmp qword [rbx], 0
je 0x1400689ae
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140068952
mov eax, 1
jmp 0x140068a14
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400689b4
mov qword [rsp + 0x50], rsi
mov rax, qword [rbx]
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]
call r10
jmp 0x1400689f3
cmp dword [rbx + 8], 0
jne 0x1400689bb
mov eax, 1
jmp 0x1400689f3
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 0x140068a14
mov eax, esi
test r12, r12
je 0x140068a07
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
jne 0x140068e43
mov rdx, r15
mov rcx, r14
call fcn.140060310
mov ebx, eax
test eax, eax
js 0x140068e86
cmp word [r15], 0x3d
jne 0x140068a5a
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.14005da80
mov ebx, eax
mov r12, qword [rsp + 0x78]
test eax, eax
js 0x140068e86
cmp word [r15], 0x7b
jne 0x140068749
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x140068a70
cmp rax, 1
jne 0x140068749
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140067f00
mov ebx, eax
test eax, eax
js 0x140068e86
mov rdx, r15
mov rcx, r14
call fcn.140060310
jmp 0x14006873f
mov eax, dword [rbp + 0x2240]
test eax, eax
jne 0x140068b90
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140068b42
cmp qword [rbx], 0
je 0x140068b35
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140068af0
lea edi, [rax + 1]
jmp 0x140068b88
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140068b3b
mov qword [rsp + 0x30], rsi
mov rax, qword [rbx]
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]
call r10
jmp 0x140068b63
cmp dword [rbx + 8], 0
jne 0x140068b42
mov edi, 1
jmp 0x140068b65
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 0x140068b88
mov edi, esi
test r12, r12
je 0x140068b7b
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
mov eax, dword [rbp + 0x2240]
jmp 0x140068b95
mov edi, 2
mov esi, 1
test edi, edi
cmove esi, eax
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.1400bed38
test eax, eax
je 0x140068bdf
cmp eax, 0xc
je 0x140068eb9
cmp eax, 0x16
je 0x140068ecf
cmp eax, 0x22
je 0x140068ecf
cmp eax, 0x50
jne 0x140068ec4
mov rdx, r15
mov rcx, r14
call fcn.140060310
mov ebx, eax
test eax, eax
js 0x140068e86
mov rdx, r15
mov rcx, r14
call fcn.140069050
mov ebx, eax
test eax, eax
js 0x140068e86
cmp word [r15], 0x7b
jne 0x140068c69
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x140068c20
cmp rax, 1
jne 0x140068c69
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140067f00
mov ebx, eax
test eax, eax
jns 0x140068c54
test esi, esi
je 0x140068e86
mov rdx, r15
mov rcx, r14
call fcn.140060310
mov ebx, eax
test eax, eax
js 0x140068e86
cmp edi, 2
je 0x140068749
test edi, edi
je 0x140068c91
cmp dword [rbp + 0x2240], 0
jne 0x140068749
mov ecx, edi
call fcn.14005e1d0
mov ebx, eax
jmp 0x140068e86
xor esi, esi
cmp dword [rbp + 0x2240], esi
je 0x140068d46
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, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140068d46
mov eax, esi
cmp dword [rsp + 0x60], eax
seta al
test eax, eax
je 0x140068d46
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 0x140067f63
add rdi, 8
lea rax, [0x140100430]
cmp rdi, rax
jl 0x140068d00
test r13d, r13d
je 0x140067f63
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.140067680
mov r12, qword [rsp + 0x78]
jmp 0x140067f63
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, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, esi
test eax, eax
jne 0x140068d96
cmp dword [rsp + 0x60], eax
seta dil
mov eax, esi
test r12, r12
je 0x140068dae
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, rsi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
test eax, eax
jne 0x140068e43
test r13d, r13d
je 0x140067f63
test edi, edi
jne 0x140067f63
cmp byte [0x1401427f0], dil
jne 0x140068e15
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140068e05
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401427e8], rax
mov byte [0x1401427f0], 1
jmp 0x140068e1c
mov rax, qword [0x1401427e8]
mov byte [0x1401427f0], 1
jmp 0x140068e1c
mov rax, qword [0x1401427e8]
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x140068e34
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x140068e3b
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test eax, eax
je 0x140067f63
mov ecx, eax
call fcn.14005e1d0
mov ebx, eax
jmp 0x140068e86
mov ecx, eax
call fcn.14005e1d0
mov ebx, eax
test rdi, rdi
je 0x140068e86
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140068e86
mov ecx, eax
call fcn.14005e1d0
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140068e86
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140068e86
mov ebx, 0x80020009
test r12, r12
je 0x140068e94
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1400b5660
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140008df0
int3
mov ecx, 0x80004005
call fcn.140008df0
int3
mov ecx, 0x80070057
call fcn.140008df0
int3