Function at 0x1400f5240
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1130]
mov eax, 0x1230
call fcn.1402cec90
sub rsp, rax
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rsp + 0x1268], rbx
mov qword [rsp + 0x1270], rsi
mov qword [rsp + 0x1278], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x1120], rax
mov rsi, rcx
lea rax, [0x14034d1a0]
mov qword [rbp - 0x58], rax
xor r15d, r15d
mov qword [rbp - 0x50], r15
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r15
mov dword [rsp + 0x58], 2
mov dword [rsp + 0x70], r15d
lea r14, [rcx + 0x300]
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.14011ac20
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140107c90
test al, al
je 0x1400f5897
mov eax, 1
xchg dword [0x140430c2c], eax
cmp byte [rsi + 0x33], r15b
jne 0x1400f531c
cmp byte [rsp + 0x50], r15b
jne 0x1400f531c
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x70], r15d
jmp 0x1400f5953
mov edx, 5
mov rcx, rsi
call fcn.1400f6840
mov r8, r14
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.1401086e0
test al, al
jne 0x1400f5415
lea rcx, [rsi + 0x2c0]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
test al, al
je 0x1400f535d
mov edx, 1
jmp 0x1400f5966
mov dword [rsp + 0x58], 1
mov qword [rbp - 0x40], r15
mov edx, 0x15
lea rcx, [rbp - 0x48]
call fcn.1402028a0
mov eax, dword [rbp - 0x40]
inc eax
movsxd rdx, eax
mov r9d, 0x15
lea r8, str.Errors_DownloadFailed
mov rcx, qword [rbp - 0x48]
call fcn.1402c06dc
mov edx, 0x15
lea rcx, [rbp - 0x48]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x98]
call fcn.1400f6d90
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp + 0xa0], 0
jle 0x1400f5402
mov rcx, qword [rbp + 0x98]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x40], 0
jle 0x1400f54da
mov rcx, qword [rbp - 0x48]
jmp 0x1400f54d5
lea rcx, [rbp - 0x58]
call fcn.1401080f0
test al, al
jne 0x1400f54ec
mov dword [rsp + 0x58], 1
mov qword [rbp - 0x30], r15
mov edx, 0x16
lea rcx, [rbp - 0x38]
call fcn.1402028a0
mov eax, dword [rbp - 0x30]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.Errors_DownloadInvalid
mov rcx, qword [rbp - 0x38]
call fcn.1402c06dc
mov edx, 0x16
lea rcx, [rbp - 0x38]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x88]
call fcn.1400f6d90
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp + 0x90], 0
jle 0x1400f54cb
mov rcx, qword [rbp + 0x88]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x30], 0
jle 0x1400f54da
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.14011ac20
jmp 0x1400f596e
mov dword [rsp + 0x58], 5
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.14011ac20
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140107b30
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x58]
lea r8, [0x140352e18]
mov edx, 0x800
lea rcx, [rbp + 0x120]
call fcn.1402c06b8
lea r12, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
mov qword [rbp + 0x20], r12
lea r13, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
mov qword [rbp + 0x28], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x40], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140200840
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x18]
call fcn.140116230
nop
cmp dword [rbp - 0x10], 0
jle 0x1400f5584
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
cmp dword [rbp + 0x40], 0
jle 0x1400f56d9
mov ecx, 0x18
call fcn.1402bcb4c
mov rbx, rax
test rax, rax
je 0x1400f55b8
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_::Enumerator_class_Core::String_.0
mov qword [rbx], rax
lea rax, [rbp + 0x20]
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r15
jmp 0x1400f55bb
mov rbx, r15
lea rax, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rbx
mov rdi, r15
mov qword [rbp + 0x60], r15
test rbx, rbx
je 0x1400f55fe
mov ecx, 4
call fcn.1402bcb4c
mov rdi, rax
test rax, rax
je 0x1400f55f1
mov dword [rax], r15d
mov qword [rbp + 0x60], rax
jmp 0x1400f55f8
mov rdi, r15
mov qword [rbp + 0x60], r15
mov dword [rdi], 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
je 0x1400f56b5
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8d, 1
lea rdx, [0x140352e14]
mov rcx, rax
call fcn.140205020
test al, al
je 0x1400f56a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, [0x140352e50]
call fcn.140205020
test al, al
jne 0x1400f56a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, str._update
call fcn.140205020
test al, al
jne 0x1400f56a5
lea r8, [0x140352e88]
mov edx, 0x800
lea rcx, [rbp + 0x120]
call fcn.1402bf098
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8, qword [rax]
mov edx, 0x800
lea rcx, [rbp + 0x120]
call fcn.1402bf098
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
jne 0x1400f5610
test rdi, rdi
je 0x1400f56d9
mov eax, dword [rdi]
test eax, eax
jle 0x1400f56c4
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1400f56d9
mov rcx, rbx
call fcn.14021ae20
mov rcx, rdi
call fcn.14021ae20
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0xb8]
call fcn.1402c5760
mov qword [rbp - 8], r15
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov dword [rbp + 0xb0], 0x68
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.1400d4470
nop
lea rax, [rbp - 8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400f578c
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x58], 6
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.14011ac20
mov byte [rsi + 0x34], 1
jmp 0x1400f5871
mov dword [rsp + 0x58], 1
mov qword [rbp - 0x70], r15
mov edx, 0x13
lea rcx, [rbp - 0x78]
call fcn.1402028a0
mov eax, dword [rbp - 0x70]
inc eax
movsxd rdx, eax
mov r9d, 0x13
lea r8, str.Errors_UpdateFailed
mov rcx, qword [rbp - 0x78]
call fcn.1402c06dc
mov edx, 0x13
lea rcx, [rbp - 0x78]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x10]
call fcn.1400f6d90
nop
cmp dword [rbp - 0x70], 0
jle 0x1400f57f0
mov rcx, qword [rbp - 0x78]
call fcn.1402bd0e0
mov rbx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x78]
call fcn.140202d40
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp + 0x80], 0
jle 0x1400f5853
mov rcx, qword [rbp + 0x78]
call fcn.1402bd0e0
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.14011ac20
nop
cmp dword [rbp + 0x18], 0
jle 0x1400f5871
mov rcx, qword [rbp + 0x10]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x20], 0
jle 0x1400f5881
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
nop
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r13
lea rcx, [rbp + 0x28]
call fcn.14011bb40
jmp 0x1400f596e
mov eax, r15d
xchg dword [rsi + 0x110], eax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x70], 0
mov qword [rbp - 0x60], r15
mov edx, 0x1b
lea rcx, [rbp - 0x68]
call fcn.1402028a0
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
mov r9d, 0x1b
lea r8, str.Errors_CheckForUpdateFailed
mov rcx, qword [rbp - 0x68]
call fcn.1402c06dc
mov edx, 0x1b
lea rcx, [rbp - 0x68]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x68]
call fcn.1400f6d90
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp + 0x70], 0
jle 0x1400f5944
mov rcx, qword [rbp + 0x68]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x60], 0
jle 0x1400f5953
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.14011ac20
mov edx, dword [rsi + 0x224]
mov rcx, rsi
call fcn.1400f6840
mov byte [rsi + 0x33], 0
cmp dword [rbp - 0x80], 0
jle 0x1400f5982
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
cmp dword [rsp + 0x68], 0
jle 0x1400f5994
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x50], 0
jle 0x1400f59a3
mov rcx, qword [rbp - 0x58]
call fcn.1402bd0e0
xor eax, eax
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x1230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret