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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x6b04c8
call fcn.00640244
sub esp, 0x238
push ebx
push esi
push edi
lea eax, [ebp + 0x48]
mov edi, ecx
xor ebx, ebx
mov ecx, 0x7ac4a8
push eax
mov dword [ebp + 0x60], ebx
call fcn.00473012
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], esi
jb 0x5a5dc8
mov eax, dword [eax]
push dword [ebp + 0x6c]
push 0x6c1910
push eax
lea eax, [ebp + 0x18]
push 0x6c1914
push eax
call fcn.004654e1
add esp, 0x14
push esi
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 2
call fcn.004281f2
push 0x104
lea eax, [ebp - 0x244]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x24]
call fcn.00429973
mov esi, 0x713d4c
mov byte [ebp - 4], 3
push esi
call fcn.00428460
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x24]
call fcn.0043983f
cmp eax, 0xffffffff
jne 0x5a5ea0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x5a5e40
lea eax, [ebp - 0x24]
push eax
push str.Relocate_Version_didnt_find_updates_in_path:__S
push 0x40
call fcn.0048912b
add esp, 0xc
lea ecx, [ebp + 0x48]
push str.RelocateVersionFail
call fcn.0040eeff
lea eax, [ebp]
mov byte [ebp - 4], 4
push str._status_:_Build_not_running_from_updates_dir_
push eax
call fcn.004654bc
pop ecx
pop ecx
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
push ecx
push eax
mov ecx, edi
call fcn.005a6679
push 0
push 1
lea ecx, [ebp]
call fcn.0040f52f
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.0040f52f
xor bl, bl
jmp 0x5a6176
push dword [ebp + 0x6c]
mov ecx, edi
call fcn.005a41c1
test al, al
jne 0x5a5ed8
push dword [ebp + 0x6c]
push str.Failed_to_CopyVersionToInstallDir__S
push 0x40
call fcn.0048912b
add esp, 0xc
mov dword [ebp + 0x6c], 9
lea eax, [ebp + 0x6c]
lea ecx, [edi + 0x38]
push eax
call fcn.0041f788
jmp 0x5a5faf
mov ecx, edi
call fcn.005a4f2f
mov esi, eax
test esi, esi
je 0x5a5efc
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.005a4cf7
xor ebx, ebx
inc ebx
mov byte [ebp + 0x6f], bl
cmp dword [eax + 0x10], 0
jne 0x5a5f00
mov byte [ebp + 0x6f], 0
test bl, 1
je 0x5a5f14
xor ebx, ebx
lea ecx, [ebp]
push ebx
push 1
call fcn.004281f2
jmp 0x5a5f16
xor ebx, ebx
cmp byte [ebp + 0x6f], 0
je 0x5a5faf
lea eax, [ebp]
mov ecx, 0x7ac4a8
push eax
call fcn.00473012
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5a5f3a
mov eax, dword [eax]
push str..lng
push 0x6c7f8c
push 0x6c1910
push eax
lea eax, [ebp + 0x48]
push 0x6c1e50
push eax
call fcn.004654e1
add esp, 0x18
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.004281f2
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.005a4cf7
cmp dword [ebp + 0x5c], 8
mov ecx, dword [ebp + 0x48]
mov byte [ebp - 4], 9
jae 0x5a5f85
lea ecx, [ebp + 0x48]
cmp dword [eax + 0x14], 8
jb 0x5a5f8d
mov eax, dword [eax]
push 1
push 1
push ebx
push ecx
push eax
call fcn.0046ddd9
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004281f2
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.004281f2
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
and dword [ebp + 0x40], 0
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
xor esi, esi
mov byte [ebp - 4], 0xa
inc esi
cmp dword [ebp + 0x60], esi
jle 0x5a605d
push dword [ebx + esi*4]
lea ecx, [ebp + 0x48]
call fcn.00429973
push str._LOG
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.00438eb2
test eax, eax
jne 0x5a6047
push 0x6c0ca0
lea ecx, [ebp]
call fcn.00429973
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00427abd
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xd
call fcn.0042823e
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004281f2
push 0
push 1
lea ecx, [ebp]
call fcn.004281f2
push 0
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xa
call fcn.004281f2
inc esi
cmp esi, dword [ebp + 0x60]
jl 0x5a5fdf
mov esi, str.__RELOCATED
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.004282ce
mov ecx, dword [ebp + 0x30]
push 8
pop ebx
cmp dword [ebp + 0x44], ebx
jae 0x5a6081
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a608c
lea eax, [ebp + 0x18]
push ecx
push eax
mov esi, str.Launching__S_with_command_line:__S_n
push esi
call fcn.0040dfc1
mov ecx, dword [ebp + 0x30]
add esp, 0xc
cmp dword [ebp + 0x44], ebx
jae 0x5a60a7
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a60b2
lea eax, [ebp + 0x18]
push ecx
push eax
push esi
push 0x40
call fcn.0048912b
add esp, 0x10
mov ecx, edi
call fcn.005a6e6d
mov ecx, dword [ebp + 0x30]
cmp dword [ebp + 0x44], ebx
jae 0x5a60d1
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a60dc
lea eax, [ebp + 0x18]
push 1
xor ebx, ebx
push ebx
push ecx
push eax
push 0x6c15d4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
push esi
push str.RelocateVersion:_ShellExecute_returned__d.
push 0x40
call fcn.0048912b
add esp, 0xc
cmp esi, 0x20
jg 0x5a6151
push str.RelocateVersionFail
lea ecx, [ebp + 0x48]
call fcn.0040eeff
push esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
push str._status_:_ShellExecute_returned__d_
push eax
call fcn.004654bc
add esp, 0xc
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xf
push ecx
push eax
mov ecx, edi
call fcn.005a6679
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.0040f52f
jmp 0x5a6164
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x6c], 3
push eax
lea ecx, [edi + 0x38]
call fcn.0041f788
cmp esi, 0x20
lea ecx, [ebp + 0x30]
push 0
push 1
setg bl
call fcn.004281f2
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004281f2
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x64]
pop ebp
ret 4