Function at 0x411410
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64c
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x4113d0
call fcn.00472344
add esp, 4
push 0x4113f0
call fcn.0045ee1c
add esp, 4
push 0x4113f0
call fcn.0045ded2
add esp, 4
push 1
call fcn.00432860
add esp, 4
mov ecx, 0x4ea69c
call fcn.00419590
mov esi, esp
sub esp, 0xc
mov ecx, esp
push str.seup_process
call fcn.0048c380
mov ecx, 0x4ea69c
call fcn.00417120
mov esp, esi
xor esi, esi
lea edi, [ebp - 0x218]
push 0x208
push esi
push edi
call fcn.00460af0
add esp, 0xc
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
dec eax
lea esi, [ebp - 0x634]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, esi
push eax
call fcn.0048c410
lea ebx, [ebp - 0x420]
mov ecx, ebx
push 0x4d138c
call fcn.0048c410
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4114e7
mov eax, dword [ebp - 0x41c]
mov ebx, dword [ebp - 0x420]
test eax, eax
js 0x4116ac
je 0x4114f9
test ebx, ebx
je 0x4116a5
mov esi, eax
push edi
call fcn.0047b6dc
add esp, 4
push esi
push ebx
push eax
push edi
push 0
lea eax, [ebp - 0x634]
push eax
call fcn.0042b680
add esp, 0x18
cmp byte [ebp - 0x415], 0
jns 0x411530
push dword [ebp - 0x420]
call fcn.0045702d
add esp, 4
movzx eax, byte [ebp - 0x629]
mov ecx, eax
test al, al
mov esi, 0xffffffff
jns 0x411548
mov ecx, dword [ebp - 0x630]
cmp ecx, 4
jb 0x41167d
mov eax, 0x208
xor esi, esi
lea ebx, [ebp - 0x420]
push eax
push esi
push ebx
call fcn.00460af0
add esp, 0xc
mov eax, 0x104
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
call edi
push ebx
call edi
push str.360base.dll
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
call fcn.0042ca10
add esp, 4
xor eax, eax
dec eax
lea ecx, [ebp - 0x64c]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ecx], xmm0
call fcn.00432160
push esi
push esi
call fcn.00430710
add esp, 8
lea ebx, [ebp - 0x628]
mov eax, 0x208
push eax
push esi
push ebx
call fcn.00460af0
add esp, 0xc
mov eax, 0x104
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x411645
lea esi, [ebp - 0x658]
push 0x8f2
push esi
call fcn.004162d0
add esp, 8
cmp byte [esi + 0xb], 0
jns 0x411606
mov esi, dword [ebp - 0x658]
sub esp, 0x1c
movdqa xmm0, xmmword [0x4d1240]
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], str.Upgrade
call fcn.0042d460
add esp, 0x1c
cmp byte [ebp - 0x64d], 0
jns 0x411645
push dword [ebp - 0x658]
call fcn.0045702d
add esp, 4
call fcn.00448290
mov ecx, eax
push str.360seup
call fcn.004482a0
test al, al
je 0x411665
push dword [ebp + 8]
call fcn.00412020
add esp, 4
call fcn.004118c0
mov esi, eax
lea ecx, [ebp - 0x64c]
call fcn.004321c0
mov al, byte [ebp - 0x629]
test al, al
jns 0x41168f
push dword [ebp - 0x634]
call fcn.0045702d
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x4116b1
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x4d143c
call fcn.0048e9c0
int3