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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x6a70c9
call fcn.006375a8
sub esp, 0x238
push ebx
push esi
push edi
lea eax, [ebp + 0x48]
mov edi, ecx
xor ebx, ebx
mov ecx, 0x79f188
push eax
mov dword [ebp + 0x60], ebx
call fcn.004707c1
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], esi
jb 0x5a14f7
mov eax, dword [eax]
push dword [ebp + 0x6c]
push 0x6b7668
push eax
lea eax, [ebp + 0x18]
push 0x6b766c
push eax
call fcn.004638e7
add esp, 0x14
push esi
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 2
call fcn.004267c2
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.00427f43
mov esi, 0x709134
mov byte [ebp - 4], 3
push esi
call fcn.00426a30
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x24]
call fcn.00437de3
cmp eax, 0xffffffff
jne 0x5a15cf
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x5a156f
lea eax, [ebp - 0x24]
push eax
push str.Relocate_Version_didnt_find_updates_in_path:__S
push 0x40
call fcn.00485eae
add esp, 0xc
lea ecx, [ebp + 0x48]
push str.RelocateVersionFail
call fcn.0040d4cf
lea eax, [ebp]
mov byte [ebp - 4], 4
push str._status_:_Build_not_running_from_updates_dir_
push eax
call fcn.004638c2
pop ecx
pop ecx
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
push ecx
push eax
mov ecx, edi
call fcn.005a1da8
push 0
push 1
lea ecx, [ebp]
call fcn.0040daff
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.0040daff
xor bl, bl
jmp 0x5a18a5
push dword [ebp + 0x6c]
mov ecx, edi
call fcn.0059f8f0
test al, al
jne 0x5a1607
push dword [ebp + 0x6c]
push str.Failed_to_CopyVersionToInstallDir__S
push 0x40
call fcn.00485eae
add esp, 0xc
mov dword [ebp + 0x6c], 9
lea eax, [ebp + 0x6c]
lea ecx, [edi + 0x38]
push eax
call fcn.0041dd58
jmp 0x5a16de
mov ecx, edi
call fcn.005a065e
mov esi, eax
test esi, esi
je 0x5a162b
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.005a0426
xor ebx, ebx
inc ebx
mov byte [ebp + 0x6f], bl
cmp dword [eax + 0x10], 0
jne 0x5a162f
mov byte [ebp + 0x6f], 0
test bl, 1
je 0x5a1643
xor ebx, ebx
lea ecx, [ebp]
push ebx
push 1
call fcn.004267c2
jmp 0x5a1645
xor ebx, ebx
cmp byte [ebp + 0x6f], 0
je 0x5a16de
lea eax, [ebp]
mov ecx, 0x79f188
push eax
call fcn.004707c1
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5a1669
mov eax, dword [eax]
push str..lng
push 0x6bdce4
push 0x6b7668
push eax
lea eax, [ebp + 0x48]
push 0x6b7ba8
push eax
call fcn.004638e7
add esp, 0x18
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.004267c2
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.005a0426
cmp dword [ebp + 0x5c], 8
mov ecx, dword [ebp + 0x48]
mov byte [ebp - 4], 9
jae 0x5a16b4
lea ecx, [ebp + 0x48]
cmp dword [eax + 0x14], 8
jb 0x5a16bc
mov eax, dword [eax]
push 1
push 1
push ebx
push ecx
push eax
call fcn.0046bb1d
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004267c2
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.004267c2
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 0x5a178c
push dword [ebx + esi*4]
lea ecx, [ebp + 0x48]
call fcn.00427f43
push str._LOG
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.00437471
test eax, eax
jne 0x5a1776
push 0x6b69e0
lea ecx, [ebp]
call fcn.00427f43
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0042608d
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xd
call fcn.0042680e
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004267c2
push 0
push 1
lea ecx, [ebp]
call fcn.004267c2
push 0
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xa
call fcn.004267c2
inc esi
cmp esi, dword [ebp + 0x60]
jl 0x5a170e
mov esi, str.__RELOCATED
push esi
call fcn.00426a30
pop ecx
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.0042689e
mov ecx, dword [ebp + 0x30]
push 8
pop ebx
cmp dword [ebp + 0x44], ebx
jae 0x5a17b0
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a17bb
lea eax, [ebp + 0x18]
push ecx
push eax
mov esi, str.Launching__S_with_command_line:__S_n
push esi
call fcn.0040c591
mov ecx, dword [ebp + 0x30]
add esp, 0xc
cmp dword [ebp + 0x44], ebx
jae 0x5a17d6
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a17e1
lea eax, [ebp + 0x18]
push ecx
push eax
push esi
push 0x40
call fcn.00485eae
add esp, 0x10
mov ecx, edi
call fcn.005a259c
mov ecx, dword [ebp + 0x30]
cmp dword [ebp + 0x44], ebx
jae 0x5a1800
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a180b
lea eax, [ebp + 0x18]
push 1
xor ebx, ebx
push ebx
push ecx
push eax
push 0x6b7324
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
push esi
push str.RelocateVersion:_ShellExecute_returned__d.
push 0x40
call fcn.00485eae
add esp, 0xc
cmp esi, 0x20
jg 0x5a1880
push str.RelocateVersionFail
lea ecx, [ebp + 0x48]
call fcn.0040d4cf
push esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
push str._status_:_ShellExecute_returned__d_
push eax
call fcn.004638c2
add esp, 0xc
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xf
push ecx
push eax
mov ecx, edi
call fcn.005a1da8
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040daff
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.0040daff
jmp 0x5a1893
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x6c], 3
push eax
lea ecx, [edi + 0x38]
call fcn.0041dd58
cmp esi, 0x20
lea ecx, [ebp + 0x30]
push 0
push 1
setg bl
call fcn.004267c2
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004267c2
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.004267c2
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