Function at 0x180007d10
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov qword [rbp], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x180030048]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor edi, edi
mov dword [rsp + 0x30], edi
lea rsi, vtable.CCfgOPBaseT_int_.0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rdi
mov dword [rbp - 0x48], edi
mov qword [rbp - 0x40], rdi
call fcn.1800029b0
mov rcx, rax
test rax, rax
je 0x1800084b3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdx, [0x180022c08]
mov r14, 0xffffffffffffffff
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180007da0
mov r8d, eax
lea rcx, [rbp - 0x38]
call fcn.180004be0
lea rcx, [rbp - 0x58]
call fcn.180003b80
nop
lea rax, vtable.CCfgShell.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x30]
call fcn.1800011a0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.18000abd0
call fcn.180007550
test eax, eax
je 0x180007dfb
lea rcx, str.CZipContextMenu_Start
call fcn.1800076b0
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.isps
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180007e49
cmp dword [rsp + 0x44], 4
jne 0x180007e49
cmp dword [rsp + 0x34], eax
jne 0x1800083ee
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x180007e8b
lea rdx, str.SmallTreesPDF.exe
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1800083ee
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x48], 8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.StartTime
mov rbx, qword [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180007eda
cmp dword [rsp + 0x4c], 0xb
jne 0x180007eda
mov rcx, qword [rsp + 0x68]
jmp 0x180007ee2
mov rcx, rdi
mov qword [rsp + 0x68], rcx
call fcn.1800075e0
test eax, eax
je 0x180008033
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x50], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.NoLoopTime
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180007f3b
cmp dword [rsp + 0x54], 0xb
jne 0x180007f3b
mov rcx, qword [rsp + 0x70]
jmp 0x180007f43
mov rcx, rdi
mov qword [rsp + 0x70], rcx
call fcn.1800075e0
test eax, eax
je 0x180007f6a
call fcn.180007550
test eax, eax
je 0x1800083ee
lea rcx, str.No_Loop
call fcn.1800076b0
jmp 0x1800083ee
call fcn.180007550
xor r8d, r8d
lea rdx, str.StartTime
mov rcx, rbx
test eax, eax
je 0x180007fdb
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x58], 8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180007fbe
cmp dword [rsp + 0x5c], 0xb
jne 0x180007fbe
mov rbx, qword [rsp + 0x78]
jmp 0x180007fc6
mov rbx, rdi
mov qword [rsp + 0x78], rbx
xor ecx, ecx
call fcn.180011a40
sub rax, rbx
cmp rax, 0x3c
jge 0x180008033
jmp 0x1800083ee
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x60], 8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180008016
cmp dword [rsp + 0x64], 0xb
jne 0x180008016
mov rbx, qword [rbp - 0x80]
jmp 0x18000801d
mov rbx, rdi
mov qword [rbp - 0x80], rbx
xor ecx, ecx
call fcn.180011a40
sub rax, rbx
cmp rax, 0xe10
jl 0x1800083ee
mov ebx, 1
mov r8d, ebx
lea edx, [rbx + 1]
lea rcx, [rsp + 0x38]
call fcn.180006880
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800083ce
call fcn.1800029b0
mov rcx, rax
test rax, rax
je 0x1800084be
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 3]
lea rdx, str._startby_d
lea rcx, [rbp - 0x78]
call fcn.180001fa0
nop
mov rdi, qword [rbp - 0x78]
lea r12, [rdi - 0x18]
mov rcx, qword [r12]
test rcx, rcx
je 0x1800080b3
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x1800080c4
call fcn.1800029b0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1800084c9
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x70], rbx
mov dword [rsp + 0x30], 3
movsxd r13, dword [rdi - 0x10]
lea rdx, str._pop
mov rsi, r14
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1800080f1
lea r15d, [rsi + r13]
test r15d, r15d
js 0x1800084d4
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r15d
or eax, ecx
jge 0x180008131
mov edx, r15d
lea rcx, [rbp - 0x70]
call fcn.180004250
mov rbx, qword [rbp - 0x70]
lea rdx, str._pop
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x18000815f
test rbx, rbx
jne 0x180008154
call fcn.18000d1f4
mov dword [rax], 0x16
call fcn.18000d0d4
jmp 0x18000815f
mov r8, rsi
mov rcx, rbx
call fcn.18000a760
mov rdx, r13
lea rcx, [rsi + rbx]
mov r9d, r13d
mov r8, rdi
call fcn.180005b70
cmp r15d, dword [rbx - 0xc]
jg 0x1800084a8
mov dword [rbx - 0x10], r15d
movsxd rax, r15d
xor edi, edi
mov word [rbx + rax*2], di
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, qword [rsp + 0x38]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x30], 1
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800081ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov dword [rsp + 0x30], edi
mov eax, r14d
lock xadd dword [r12 + 0x10], eax
sub eax, 1
jg 0x1800081eb
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 8]
nop
call fcn.1800029b0
mov rcx, rax
test rax, rax
je 0x1800084df
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
mov dword [rsp + 0x30], 4
mov r8d, 4
lea rdx, str._startby_d
lea rcx, [rbp - 0x68]
call fcn.180001fa0
nop
mov rdi, qword [rbp - 0x68]
lea r12, [rdi - 0x18]
mov rcx, qword [r12]
test rcx, rcx
je 0x180008248
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x180008259
call fcn.1800029b0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1800084ea
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x60], rbx
mov dword [rsp + 0x30], 0xc
movsxd r13, dword [rdi - 0x10]
lea rdx, str._auto
mov rsi, r14
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x180008286
lea r15d, [rsi + r13]
test r15d, r15d
js 0x1800084f5
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r15d
or eax, ecx
jge 0x1800082c6
mov edx, r15d
lea rcx, [rbp - 0x60]
call fcn.180004250
mov rbx, qword [rbp - 0x60]
lea rdx, str._auto
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x1800082f4
test rbx, rbx
jne 0x1800082e9
call fcn.18000d1f4
mov dword [rax], 0x16
call fcn.18000d0d4
jmp 0x1800082f4
mov r8, rsi
mov rcx, rbx
call fcn.18000a760
mov rdx, r13
lea rcx, [rsi + rbx]
mov r9d, r13d
mov r8, rdi
call fcn.180005b70
cmp r15d, dword [rbx - 0xc]
jg 0x180008500
mov dword [rbx - 0x10], r15d
movsxd rax, r15d
xor edi, edi
mov word [rbx + rax*2], di
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, qword [rsp + 0x38]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x30], 4
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180008360
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, r14d
lock xadd dword [r12 + 0x10], eax
sub eax, 1
jg 0x18000837c
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 8]
xor ecx, ecx
call fcn.180011a40
mov qword [rbp - 8], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, str.StartTime
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.180007550
test eax, eax
je 0x1800083c7
lea rcx, str.Update_Start
call fcn.1800076b0
lea rsi, vtable.CCfgOPBaseT_int_.0
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800083ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rbp - 0x30], rsi
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180008405
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180008426
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180008439
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18000844b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x18000846a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x180008478
test rdi, rdi
je 0x180008478
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.180009290
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.180001600
nop
mov ecx, 0x80004005
call fcn.180001600
nop
mov ecx, 0x80004005
call fcn.180001600
nop
mov ecx, 0x80004005
call fcn.180001600
int3
mov ecx, 0x80070057
call fcn.180001600
nop
mov ecx, 0x80004005
call fcn.180001600
nop
mov ecx, 0x80004005
call fcn.180001600
int3
mov ecx, 0x80070057
call fcn.180001600
int3
mov ecx, 0x80070057
call fcn.180001600
int3