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

Disassembly:
mov eax, 0x6be057
call fcn.00664608
sub esp, 0x70
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
cmp byte [esi + 0x2a], 0
je 0x5b96a4
push str.LaunchTargetVersion_exited_to_prevent_launch_loop_
push 0x40
call fcn.0047d9cc
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.0041039b
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], ebx
push str._status_:_Prevent_Launch_loop._
push eax
call fcn.004577d4
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
push ecx
push eax
mov ecx, esi
call fcn.005baccd
lea ecx, [ebp - 0x7c]
call fcn.00410858
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x5b969d
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5b9694
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor al, al
jmp 0x5b9b18
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 0x5b984a
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.00427ba3
push str._LOG
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00436e07
test al, al
jne 0x5b975a
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5b983d
mov ecx, dword [ebp - 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x5b9834
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
jmp 0x5b9834
xor eax, eax
mov dword [ebp - 0x64], ebx
push 0x6cdce8
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.00427ba3
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
jb 0x5b978a
mov eax, dword [ebp - 0x4c]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x64]
push eax
call fcn.00427b45
push eax
lea ecx, [ebp - 0x7c]
call fcn.004277f3
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
jb 0x5b97af
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x34]
push eax
call fcn.00427b45
lea ecx, [ebp - 0x7c]
call fcn.00427afc
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x5b97fe
mov ecx, dword [ebp - 0x64]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5b97f5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5b983d
mov ecx, dword [ebp - 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5b9834
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x5b96e4
mov esi, dword [ebp - 0x1c]
cmp byte [ebp + 0xc], 0
je 0x5b985d
push str.__CAU
lea ecx, [ebp - 0x34]
call fcn.00437714
push str.__LAUNCHED
lea ecx, [ebp - 0x34]
call fcn.00437714
mov edi, dword [ebp + 8]
test edi, edi
je 0x5b9a23
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x5b9881
mov eax, dword [ebp - 0x34]
push eax
push dword [edi + 0x30]
push str.Launching_version:__d_with_command_line:__S_n
call fcn.0040fa51
add esp, 0xc
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
jb 0x5b989e
mov eax, dword [ebp - 0x34]
push eax
push dword [edi + 0x30]
push str.Launching_version:__d_with_command_line:__S
push 0x40
call fcn.0047d9cc
add esp, 0x10
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.005b873a
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x5b98c8
mov eax, dword [eax]
push eax
push str.Target_path:__S
push 0x40
call fcn.0047d9cc
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00427afc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.005b8a3d
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x5b98fb
mov eax, dword [eax]
push eax
push str.JSON_dump:__s
push 0x40
call fcn.0047d9cc
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00410858
cmp byte [esi + 0x23], 0
mov ecx, esi
sete al
mov byte [esi + 0x28], al
call fcn.005bb644
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.005b873a
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
jb 0x5b993f
mov ecx, dword [ebp - 0x34]
cmp dword [eax + 0x14], 8
jb 0x5b9947
mov eax, dword [eax]
push 1
push ebx
push ecx
push eax
push 0x6ce504
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x7c]
mov edi, eax
call fcn.00427afc
push edi
push str.LaunchVersion:_ShellExecute_returned__d.
push 0x40
call fcn.0047d9cc
add esp, 0xc
cmp edi, 0x20
jg 0x5b9a05
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.0041039b
push edi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push str._status_:_ShellExecute_returned:_d_
push eax
call fcn.004577d4
add esp, 0xc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
push ecx
push eax
mov ecx, esi
call fcn.005baccd
lea ecx, [ebp - 0x4c]
call fcn.00410858
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x5b9a18
mov ecx, dword [ebp - 0x64]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5b99fa
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
jmp 0x5b9a18
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 4
push eax
lea ecx, [esi + 0x40]
call fcn.00420f31
cmp edi, 0x20
setg bl
jmp 0x5b9ada
push str.LaunchTargetVersion_failed._No_target_version_found._n
call fcn.0040fa51
mov dword [esp], str.LaunchTargetVersion_failed__No_target_version_found.
push 0x40
call fcn.0047d9cc
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.0041039b
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
push str._status_:_No_target_version_found_
push eax
call fcn.004577d4
pop ecx
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
push ecx
push eax
mov ecx, esi
call fcn.005baccd
lea ecx, [ebp - 0x7c]
call fcn.00410858
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x5b9ac7
mov ecx, dword [ebp - 0x64]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5b9abe
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 8
push eax
lea ecx, [esi + 0x40]
call fcn.00420f31
mov eax, dword [ebp - 0x20]
pop edi
cmp eax, 8
jb 0x5b9b16
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5b9b0d
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8