Function at 0x405d70
Capabilities:
Create process on windows
Create process suspended
Get common file path
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6194eb
mov eax, dword fs:[0]
push eax
mov eax, 0x25f4
call fcn.005e59c0
mov eax, dword [0x6fadcc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Starting_game_n
mov ebx, ecx
call fcn.005bb3d0
inc dword [0x83cb60]
add esp, 4
push 6
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x2594]
push eax
lea ecx, [ebp - 0x2598]
push ecx
push str.ExEWarZ.exe
call fcn.005bc120
add esp, 0xc
test al, al
jne 0x405df6
push str.failed1_n
call fcn.005bb3d0
add esp, 4
jmp 0x405e11
mov edx, dword [ebp - 0x2594]
mov eax, dword [ebp - 0x2598]
push edx
push eax
push str._08x__d_n
call fcn.005bb3d0
add esp, 0xc
lea ecx, [ebx + 0x2169c]
push ecx
lea edi, [ebp - 0x618]
call fcn.0040e6b0
mov esi, edi
call fcn.00405d00
test al, al
je 0x405e54
push 0xffffffffffffffff
call fcn.005c9370
add esp, 4
push eax
push 0xffffffffffffffff
call fcn.005c9370
add esp, 4
push eax
mov edx, edi
push str._08X_08X
push edx
call fcn.00401ac0
add esp, 0x10
lea eax, [ebp - 0x618]
push eax
push 0x83c2b0
lea ecx, [ebp - 0xe18]
push str._WOUpdatedOk__s__WOLogin___s_
push ecx
call fcn.00406cd0
add esp, 0x10
cmp dword [ebx + 0x21d54], 0
jbe 0x405ec8
lea eax, [ebp - 0xe18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405e86
sub eax, edx
cmp dword [ebx + 0x21d58], 0x10
lea edx, [ebp + eax - 0xe18]
mov dword [ebp - 0x2590], edx
jb 0x405ead
mov eax, dword [ebx + 0x21d44]
jmp 0x405eb3
lea eax, [ebx + 0x21d44]
push eax
lea eax, [ebp - 0x2590]
push str.__survey___s_
push eax
call fcn.00406db0
add esp, 0xc
cmp dword [0x8e3c64], 0
jl 0x405f0f
jg 0x405edc
cmp dword [0x8e3c60], 0
jbe 0x405f0f
lea eax, [ebp - 0xe18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ee5
sub eax, edx
lea edx, [ebp - 0x2590]
lea ecx, [ebp + eax - 0xe18]
push str.__steam
push edx
mov dword [ebp - 0x2590], ecx
call fcn.00406db0
add esp, 8
push 0x5ba1e0
call fcn.005b9c90
mov eax, dword [ebx + 0x21834]
add esp, 4
push eax
call fcn.00603e20
add esp, 4
jmp 0x405f91
mov ecx, dword [0x8e3d94]
mov esi, dword [0x8e3d90]
lea edx, [ebp - 0x258f]
push edx
lea eax, [ebp - 0x2590]
push eax
lea edi, [ebp - 0x258d]
lea ebx, [ebp - 0x258e]
mov dword [ebp - 0x2590], ecx
call fcn.00410e40
add esp, 8
cmp byte [ebp - 0x2590], 0
jne 0x406043
jmp 0x406034
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005e9a28
jmp 0x4060a9
xor ebx, ebx
cmp dword [0x8e29ec], ebx
je 0x4060d3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x8e29ec]
cmp eax, 0x493e0
jbe 0x4060d3
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebx
call fcn.005e9a28
jmp 0x406139
mov edi, dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
lea ecx, [ebp - 0x258c]
push ecx
push ebx
push 1
push ebx
mov dword [ebp - 0x258c], ebx
call edi
mov edx, dword [ebp - 0x258c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
lea eax, [ebp - 0x258c]
push eax
push ebx
push 1
push esi
call edi
push ebx
push ebx
push 8
lea ecx, [ebp - 0x25a0]
push ecx
push 0x20007
push ebx
push esi
mov dword [ebp - 0x25a0], ebx
mov dword [ebp - 0x259c], 1
call dword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
push 0x44
lea edx, [ebp - 0x25f4]
push ebx
push edx
call fcn.005e4a10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 0x25f8], 0x48
mov dword [ebp - 0x25b4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0xe18]
push ecx
push str.ExEWarZ.exe
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x2588]
push str.__s_hs___hs
push eax
mov edx, 0xbb8
call fcn.0040fc80
add esp, 0x14
push ebx
push ebx
push 0xffffffffffffffff
push str.ExEWarZ.exe
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xfde9
call ebx
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005bd2e0
add esp, 4
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push str.ExEWarZ.exe
push 0
push 0xfde9
call ebx
lea eax, [ebp - 0x25b0]
push eax
lea ecx, [ebp - 0x25f8]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0x80004
push 0
push 0
push 0
lea eax, [ebp - 0x2588]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x25ac]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [0x83cb60], 0
je 0x406290
dec dword [0x83cb60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e0eb7
mov esp, ebp
pop ebp
ret