Function at 0x1400f4590
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.1402a90d0
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 [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x1120], rax
mov rsi, rcx
lea rax, [0x140323de0]
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 + 0x2f8]
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.140118d40
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140106cb0
test al, al
je 0x1400f4be7
mov eax, 1
xchg dword [0x1403fd79c], eax
cmp byte [rsi + 0x32], r15b
jne 0x1400f466c
cmp byte [rsp + 0x50], r15b
jne 0x1400f466c
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x70], r15d
jmp 0x1400f4ca3
mov edx, 5
mov rcx, rsi
call fcn.1400f5e20
mov r8, r14
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.140107300
test al, al
jne 0x1400f4765
lea rcx, [rsi + 0x2b8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
test al, al
je 0x1400f46ad
mov edx, 1
jmp 0x1400f4cb6
mov dword [rsp + 0x58], 1
mov qword [rbp - 0x40], r15
mov edx, 0x15
lea rcx, [rbp - 0x48]
call fcn.1401e9030
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.14029b4d8
mov edx, 0x15
lea rcx, [rbp - 0x48]
call fcn.1401ea290
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x98]
call fcn.1400f6370
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
cmp dword [rbp + 0xa0], 0
jle 0x1400f4752
mov rcx, qword [rbp + 0x98]
call fcn.140298600
nop
cmp dword [rbp - 0x40], 0
jle 0x1400f482a
mov rcx, qword [rbp - 0x48]
jmp 0x1400f4825
lea rcx, [rbp - 0x58]
call fcn.140107110
test al, al
jne 0x1400f483c
mov dword [rsp + 0x58], 1
mov qword [rbp - 0x30], r15
mov edx, 0x16
lea rcx, [rbp - 0x38]
call fcn.1401e9030
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.14029b4d8
mov edx, 0x16
lea rcx, [rbp - 0x38]
call fcn.1401ea290
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x88]
call fcn.1400f6370
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
cmp dword [rbp + 0x90], 0
jle 0x1400f481b
mov rcx, qword [rbp + 0x88]
call fcn.140298600
nop
cmp dword [rbp - 0x30], 0
jle 0x1400f482a
mov rcx, qword [rbp - 0x38]
call fcn.140298600
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.140118d40
jmp 0x1400f4cbe
mov dword [rsp + 0x58], 5
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.140118d40
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140106b50
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x58]
lea r8, str.__s___update:__s_
mov edx, 0x800
lea rcx, [rbp + 0x120]
call fcn.14029b4b4
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.1401e6fd0
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x18]
call fcn.140114300
nop
cmp dword [rbp - 0x10], 0
jle 0x1400f48d4
mov rcx, qword [rbp - 0x18]
call fcn.140298600
cmp dword [rbp + 0x40], 0
jle 0x1400f4a29
mov ecx, 0x18
call fcn.14029806c
mov rbx, rax
test rax, rax
je 0x1400f4908
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 0x1400f490b
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 0x1400f494e
mov ecx, 4
call fcn.14029806c
mov rdi, rax
test rax, rax
je 0x1400f4941
mov dword [rax], r15d
mov qword [rbp + 0x60], rax
jmp 0x1400f4948
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 0x1400f4a05
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8d, 1
lea rdx, [0x140329d94]
mov rcx, rax
call fcn.1401eb700
test al, al
je 0x1400f49f5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, [0x140329d88]
call fcn.1401eb700
test al, al
jne 0x1400f49f5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, str._update
call fcn.1401eb700
test al, al
jne 0x1400f49f5
lea r8, [0x140329d98]
mov edx, 0x800
lea rcx, [rbp + 0x120]
call fcn.14029a500
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8, qword [rax]
mov edx, 0x800
lea rcx, [rbp + 0x120]
call fcn.14029a500
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
jne 0x1400f4960
test rdi, rdi
je 0x1400f4a29
mov eax, dword [rdi]
test eax, eax
jle 0x1400f4a14
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1400f4a29
mov rcx, rbx
call fcn.1402012c0
mov rcx, rdi
call fcn.1402012c0
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0xb8]
call fcn.1402a04b0
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.1400d1ab0
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 0x1400f4adc
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.140118d40
mov byte [rsi + 0x33], 1
jmp 0x1400f4bc1
mov dword [rsp + 0x58], 1
mov qword [rbp - 0x70], r15
mov edx, 0x13
lea rcx, [rbp - 0x78]
call fcn.1401e9030
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.14029b4d8
mov edx, 0x13
lea rcx, [rbp - 0x78]
call fcn.1401ea290
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x10]
call fcn.1400f6370
nop
cmp dword [rbp - 0x70], 0
jle 0x1400f4b40
mov rcx, qword [rbp - 0x78]
call fcn.140298600
mov rbx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x78]
call fcn.1401e94c0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
cmp dword [rbp + 0x80], 0
jle 0x1400f4ba3
mov rcx, qword [rbp + 0x78]
call fcn.140298600
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.140118d40
nop
cmp dword [rbp + 0x18], 0
jle 0x1400f4bc1
mov rcx, qword [rbp + 0x10]
call fcn.140298600
nop
cmp dword [rbp - 0x20], 0
jle 0x1400f4bd1
mov rcx, qword [rbp - 0x28]
call fcn.140298600
nop
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r13
lea rcx, [rbp + 0x28]
call fcn.140119c60
jmp 0x1400f4cbe
mov eax, r15d
xchg dword [rsi + 0x108], 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.1401e9030
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.14029b4d8
mov edx, 0x1b
lea rcx, [rbp - 0x68]
call fcn.1401ea290
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x68]
call fcn.1400f6370
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
cmp dword [rbp + 0x70], 0
jle 0x1400f4c94
mov rcx, qword [rbp + 0x68]
call fcn.140298600
nop
cmp dword [rbp - 0x60], 0
jle 0x1400f4ca3
mov rcx, qword [rbp - 0x68]
call fcn.140298600
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.140118d40
mov edx, dword [rsi + 0x21c]
mov rcx, rsi
call fcn.1400f5e20
mov byte [rsi + 0x32], 0
cmp dword [rbp - 0x80], 0
jle 0x1400f4cd2
mov rcx, qword [rsp + 0x78]
call fcn.140298600
cmp dword [rsp + 0x68], 0
jle 0x1400f4ce4
mov rcx, qword [rsp + 0x60]
call fcn.140298600
nop
cmp dword [rbp - 0x50], 0
jle 0x1400f4cf3
mov rcx, qword [rbp - 0x58]
call fcn.140298600
xor eax, eax
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.140297ff0
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