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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611a3b
mov eax, dword fs:[0]
push eax
mov eax, 0x25f4
call fcn.005e3200
mov eax, dword [0x6eff0c]
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.005b8d40
inc dword [0x831960]
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.005b9a20
add esp, 0xc
test al, al
jne 0x405e16
push str.failed1_n
call fcn.005b8d40
add esp, 4
jmp 0x405e31
mov edx, dword [ebp - 0x2594]
mov eax, dword [ebp - 0x2598]
push edx
push eax
push str._08x__d_n
call fcn.005b8d40
add esp, 0xc
lea ecx, [ebx + 0x2169c]
push ecx
lea edi, [ebp - 0x618]
call fcn.0040e6d0
mov esi, edi
call fcn.00405d20
test al, al
je 0x405e74
push 0xffffffffffffffff
call fcn.005c6cc0
add esp, 4
push eax
push 0xffffffffffffffff
call fcn.005c6cc0
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 0x8310b0
lea ecx, [ebp - 0xe18]
push str._WOUpdatedOk__s__WOLogin___s_
push ecx
call fcn.00406c80
add esp, 0x10
cmp dword [ebx + 0x21d54], 0
jbe 0x405ee8
lea eax, [ebp - 0xe18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ea6
sub eax, edx
cmp dword [ebx + 0x21d58], 0x10
lea edx, [ebp + eax - 0xe18]
mov dword [ebp - 0x2590], edx
jb 0x405ecd
mov ebx, dword [ebx + 0x21d44]
jmp 0x405ed3
add ebx, 0x21d44
push ebx
lea eax, [ebp - 0x2590]
push str.__survey___s_
push eax
call fcn.0040e850
add esp, 0xc
cmp dword [0x8d87bc], 0
jl 0x405f2f
jg 0x405efc
cmp dword [0x8d87b8], 0
jbe 0x405f2f
lea eax, [ebp - 0xe18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405f05
sub eax, edx
lea edx, [ebp - 0x2590]
lea ecx, [ebp + eax - 0xe18]
push str.__steam
push edx
mov dword [ebp - 0x2590], ecx
call fcn.0040e850
add esp, 8
push 0x5b7b50
call fcn.005b7600
add esp, 4
jmp 0x405fa2
mov eax, dword [0x8d88ec]
mov esi, dword [0x8d88e8]
lea ecx, [ebp - 0x258f]
push ecx
lea edx, [ebp - 0x2590]
push edx
lea edi, [ebp - 0x258d]
lea ebx, [ebp - 0x258e]
mov dword [ebp - 0x2590], eax
call fcn.00410490
add esp, 8
cmp byte [ebp - 0x2590], 0
jne 0x406053
jmp 0x406044
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005e7159
jmp 0x4060b9
xor ebx, ebx
cmp dword [0x8d7544], ebx
je 0x4060e3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x8d7544]
cmp eax, 0x493e0
jbe 0x4060e3
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebx
call fcn.005e7159
jmp 0x406149
mov edi, dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
lea eax, [ebp - 0x258c]
push eax
push ebx
push 1
push ebx
mov dword [ebp - 0x258c], ebx
call edi
mov ecx, dword [ebp - 0x258c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea edx, [ebp - 0x258c]
push edx
push ebx
mov esi, eax
push 1
push esi
call edi
push ebx
push ebx
push 8
lea eax, [ebp - 0x25a0]
push eax
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 ecx, [ebp - 0x25f4]
push ebx
push ecx
call fcn.005e2250
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
mov dword [ebp - 0x25f8], 0x48
mov dword [ebp - 0x25b4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0xe18]
push eax
push str.ExEWarZ.exe
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x2588]
push str.__s_hs___hs
push edx
mov edx, 0xbb8
call fcn.0040fcc0
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.005bac30
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 [0x831960], 0
je 0x4062a0
dec dword [0x831960]
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.005de867
mov esp, ebp
pop ebp
ret