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

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x6e62de
call fcn.006899cc
sub esp, 0x280
push ebx
push esi
lea eax, [ebp - 0x6c]
mov esi, ecx
xor ebx, ebx
mov ecx, 0x7e5850
push eax
mov dword [ebp + 0x68], ebx
call fcn.004842f1
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x5c], ebx
jne 0x5d8de7
push str.ExePathNULLFailure
mov byte [ebp + 0x68], bl
lea ecx, [ebp + 0x4c]
push dword [ebp + 0x68]
mov dword [ebp + 0x4c], ebx
push 0x12
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], 0xf
mov byte [ebp + 0x4c], bl
call fcn.00416cb0
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0045f672
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], bl
cmp eax, 0x10
jb 0x5d8dcf
mov ecx, dword [ebp + 0x4c]
inc eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x5d8dc6
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
lea eax, [ebp + 0x68]
mov dword [ebp + 0x68], 9
push eax
lea ecx, [esi + 0x40]
call fcn.004421a5
jmp 0x5d94b6
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
jb 0x5d8df3
mov eax, dword [ebp - 0x6c]
push edi
push 0x6f689c
push 0x6f68b8
push eax
mov edi, 0x6f68bc
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00475719
add esp, 0x14
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
jb 0x5d8e21
mov eax, dword [ebp - 0x6c]
push str.updates_
push 0x6f68b8
push eax
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.00475719
add esp, 0x14
push 0x104
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 3
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x10], 7
call fcn.004482e2
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 4
push eax
call fcn.0046f5a7
xor ecx, ecx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x3c], cx
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 7
call fcn.004482e2
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0046fa21
test al, al
jne 0x5d8f68
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x5d8ec9
mov eax, dword [ebp - 0x24]
push eax
push str.Relocate_Version_didnt_find_updates_in_path:__S
push 0x40
call fcn.0049be8f
add esp, 0xc
mov byte [ebp + 0x68], bl
mov dword [ebp + 0x4c], ebx
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], 0xf
push str.RelocateVersionFail
push dword [ebp + 0x68]
mov byte [ebp + 0x4c], bl
push 0x13
call fcn.00416cb0
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 6
push str._status_:_Build_not_running_from_updates_dir_
push eax
call fcn.004756fb
pop ecx
pop ecx
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 7
push ecx
push eax
mov ecx, esi
call fcn.005d9b62
lea ecx, [ebp + 0x34]
call fcn.0040fad0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x5d940a
mov ecx, dword [ebp + 0x4c]
inc eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], ecx
cmp eax, 0x1000
jb 0x5d8f5a
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
jmp 0x5d940a
mov edi, ebx
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
jb 0x5d8f7c
mov eax, dword [ebp - 0x84]
push dword [edi*4 + 0x749efc]
push eax
lea eax, [ebp + 0x34]
push 0x6f6e0c
push eax
call fcn.00475719
add esp, 0x10
cmp dword [ebp + 0x48], 8
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 8
jb 0x5d8fa5
mov eax, dword [ebp + 0x34]
push dword [edi*4 + 0x749efc]
mov ecx, esi
push eax
call fcn.005d6717
test al, al
je 0x5d93d9
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call fcn.0044823e
inc edi
cmp edi, 1
jb 0x5d8f6a
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x5d8fda
mov eax, dword [ebp - 0x24]
mov edi, 0x6f689c
mov ecx, esi
push edi
push eax
call fcn.005d6717
test al, al
jne 0x5d9021
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
jb 0x5d8ff8
mov eax, dword [ebp - 0x3c]
push edi
push eax
push str.Failed_to_CopyVersionToInstallDir__S__S
push 0x40
call fcn.0049be8f
add esp, 0x10
mov dword [ebp + 0x68], 9
lea eax, [ebp + 0x68]
lea ecx, [esi + 0x40]
push eax
call fcn.004421a5
jmp 0x5d940a
mov ecx, esi
call fcn.005d7ba3
mov edi, eax
test edi, edi
je 0x5d9045
lea eax, [ebp + 0x34]
mov ecx, edi
push eax
call fcn.005d779a
xor ecx, ecx
inc ecx
cmp dword [eax + 0x10], ebx
je 0x5d9048
mov bl, cl
jmp 0x5d9048
mov ecx, dword [ebp + 0x68]
test cl, 1
je 0x5d9055
lea ecx, [ebp + 0x34]
call fcn.0044823e
test bl, bl
je 0x5d90e4
lea eax, [ebp]
mov ecx, 0x7e5850
push eax
call fcn.004842f1
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 9
jb 0x5d9077
mov eax, dword [eax]
push str..lng
push 0x6fb894
push 0x6f68b8
push eax
lea eax, [ebp + 0x34]
push 0x6f6df8
push eax
call fcn.00475719
add esp, 0x18
lea ecx, [ebp]
mov byte [ebp - 4], 0xb
call fcn.0044823e
lea eax, [ebp + 0x4c]
mov ecx, edi
push eax
call fcn.005d779a
cmp dword [ebp + 0x48], 8
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 0xc
jb 0x5d90bf
mov ecx, dword [ebp + 0x34]
cmp dword [eax + 0x14], 8
jb 0x5d90c7
mov eax, dword [eax]
push 1
push 1
push 0
push ecx
push eax
call fcn.0047e5d9
lea ecx, [ebp + 0x4c]
call fcn.0044823e
lea ecx, [ebp + 0x34]
call fcn.0044823e
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
and dword [ebp + 0x1c], 0
mov ebx, eax
and dword [ebp + 0x2c], 0
xor eax, eax
mov dword [ebp + 0x30], 7
mov word [ebp + 0x1c], ax
xor edi, edi
mov byte [ebp - 4], 0xd
inc edi
cmp dword [ebp + 0x18], edi
jle 0x5d9244
and dword [ebp + 0x4c], 0
lea ecx, [ebp + 0x4c]
push dword [ebx + edi*4]
and dword [ebp + 0x5c], 0
xor eax, eax
mov dword [ebp + 0x60], 7
mov word [ebp + 0x4c], ax
call fcn.004482e2
push str._LOG
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0xe
call fcn.00457121
test al, al
je 0x5d91fb
and dword [ebp], 0
lea ecx, [ebp]
and dword [ebp + 0x10], 0
xor eax, eax
push 0x6f5d68
mov dword [ebp + 0x14], 7
mov word [ebp], ax
call fcn.004482e2
cmp dword [ebp + 0x60], 8
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 0xf
jb 0x5d9187
mov eax, dword [ebp + 0x4c]
push dword [ebp + 0x5c]
lea ecx, [ebp]
push eax
call fcn.00448284
push eax
lea ecx, [ebp + 0x34]
call fcn.00447f71
cmp dword [ebp + 0x48], 8
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 0x10
jb 0x5d91ac
mov eax, dword [ebp + 0x34]
push dword [ebp + 0x44]
lea ecx, [ebp + 0x1c]
push eax
call fcn.00448284
lea ecx, [ebp + 0x34]
call fcn.0044823e
mov eax, dword [ebp + 0x14]
cmp eax, 8
jb 0x5d91fb
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], ecx
cmp eax, 0x1000
jb 0x5d91f2
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x5d923a
mov ecx, dword [ebp + 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x68], eax
cmp eax, 0x1000
jb 0x5d9231
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp + 0x18]
jl 0x5d911c
push str.__RELOCATED
lea ecx, [ebp + 0x1c]
call fcn.004578e2
push 8
pop ebx
lea ecx, [ebp + 0x1c]
cmp dword [ebp + 0x30], ebx
jb 0x5d925f
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], ebx
jb 0x5d926a
mov eax, dword [ebp - 0x54]
push ecx
push eax
mov edi, str.Launching__S_with_command_line:__S_n
push edi
call fcn.00412af0
add esp, 0xc
lea ecx, [ebp + 0x1c]
cmp dword [ebp + 0x30], ebx
jb 0x5d9285
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], ebx
jb 0x5d9290
mov eax, dword [ebp - 0x54]
push ecx
push eax
push edi
push 0x40
call fcn.0049be8f
add esp, 0x10
mov ecx, esi
call fcn.005da4d9
lea ecx, [ebp + 0x1c]
cmp dword [ebp + 0x30], ebx
jb 0x5d92af
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], ebx
jb 0x5d92ba
mov eax, dword [ebp - 0x54]
push 1
xor ebx, ebx
push ebx
push ecx
push eax
push 0x6f657c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
push edi
push str.RelocateVersion:_ShellExecute_returned__d.
push 0x40
call fcn.0049be8f
add esp, 0xc
cmp edi, 0x20
jg 0x5d9372
push str.RelocateVersionFail
mov byte [ebp + 0x68], bl
lea ecx, [ebp]
push dword [ebp + 0x68]
mov dword [ebp], ebx
push 0x13
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], 0xf
mov byte [ebp], bl
call fcn.00416cb0
push edi
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 0x11
push str._status_:_ShellExecute_returned__d_
push eax
call fcn.004756fb
add esp, 0xc
lea ecx, [ebp]
mov byte [ebp - 4], 0x12
push ecx
push eax
mov ecx, esi
call fcn.005d9b62
lea ecx, [ebp + 0x34]
call fcn.0040fad0
mov eax, dword [ebp + 0x14]
cmp eax, 0x10
jb 0x5d9385
mov ecx, dword [ebp]
inc eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], ecx
cmp eax, 0x1000
jb 0x5d9367
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
jmp 0x5d9385
lea eax, [ebp + 0x68]
mov dword [ebp + 0x68], 3
push eax
lea ecx, [esi + 0x40]
call fcn.004421a5
mov eax, dword [ebp + 0x30]
cmp edi, 0x20
setg bl
cmp eax, 8
jb 0x5d93c6
mov ecx, dword [ebp + 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], ecx
cmp eax, 0x1000
jb 0x5d93bd
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [ebp + 0x2c], 0
xor eax, eax
mov dword [ebp + 0x30], 7
mov word [ebp + 0x1c], ax
jmp 0x5d940a
push dword [edi*4 + 0x749efc]
push str.Failed_to_CopyVersionToInstallDir__S
push 0x40
call fcn.0049be8f
add esp, 0xc
mov dword [ebp + 0x68], 9
lea eax, [ebp + 0x68]
lea ecx, [esi + 0x40]
push eax
call fcn.004421a5
lea ecx, [ebp + 0x34]
call fcn.0044823e
mov eax, dword [ebp - 0x28]
pop edi
cmp eax, 8
jb 0x5d9446
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], ecx
cmp eax, 0x1000
jb 0x5d943d
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [ebp - 0x2c], 0
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], 7
cmp eax, 8
jb 0x5d9492
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], ecx
cmp eax, 0x1000
jb 0x5d9489
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.0044823e
lea ecx, [ebp - 0x54]
call fcn.0044823e
lea ecx, [ebp - 0x6c]
call fcn.0044823e
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x6c
leave
ret