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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x6b28bf
call fcn.006426c4
sub esp, 0x238
push ebx
push esi
push edi
lea eax, [ebp + 0x48]
mov edi, ecx
xor ebx, ebx
mov ecx, 0x7b06c8
push eax
mov dword [ebp + 0x60], ebx
call fcn.004739f8
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], esi
jb 0x5a756d
mov eax, dword [eax]
push dword [ebp + 0x6c]
push 0x6c4990
push eax
lea eax, [ebp + 0x18]
push 0x6c4994
push eax
call fcn.00465d7f
add esp, 0x14
push esi
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 2
call fcn.004285f6
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.00429d77
mov esi, str.updates_
mov byte [ebp - 4], 3
push esi
call fcn.00428864
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x24]
call fcn.00439c79
cmp eax, 0xffffffff
jne 0x5a7645
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x5a75e5
lea eax, [ebp - 0x24]
push eax
push str.Relocate_Version_didnt_find_updates_in_path:__S
push 0x40
call fcn.0048941f
add esp, 0xc
lea ecx, [ebp + 0x48]
push str.RelocateVersionFail
call fcn.0040f32f
lea eax, [ebp]
mov byte [ebp - 4], 4
push str._status_:_Build_not_running_from_updates_dir_
push eax
call fcn.00465d5a
pop ecx
pop ecx
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
push ecx
push eax
mov ecx, edi
call fcn.005a7e1e
push 0
push 1
lea ecx, [ebp]
call fcn.0040f95f
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.0040f95f
xor bl, bl
jmp 0x5a791b
push dword [ebp + 0x6c]
mov ecx, edi
call fcn.005a5966
test al, al
jne 0x5a767d
push dword [ebp + 0x6c]
push str.Failed_to_CopyVersionToInstallDir__S
push 0x40
call fcn.0048941f
add esp, 0xc
mov dword [ebp + 0x6c], 9
lea eax, [ebp + 0x6c]
lea ecx, [edi + 0x38]
push eax
call fcn.0041fbb8
jmp 0x5a7754
mov ecx, edi
call fcn.005a66d4
mov esi, eax
test esi, esi
je 0x5a76a1
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.005a649c
xor ebx, ebx
inc ebx
mov byte [ebp + 0x6f], bl
cmp dword [eax + 0x10], 0
jne 0x5a76a5
mov byte [ebp + 0x6f], 0
test bl, 1
je 0x5a76b9
xor ebx, ebx
lea ecx, [ebp]
push ebx
push 1
call fcn.004285f6
jmp 0x5a76bb
xor ebx, ebx
cmp byte [ebp + 0x6f], 0
je 0x5a7754
lea eax, [ebp]
mov ecx, 0x7b06c8
push eax
call fcn.004739f8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5a76df
mov eax, dword [eax]
push str..lng
push 0x6cb00c
push 0x6c4990
push eax
lea eax, [ebp + 0x48]
push 0x6c4ed0
push eax
call fcn.00465d7f
add esp, 0x18
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.004285f6
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.005a649c
cmp dword [ebp + 0x5c], 8
mov ecx, dword [ebp + 0x48]
mov byte [ebp - 4], 9
jae 0x5a772a
lea ecx, [ebp + 0x48]
cmp dword [eax + 0x14], 8
jb 0x5a7732
mov eax, dword [eax]
push 1
push 1
push ebx
push ecx
push eax
call fcn.0046e753
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.004285f6
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 0x5a7802
push dword [ebx + esi*4]
lea ecx, [ebp + 0x48]
call fcn.00429d77
push str._LOG
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.004392ec
test eax, eax
jne 0x5a77ec
push 0x6c3d10
lea ecx, [ebp]
call fcn.00429d77
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00427eed
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xd
call fcn.00428642
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
push 0
push 1
lea ecx, [ebp]
call fcn.004285f6
push 0
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xa
call fcn.004285f6
inc esi
cmp esi, dword [ebp + 0x60]
jl 0x5a7784
mov esi, str.__RELOCATED
push esi
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.004286d2
mov ecx, dword [ebp + 0x30]
push 8
pop ebx
cmp dword [ebp + 0x44], ebx
jae 0x5a7826
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a7831
lea eax, [ebp + 0x18]
push ecx
push eax
mov esi, str.Launching__S_with_command_line:__S_n
push esi
call fcn.0040e3f1
mov ecx, dword [ebp + 0x30]
add esp, 0xc
cmp dword [ebp + 0x44], ebx
jae 0x5a784c
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a7857
lea eax, [ebp + 0x18]
push ecx
push eax
push esi
push 0x40
call fcn.0048941f
add esp, 0x10
mov ecx, edi
call fcn.005a8612
mov ecx, dword [ebp + 0x30]
cmp dword [ebp + 0x44], ebx
jae 0x5a7876
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x5a7881
lea eax, [ebp + 0x18]
push 1
xor ebx, ebx
push ebx
push ecx
push eax
push 0x6c4654
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
push esi
push str.RelocateVersion:_ShellExecute_returned__d.
push 0x40
call fcn.0048941f
add esp, 0xc
cmp esi, 0x20
jg 0x5a78f6
push str.RelocateVersionFail
lea ecx, [ebp + 0x48]
call fcn.0040f32f
push esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
push str._status_:_ShellExecute_returned__d_
push eax
call fcn.00465d5a
add esp, 0xc
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xf
push ecx
push eax
mov ecx, edi
call fcn.005a7e1e
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040f95f
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.0040f95f
jmp 0x5a7909
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x6c], 3
push eax
lea ecx, [edi + 0x38]
call fcn.0041fbb8
cmp esi, 0x20
lea ecx, [ebp + 0x30]
push 0
push 1
setg bl
call fcn.004285f6
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004285f6
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.004285f6
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