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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x68094e
call fcn.0062921c
sub esp, 0x238
push ebx
push esi
push edi
lea eax, [ebp + 0x48]
mov edi, ecx
xor ebx, ebx
mov ecx, 0x76c820
push eax
mov dword [ebp + 0x60], ebx
call fcn.0046da7e
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], esi
jb 0x593c38
mov eax, dword [eax]
push dword [ebp + 0x6c]
push 0x68f370
push eax
lea eax, [ebp + 0x18]
push 0x68f374
push eax
call fcn.004607f4
add esp, 0x14
push esi
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 2
call fcn.0042386b
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.00424ff1
mov esi, 0x6e01a4
mov byte [ebp - 4], 3
push esi
call fcn.00423ad9
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x24]
call fcn.00434ede
cmp eax, 0xffffffff
jne 0x593d10
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x593cb0
lea eax, [ebp - 0x24]
push eax
push str.Relocate_Version_didnt_find_updates_in_path:__S
push 0x40
call fcn.00482bae
add esp, 0xc
lea ecx, [ebp + 0x48]
push str.RelocateVersionFail
call fcn.0040a58f
lea eax, [ebp]
mov byte [ebp - 4], 4
push str._status_:_Build_not_running_from_updates_dir_
push eax
call fcn.004607cf
pop ecx
pop ecx
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
push ecx
push eax
mov ecx, edi
call fcn.005944e9
push 0
push 1
lea ecx, [ebp]
call fcn.0040abbf
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.0040abbf
xor bl, bl
jmp 0x593fe6
push dword [ebp + 0x6c]
mov ecx, edi
call fcn.00592031
test al, al
jne 0x593d48
push dword [ebp + 0x6c]
push str.Failed_to_CopyVersionToInstallDir__S
push 0x40
call fcn.00482bae
add esp, 0xc
mov dword [ebp + 0x6c], 9
lea eax, [ebp + 0x6c]
lea ecx, [edi + 0x38]
push eax
call fcn.0041ae18
jmp 0x593e1f
mov ecx, edi
call fcn.00592d9f
mov esi, eax
test esi, esi
je 0x593d6c
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.00592b67
xor ebx, ebx
inc ebx
mov byte [ebp + 0x6f], bl
cmp dword [eax + 0x10], 0
jne 0x593d70
mov byte [ebp + 0x6f], 0
test bl, 1
je 0x593d84
xor ebx, ebx
lea ecx, [ebp]
push ebx
push 1
call fcn.0042386b
jmp 0x593d86
xor ebx, ebx
cmp byte [ebp + 0x6f], 0
je 0x593e1f
lea eax, [ebp]
mov ecx, 0x76c820
push eax
call fcn.0046da7e
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x593daa
mov eax, dword [eax]
push str..lng
push 0x695958
push 0x68f370
push eax
lea eax, [ebp + 0x48]
push 0x68f8b0
push eax
call fcn.004607f4
add esp, 0x18
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.0042386b
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00592b67
cmp dword [ebp + 0x5c], 8
mov ecx, dword [ebp + 0x48]
mov byte [ebp - 4], 9
jae 0x593df5
lea ecx, [ebp + 0x48]
cmp dword [eax + 0x14], 8
jb 0x593dfd
mov eax, dword [eax]
push 1
push 1
push ebx
push ecx
push eax
call fcn.00468836
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.0042386b
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 0x593ecd
push dword [ebx + esi*4]
lea ecx, [ebp + 0x48]
call fcn.00424ff1
push str._LOG
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xb
call fcn.0043429b
test eax, eax
jne 0x593eb7
push 0x68e738
lea ecx, [ebp]
call fcn.00424ff1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00423136
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xd
call fcn.004238b7
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
push 0
push 1
lea ecx, [ebp]
call fcn.0042386b
push 0
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xa
call fcn.0042386b
inc esi
cmp esi, dword [ebp + 0x60]
jl 0x593e4f
mov esi, str.__RELOCATED
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.00423947
mov ecx, dword [ebp + 0x30]
push 8
pop ebx
cmp dword [ebp + 0x44], ebx
jae 0x593ef1
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x593efc
lea eax, [ebp + 0x18]
push ecx
push eax
mov esi, str.Launching__S_with_command_line:__S_n
push esi
call fcn.00409651
mov ecx, dword [ebp + 0x30]
add esp, 0xc
cmp dword [ebp + 0x44], ebx
jae 0x593f17
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x593f22
lea eax, [ebp + 0x18]
push ecx
push eax
push esi
push 0x40
call fcn.00482bae
add esp, 0x10
mov ecx, edi
call fcn.00594cdd
mov ecx, dword [ebp + 0x30]
cmp dword [ebp + 0x44], ebx
jae 0x593f41
lea ecx, [ebp + 0x30]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x2c], ebx
jae 0x593f4c
lea eax, [ebp + 0x18]
push 1
xor ebx, ebx
push ebx
push ecx
push eax
push 0x68f02c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
push esi
push str.RelocateVersion:_ShellExecute_returned__d.
push 0x40
call fcn.00482bae
add esp, 0xc
cmp esi, 0x20
jg 0x593fc1
push str.RelocateVersionFail
lea ecx, [ebp + 0x48]
call fcn.0040a58f
push esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
push str._status_:_ShellExecute_returned__d_
push eax
call fcn.004607cf
add esp, 0xc
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xf
push ecx
push eax
mov ecx, edi
call fcn.005944e9
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.0040abbf
jmp 0x593fd4
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x6c], 3
push eax
lea ecx, [edi + 0x38]
call fcn.0041ae18
cmp esi, 0x20
lea ecx, [ebp + 0x30]
push 0
push 1
setg bl
call fcn.0042386b
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.0042386b
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.0042386b
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