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

Disassembly:
mov eax, 0x6e61c8
call fcn.006899cc
sub esp, 0x70
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
cmp byte [esi + 0x2a], 0
je 0x5d834e
push str.LaunchTargetVersion_exited_to_prevent_launch_loop_
push 0x40
call fcn.0049be8f
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x38], 0xf
push str.LaunchTargetVersionFail
mov byte [ebp + 0xc], bl
lea ecx, [ebp - 0x4c]
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], ebx
push 0x17
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00416cb0
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], ebx
push str._status_:_Prevent_Launch_loop._
push eax
call fcn.004756fb
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
push ecx
push eax
mov ecx, esi
call fcn.005d9b62
lea ecx, [ebp - 0x7c]
call fcn.0040fad0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x5d8347
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5d833e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
xor al, al
jmp 0x5d87c2
push edi
lea eax, [ebp - 0x18]
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 eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
xor edi, edi
mov dword [ebp - 4], 2
inc edi
cmp dword [ebp - 0x18], edi
jle 0x5d84f4
mov esi, dword [ebp - 0x14]
push dword [esi + edi*4]
xor eax, eax
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.004482e2
push str._LOG
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00457121
test al, al
jne 0x5d8404
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5d84e7
mov ecx, dword [ebp - 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x5d84de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
jmp 0x5d84de
xor eax, eax
mov dword [ebp - 0x64], ebx
push 0x6f5d68
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.004482e2
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
jb 0x5d8434
mov eax, dword [ebp - 0x4c]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x64]
push eax
call fcn.00448284
push eax
lea ecx, [ebp - 0x7c]
call fcn.00447f71
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
jb 0x5d8459
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x34]
push eax
call fcn.00448284
lea ecx, [ebp - 0x7c]
call fcn.0044823e
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x5d84a8
mov ecx, dword [ebp - 0x64]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5d849f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5d84e7
mov ecx, dword [ebp - 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5d84de
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x5d838e
mov esi, dword [ebp - 0x1c]
cmp byte [ebp + 0xc], 0
je 0x5d8507
push str.__CAU
lea ecx, [ebp - 0x34]
call fcn.004578e2
push str.__LAUNCHED
lea ecx, [ebp - 0x34]
call fcn.004578e2
mov edi, dword [ebp + 8]
test edi, edi
je 0x5d86cd
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x5d852b
mov eax, dword [ebp - 0x34]
push eax
push dword [edi + 0x30]
push str.Launching_version:__d_with_command_line:__S_n
call fcn.00412af0
add esp, 0xc
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
jb 0x5d8548
mov eax, dword [ebp - 0x34]
push eax
push dword [edi + 0x30]
push str.Launching_version:__d_with_command_line:__S
push 0x40
call fcn.0049be8f
add esp, 0x10
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.005d73c4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5d8572
mov eax, dword [eax]
push eax
push str.Target_path:__S
push 0x40
call fcn.0049be8f
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0044823e
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.005d76c7
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x5d85a5
mov eax, dword [eax]
push eax
push str.JSON_dump:__s
push 0x40
call fcn.0049be8f
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0040fad0
cmp byte [esi + 0x23], 0
mov ecx, esi
sete al
mov byte [esi + 0x28], al
call fcn.005da4d9
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.005d73c4
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
jb 0x5d85e9
mov ecx, dword [ebp - 0x34]
cmp dword [eax + 0x14], 8
jb 0x5d85f1
mov eax, dword [eax]
push 1
push ebx
push ecx
push eax
push 0x6f657c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x7c]
mov edi, eax
call fcn.0044823e
push edi
push str.LaunchVersion:_ShellExecute_returned__d.
push 0x40
call fcn.0049be8f
add esp, 0xc
cmp edi, 0x20
jg 0x5d86af
push str.LaunchTargetVersionFail
mov byte [ebp + 0xc], bl
lea ecx, [ebp - 0x64]
push dword [ebp + 0xc]
mov dword [ebp - 0x64], ebx
push 0x17
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], bl
call fcn.00416cb0
push edi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push str._status_:_ShellExecute_returned:_d_
push eax
call fcn.004756fb
add esp, 0xc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
push ecx
push eax
mov ecx, esi
call fcn.005d9b62
lea ecx, [ebp - 0x4c]
call fcn.0040fad0
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x5d86c2
mov ecx, dword [ebp - 0x64]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5d86a4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
jmp 0x5d86c2
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 4
push eax
lea ecx, [esi + 0x40]
call fcn.004421a5
cmp edi, 0x20
setg bl
jmp 0x5d8784
push str.LaunchTargetVersion_failed._No_target_version_found._n
call fcn.00412af0
mov dword [esp], str.LaunchTargetVersion_failed__No_target_version_found.
push 0x40
call fcn.0049be8f
pop ecx
pop ecx
push str.LaunchTargetVersionFail
mov byte [ebp + 0xc], bl
lea ecx, [ebp - 0x64]
push dword [ebp + 0xc]
mov dword [ebp - 0x64], ebx
push 0x17
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], bl
call fcn.00416cb0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
push str._status_:_No_target_version_found_
push eax
call fcn.004756fb
pop ecx
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
push ecx
push eax
mov ecx, esi
call fcn.005d9b62
lea ecx, [ebp - 0x7c]
call fcn.0040fad0
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x5d8771
mov ecx, dword [ebp - 0x64]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5d8768
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 8
push eax
lea ecx, [esi + 0x40]
call fcn.004421a5
mov eax, dword [ebp - 0x20]
pop edi
cmp eax, 8
jb 0x5d87c0
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5d87b7
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8