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

Disassembly:
mov eax, 0x6a6fde
call fcn.006375a8
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp byte [edi + 0x26], 0
je 0x5a0ccb
push str.LaunchTargetVersion_exited_to_prevent_launch_loop_
push 0x40
call fcn.00485eae
pop ecx
pop ecx
push str.LaunchTargetVersionFail
lea ecx, [ebp - 0x48]
call fcn.0040d4cf
lea eax, [ebp - 0x60]
xor ebx, ebx
push str._status_:_Prevent_Launch_loop._
push eax
mov dword [ebp - 4], ebx
call fcn.004638c2
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
push eax
mov ecx, edi
call fcn.005a1da8
xor esi, esi
lea ecx, [ebp - 0x60]
push ebx
inc esi
push esi
call fcn.0040daff
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040daff
xor al, al
jmp 0x5a0fc5
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ebx, ebx
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
xor esi, esi
mov dword [ebp - 4], 2
inc esi
cmp dword [ebp - 0x10], esi
jle 0x5a0d84
xor edi, edi
inc edi
push dword [eax + edi*4]
lea ecx, [ebp - 0x48]
call fcn.00427f43
push str._LOG
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00437471
test eax, eax
jne 0x5a0d6a
push 0x6b69e0
lea ecx, [ebp - 0x78]
call fcn.00427f43
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0042608d
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0042680e
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.004267c2
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.004267c2
push ebx
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004267c2
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x5a0d07
mov edi, dword [ebp - 0x18]
cmp byte [ebp + 0xc], 0
je 0x5a0da3
push str.__CAU
call fcn.00426a30
pop ecx
push eax
push str.__CAU
lea ecx, [ebp - 0x30]
call fcn.0042689e
push str.__LAUNCHED
call fcn.00426a30
pop ecx
push eax
push str.__LAUNCHED
lea ecx, [ebp - 0x30]
call fcn.0042689e
mov eax, dword [ebp + 8]
test eax, eax
je 0x5a0f3f
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x5a0dd3
lea ecx, [ebp - 0x30]
push ecx
push dword [eax + 0x30]
push str.Launching_version:__d_with_command_line:__S_n
call fcn.0040c591
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x1c], 8
jae 0x5a0df0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
push str.Launching_version:__d_with_command_line:__S
push 0x40
call fcn.00485eae
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
add esp, 0x10
push eax
call fcn.005a014d
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5a0e1e
mov eax, dword [eax]
push eax
push str.Target_path:__S
push 0x40
call fcn.00485eae
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
push ebx
push esi
call fcn.004267c2
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.005a0337
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x5a0e53
mov eax, dword [eax]
push eax
push str.JSON_dump:__s
push 0x40
call fcn.00485eae
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
push ebx
push esi
call fcn.0040daff
cmp byte [edi + 0x1f], 0
mov ecx, edi
sete al
mov byte [edi + 0x24], al
call fcn.005a259c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
call fcn.005a014d
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x5a0e9a
lea ecx, [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x5a0ea2
mov eax, dword [eax]
push esi
push ebx
push ecx
push eax
push 0x6b7324
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push esi
lea ecx, [ebp - 0x78]
mov dword [ebp + 0xc], eax
call fcn.004267c2
push dword [ebp + 0xc]
push str.LaunchVersion:_ShellExecute_returned__d.
push 0x40
call fcn.00485eae
add esp, 0xc
cmp dword [ebp + 0xc], 0x20
jg 0x5a0f22
push str.LaunchTargetVersionFail
lea ecx, [ebp - 0x48]
call fcn.0040d4cf
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push str._status_:_ShellExecute_returned:_d_
push eax
call fcn.004638c2
add esp, 0xc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
push ecx
push eax
mov ecx, edi
call fcn.005a1da8
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0040daff
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040daff
jmp 0x5a0f35
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
lea ecx, [edi + 0x38]
call fcn.0041dd58
cmp dword [ebp + 0xc], 0x20
setg byte [ebp + 0xf]
jmp 0x5a0fb8
push str.LaunchTargetVersion_failed._No_target_version_found._n
call fcn.0040c591
mov dword [esp], str.LaunchTargetVersion_failed__No_target_version_found.
push 0x40
call fcn.00485eae
pop ecx
pop ecx
push str.LaunchTargetVersionFail
lea ecx, [ebp - 0x48]
call fcn.0040d4cf
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xa
push str._status_:_No_target_version_found_
push eax
call fcn.004638c2
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push ecx
push eax
mov ecx, edi
call fcn.005a1da8
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.0040daff
push ebx
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0040daff
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 8
push eax
lea ecx, [edi + 0x38]
call fcn.0041dd58
mov byte [ebp + 0xf], bl
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.004267c2
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8