Function at 0x140009adc
Capabilities:
Accept command line arguments
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1c80
call fcn.14001ba30
sub rsp, rax
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x1c70], rax
mov rbx, rcx
mov cl, 1
call fcn.1400086fc
lea rcx, [0x140027c10]
xor r8d, r8d
mov rdx, rbx
call fcn.140008108
lea rdx, str.uninstall.lng
lea rcx, [0x140027bd0]
call fcn.140007e38
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.140008788
mov rcx, qword [0x140027bb8]
lea rdx, str.RARICON
mov r13, rax
call qword [sym.imp.USER32.dll_LoadIconW]
xor r14d, r14d
mov qword [0x14002bda8], rax
cmp rax, r14
jne 0x140009b9a
mov rcx, qword [0x140027bb0]
cmp rcx, qword [0x140027bb8]
je 0x140009b9a
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14002bda8], rax
mov ecx, 0xfffffff4
call fcn.14000a340
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea rax, str.MS_Shell_Dlg
xor edx, edx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontW]
lea rdx, [rsp + 0x470]
lea rcx, str.sfxcmd
mov r8d, 0x400
mov esi, r14d
mov qword [0x14002bda0], rax
mov r12b, r14b
mov word [rsp + 0x470], r14w
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, 0x22
lea rbx, [rsp + 0x470]
cmp word [rsp + 0x470], dx
jne 0x140009c4e
lea rcx, [rsp + 0x472]
call fcn.14000b430
cmp rax, r14
je 0x140009c4e
lea rbx, [rax + 2]
mov rdi, r14
cmp word [rbx], r14w
je 0x140009ca0
mov rax, rbx
lea rbp, [rbx + 4]
cmp word [rax], 0x2d
je 0x140009c6a
cmp word [rax], 0x2f
jne 0x140009c86
movzx ecx, word [rax + 2]
call fcn.1400089d4
cmp eax, 0x53
jne 0x140009c86
movzx ecx, word [rbp]
call fcn.14000ca6c
cmp eax, r14d
je 0x140009c99
inc rdi
add rbp, 2
lea rax, [rbx + rdi*2]
cmp word [rax], r14w
je 0x140009ca0
jmp 0x140009c5e
mov byte [0x14002bdb0], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [0x14001f254]
mov rcx, rax
call fcn.14000b898
mov rdi, rax
cmp rax, r14
je 0x140009f1d
mov ebp, 4
add rdi, 2
lea rdx, str.setup
mov r8d, 5
mov rcx, rdi
call fcn.140008944
cmp eax, r14d
jne 0x140009cec
mov r12b, 1
jmp 0x140009e2c
lea rdx, [0x14001f240]
mov r8d, 3
mov rcx, rdi
call fcn.140008944
cmp eax, r14d
jne 0x140009d12
mov byte [0x14002bdb1], 1
jmp 0x140009e2c
movzx ecx, word [rdi]
call fcn.1400089d4
cmp eax, 0x53
jne 0x140009d3b
movzx ecx, word [rdi + 2]
call fcn.140008428
cmp al, r14b
jne 0x140009d3b
mov byte [0x14002bdb0], 1
dec esi
jmp 0x140009e2c
lea rdx, str.wait
mov r8, rbp
mov rcx, rdi
call fcn.140008944
cmp eax, r14d
jne 0x140009d62
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140009e2c
lea rdx, str.noexplorer
mov r8, rbp
mov rcx, rdi
call fcn.140008944
cmp eax, r14d
jne 0x140009d85
mov byte [0x14002bdb2], 1
jmp 0x140009e2c
lea rdx, str.warning
mov r8d, 7
mov rcx, rdi
call fcn.140008944
cmp eax, r14d
jne 0x140009e2c
lea rdx, [rsp + 0xc70]
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x13f3
call fcn.140008048
lea r8, [0x14001f200]
lea rcx, [rsp + 0x70]
mov r9, rax
mov edx, 0x200
call fcn.140008fdc
mov ecx, 0x13f4
call fcn.140008048
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.14000b0f0
lea r9, [rsp + 0xc70]
lea rcx, [rsp + rax*2 + 0x70]
mov r8, rbx
mov edx, 0x200
call fcn.140008fdc
mov ecx, 0x13f2
call fcn.140008048
lea rdx, [rsp + 0x70]
mov r9d, 0x10040
mov r8, rax
xor ecx, ecx
call fcn.14000a3ac
lea rdx, [0x14001f254]
mov rcx, rdi
inc esi
call fcn.14000b898
mov rdi, rax
cmp rax, r14
jne 0x140009cc6
cmp r12b, r14b
je 0x140009f18
mov rcx, qword [0x140027bb8]
lea r9, [0x140009880]
lea rdx, str.SETUPDLG
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, r14
je 0x140009f18
call fcn.140008ecc
mov r11b, byte [0x14002bdb1]
cmp r11b, r14b
jne 0x140009eb9
mov rcx, qword [0x140027bb8]
lea r9, [0x140008aa4]
lea rdx, str.DONEDLG
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov r11b, byte [0x14002bdb1]
cmp word [0x14002ada0], r14w
je 0x140009f18
cmp byte [0x14002bdb0], r14b
jne 0x140009f18
cmp r11b, r14b
jne 0x140009f18
cmp byte [0x14002bdb2], r14b
jne 0x140009f18
lea rcx, [0x14002ada0]
call fcn.140002270
cmp al, r14b
je 0x140009f18
lea rax, [0x14001db30]
lea r8, [0x14002ada0]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp esi, r14d
jne 0x140009f22
call fcn.1400091dc
cmp r13, r14
je 0x140009f30
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x14002bda0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14002bda8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x14002bdb4]
mov rcx, qword [rsp + 0x1c70]
xor rcx, rsp
call fcn.14000a6b0
lea r11, [rsp + 0x1c80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret