Function at 0x59d872
Capabilities:
Accept command line arguments
Create process on windows
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x67c0e9
call fcn.006313fc
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
cmp byte [edi + 0x26], 0
je 0x59d8f9
push str.LaunchTargetVersion_exited_to_prevent_launch_loop_
push 0x40
call fcn.00484d2b
pop ecx
pop ecx
push str.LaunchTargetVersionFail
lea ecx, [esp + 0x34]
call fcn.00409ba7
lea eax, [esp + 0x48]
xor ebx, ebx
push str._status_:_Prevent_Launch_loop._
push eax
mov dword [esp + 0x88], ebx
call fcn.00472228
pop ecx
pop ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
push ecx
push eax
mov ecx, edi
call fcn.0059eaf6
xor esi, esi
lea ecx, [esp + 0x48]
push ebx
inc esi
push esi
call fcn.0040a0e9
push ebx
push esi
lea ecx, [esp + 0x38]
call fcn.0040a0e9
xor al, al
jmp 0x59dc85
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x14], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
xor esi, esi
mov dword [esp + 0x84], 2
xor ebp, ebp
inc esi
inc ebp
cmp dword [esp + 0x10], esi
jle 0x59d9ee
mov edi, dword [esp + 0x14]
push dword [edi + ebp*4]
lea ecx, [esp + 0x38]
call fcn.004249e7
push str._LOG
mov byte [esp + 0x88], 3
call fcn.004236bc
pop ecx
push eax
push str._LOG
push dword [esp + 0x4c]
lea ecx, [esp + 0x40]
push ebx
call fcn.00434bba
test eax, eax
jne 0x59d9cc
push 0x689678
lea ecx, [esp + 0x68]
call fcn.004249e7
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 4
push ecx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00422e36
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 5
call fcn.00423462
push ebx
push esi
lea ecx, [esp + 0x54]
call fcn.0042341c
push ebx
push esi
lea ecx, [esp + 0x6c]
call fcn.0042341c
push ebx
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 2
call fcn.0042341c
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x59d944
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x94], 0
je 0x59da0f
mov ebp, str.__CAU
push ebp
call fcn.004236bc
pop ecx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.004234f9
mov ebp, str.__LAUNCHED
push ebp
call fcn.004236bc
pop ecx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.004234f9
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x59dbdc
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x59da44
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x30]
push str.Launching_version:__d_with_command_line:__S_n
call fcn.00408ce1
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x30], 8
jae 0x59da64
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x30]
push str.Launching_version:__d_with_command_line:__S
push 0x40
call fcn.00484d2b
add esp, 0x10
lea eax, [esp + 0x64]
mov ecx, ebp
push eax
call fcn.0059cd6b
cmp dword [eax + 0x14], 8
mov byte [esp + 0x84], 6
jb 0x59da93
mov eax, dword [eax]
push eax
push str.Target_path:__S
push 0x40
call fcn.00484d2b
add esp, 0xc
mov byte [esp + 0x84], 2
lea ecx, [esp + 0x64]
push ebx
push esi
call fcn.0042341c
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.0059cf48
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x84], 7
jb 0x59dad2
mov eax, dword [eax]
push eax
push str.JSON_dump:__s
push 0x40
call fcn.00484d2b
add esp, 0xc
mov byte [esp + 0x84], 2
lea ecx, [esp + 0x64]
push ebx
push esi
call fcn.0040a0e9
cmp byte [edi + 0x1e], 0
mov ecx, edi
sete al
mov byte [edi + 0x24], al
call fcn.0059f2b1
lea eax, [esp + 0x64]
mov ecx, ebp
push eax
call fcn.0059cd6b
cmp dword [esp + 0x30], 8
mov ecx, dword [esp + 0x1c]
jae 0x59db21
lea ecx, [esp + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x59db29
mov eax, dword [eax]
push esi
push ebx
push ecx
push eax
push 0x689f9c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push esi
lea ecx, [esp + 0x6c]
mov ebp, eax
call fcn.0042341c
push ebp
push str.LaunchVersion:_ShellExecute_returned__d.
push 0x40
call fcn.00484d2b
add esp, 0xc
cmp ebp, 0x20
jg 0x59dbb1
push str.LaunchTargetVersionFail
lea ecx, [esp + 0x38]
call fcn.00409ba7
push ebp
lea eax, [esp + 0x50]
mov byte [esp + 0x88], 8
push str._status_:_ShellExecute_returned:_d_
push eax
call fcn.00472228
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 9
push ecx
push eax
mov ecx, edi
call fcn.0059eaf6
push ebx
push esi
lea ecx, [esp + 0x54]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.0040a0e9
jmp 0x59dbcc
lea eax, [esp + 0x94]
mov dword [esp + 0x94], 4
push eax
lea ecx, [edi + 0x38]
call fcn.0041a6a0
cmp ebp, 0x20
setg byte [esp + 0x94]
jmp 0x59dc72
push str.LaunchTargetVersion_failed._No_target_version_found._n
call fcn.00408ce1
mov dword [esp], str.LaunchTargetVersion_failed__No_target_version_found.
push 0x40
call fcn.00484d2b
pop ecx
pop ecx
push str.LaunchTargetVersionFail
lea ecx, [esp + 0x38]
call fcn.00409ba7
lea eax, [esp + 0x64]
mov byte [esp + 0x84], 0xa
push str._status_:_No_target_version_found_
push eax
call fcn.00472228
pop ecx
pop ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0xb
push ecx
push eax
mov ecx, edi
call fcn.0059eaf6
push ebx
push esi
lea ecx, [esp + 0x6c]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 2
call fcn.0040a0e9
lea eax, [esp + 0x94]
mov dword [esp + 0x94], 8
push eax
lea ecx, [edi + 0x38]
call fcn.0041a6a0
mov byte [esp + 0x94], bl
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.0042341c
mov al, byte [esp + 0x94]
pop ebp
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8