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

Disassembly:
mov eax, 0x6b03dd
call fcn.00640244
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp byte [edi + 0x26], 0
je 0x5a559c
push str.LaunchTargetVersion_exited_to_prevent_launch_loop_
push 0x40
call fcn.0048912b
pop ecx
pop ecx
push str.LaunchTargetVersionFail
lea ecx, [ebp - 0x48]
call fcn.0040eeff
lea eax, [ebp - 0x60]
xor ebx, ebx
push str._status_:_Prevent_Launch_loop._
push eax
mov dword [ebp - 4], ebx
call fcn.004654bc
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
push eax
mov ecx, edi
call fcn.005a6679
xor esi, esi
lea ecx, [ebp - 0x60]
push ebx
inc esi
push esi
call fcn.0040f52f
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040f52f
xor al, al
jmp 0x5a5896
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 0x5a5655
xor edi, edi
inc edi
push dword [eax + edi*4]
lea ecx, [ebp - 0x48]
call fcn.00429973
push str._LOG
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00438eb2
test eax, eax
jne 0x5a563b
push 0x6c0ca0
lea ecx, [ebp - 0x78]
call fcn.00429973
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00427abd
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0042823e
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.004281f2
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.004281f2
push ebx
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004281f2
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x5a55d8
mov edi, dword [ebp - 0x18]
cmp byte [ebp + 0xc], 0
je 0x5a5674
push str.__CAU
call fcn.00428460
pop ecx
push eax
push str.__CAU
lea ecx, [ebp - 0x30]
call fcn.004282ce
push str.__LAUNCHED
call fcn.00428460
pop ecx
push eax
push str.__LAUNCHED
lea ecx, [ebp - 0x30]
call fcn.004282ce
mov eax, dword [ebp + 8]
test eax, eax
je 0x5a5810
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x5a56a4
lea ecx, [ebp - 0x30]
push ecx
push dword [eax + 0x30]
push str.Launching_version:__d_with_command_line:__S_n
call fcn.0040dfc1
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x1c], 8
jae 0x5a56c1
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.0048912b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
add esp, 0x10
push eax
call fcn.005a4a1e
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5a56ef
mov eax, dword [eax]
push eax
push str.Target_path:__S
push 0x40
call fcn.0048912b
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
push ebx
push esi
call fcn.004281f2
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.005a4c08
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x5a5724
mov eax, dword [eax]
push eax
push str.JSON_dump:__s
push 0x40
call fcn.0048912b
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
push ebx
push esi
call fcn.0040f52f
cmp byte [edi + 0x1f], 0
mov ecx, edi
sete al
mov byte [edi + 0x24], al
call fcn.005a6e6d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
call fcn.005a4a1e
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x5a576b
lea ecx, [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x5a5773
mov eax, dword [eax]
push esi
push ebx
push ecx
push eax
push 0x6c15d4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push esi
lea ecx, [ebp - 0x78]
mov dword [ebp + 0xc], eax
call fcn.004281f2
push dword [ebp + 0xc]
push str.LaunchVersion:_ShellExecute_returned__d.
push 0x40
call fcn.0048912b
add esp, 0xc
cmp dword [ebp + 0xc], 0x20
jg 0x5a57f3
push str.LaunchTargetVersionFail
lea ecx, [ebp - 0x48]
call fcn.0040eeff
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push str._status_:_ShellExecute_returned:_d_
push eax
call fcn.004654bc
add esp, 0xc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
push ecx
push eax
mov ecx, edi
call fcn.005a6679
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0040f52f
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040f52f
jmp 0x5a5806
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
lea ecx, [edi + 0x38]
call fcn.0041f788
cmp dword [ebp + 0xc], 0x20
setg byte [ebp + 0xf]
jmp 0x5a5889
push str.LaunchTargetVersion_failed._No_target_version_found._n
call fcn.0040dfc1
mov dword [esp], str.LaunchTargetVersion_failed__No_target_version_found.
push 0x40
call fcn.0048912b
pop ecx
pop ecx
push str.LaunchTargetVersionFail
lea ecx, [ebp - 0x48]
call fcn.0040eeff
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xa
push str._status_:_No_target_version_found_
push eax
call fcn.004654bc
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push ecx
push eax
mov ecx, edi
call fcn.005a6679
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.0040f52f
push ebx
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0040f52f
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 8
push eax
lea ecx, [edi + 0x38]
call fcn.0041f788
mov byte [ebp + 0xf], bl
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.004281f2
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