Function at 0x405b50
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x43f010]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004011c2
test al, al
jne 0x405bb4
push 0x51011
push 0x433e7c
push str.This_version_of_Ubisoft_Connect_is_not_compatible_with_your_operating_system._Click_OK_to_download_an_older_version_of_Ubisoft_Connect.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x405b9f
push eax
push 0
push 0
push str.http:__ubi.li_78pn4
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004071b0
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x34]
push 0x434010
push eax
call fcn.004010c8
add esp, 4
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00401271
add esp, 0xc
cmp dword [ebp - 0x20], 8
jb 0x405be6
push dword [ebp - 0x34]
call fcn.00406649
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.00401087
add esp, 4
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0xac]
cmovae eax, dword [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
push dword [ebp - 0x9c]
push 0
call fcn.00401398
test eax, eax
je 0x405c2a
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x434014
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00401028
lea eax, [ebp - 0xc4]
push eax
call fcn.004010b4
add esp, 0x10
push eax
push 0x433e78
push 0x434028
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push 0x434028
push eax
call fcn.0040106e
add esp, 0xc
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00401271
add esp, 0xc
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00401271
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040102d
add esp, 0xc
cmp dword [ebp - 0x68], 8
jb 0x405ca6
push dword [ebp - 0x7c]
call fcn.00406649
add esp, 4
xor eax, eax
mov dword [ebp - 0x68], 7
cmp dword [ebp - 0x80], 8
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
jb 0x405cce
push dword [ebp - 0x94]
call fcn.00406649
add esp, 4
xor eax, eax
mov dword [ebp - 0x80], 7
cmp dword [ebp - 0x20], 8
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
jb 0x405cf9
push dword [ebp - 0x34]
call fcn.00406649
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
cmp dword [ebp - 0xb0], 8
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
jb 0x405d24
push dword [ebp - 0xc4]
call fcn.00406649
add esp, 4
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004010e6
xor ebx, ebx
add esp, 0xc
test al, al
sete bl
cmp dword [ebp - 0x50], 8
jb 0x405d51
push dword [ebp - 0x64]
call fcn.00406649
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
jb 0x405d76
push dword [ebp - 0x4c]
call fcn.00406649
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], 7
cmp dword [ebp - 8], 8
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
jb 0x405d9b
push dword [ebp - 0x1c]
call fcn.00406649
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
cmp dword [ebp - 0x98], 8
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
jb 0x405dc6
push dword [ebp - 0xac]
call fcn.00406649
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004071b0
mov esp, ebp
pop ebp
ret 0x10