Function at 0x411420
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64c
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x4113e0
call fcn.00475144
add esp, 4
push 0x411400
call fcn.0046192c
add esp, 4
push 0x411400
call fcn.004609e2
add esp, 4
push 1
call fcn.004330c0
add esp, 4
mov ecx, 0x4f36ec
call fcn.004195a0
mov esi, esp
sub esp, 0xc
mov ecx, esp
push str.seup_process
call fcn.0048fa70
mov ecx, 0x4f36ec
call fcn.00417120
mov esp, esi
xor esi, esi
lea edi, [ebp - 0x218]
push 0x208
push esi
push edi
call fcn.00463600
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.0048fb00
lea ebx, [ebp - 0x420]
mov ecx, ebx
push 0x4d73ac
call fcn.0048fb00
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4114f7
mov eax, dword [ebp - 0x41c]
mov ebx, dword [ebp - 0x420]
test eax, eax
js 0x4116bc
je 0x411509
test ebx, ebx
je 0x4116b5
mov esi, eax
push edi
call fcn.0047e4dc
add esp, 4
push esi
push ebx
push eax
push edi
push 0
lea eax, [ebp - 0x634]
push eax
call fcn.0042bfd0
add esp, 0x18
cmp byte [ebp - 0x415], 0
jns 0x411540
push dword [ebp - 0x420]
call fcn.00459b3c
add esp, 4
movzx eax, byte [ebp - 0x629]
mov ecx, eax
test al, al
mov esi, 0xffffffff
jns 0x411558
mov ecx, dword [ebp - 0x630]
cmp ecx, 4
jb 0x41168d
mov eax, 0x208
xor esi, esi
lea ebx, [ebp - 0x420]
push eax
push esi
push ebx
call fcn.00463600
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.0042cee0
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.00432c40
push esi
push esi
call fcn.00431240
add esp, 8
lea ebx, [ebp - 0x628]
mov eax, 0x208
push eax
push esi
push ebx
call fcn.00463600
add esp, 0xc
mov eax, 0x104
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x411655
lea esi, [ebp - 0x658]
push 0x8f2
push esi
call fcn.004162e0
add esp, 8
cmp byte [esi + 0xb], 0
jns 0x411616
mov esi, dword [ebp - 0x658]
sub esp, 0x1c
movdqa xmm0, xmmword [0x4d7260]
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], str.Upgrade
call fcn.0042d840
add esp, 0x1c
cmp byte [ebp - 0x64d], 0
jns 0x411655
push dword [ebp - 0x658]
call fcn.00459b3c
add esp, 4
call fcn.0044ce80
mov ecx, eax
push str.360seup
call fcn.0044ce90
test al, al
je 0x411675
push dword [ebp + 8]
call fcn.00412030
add esp, 4
call fcn.004118d0
mov esi, eax
lea ecx, [ebp - 0x64c]
call fcn.004b8000
mov al, byte [ebp - 0x629]
test al, al
jns 0x41169f
push dword [ebp - 0x634]
call fcn.00459b3c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
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 0x4116c1
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 0x4d745c
call fcn.00492230
int3