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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d76b
mov eax, dword fs:[0]
push eax
mov eax, 0x25f4
call fcn.005e1750
mov eax, dword [0x70bddc]
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.005b7200
inc dword [0x84d960]
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.005b7f50
add esp, 0xc
test al, al
jne 0x405d16
push str.failed1_n
call fcn.005b7200
add esp, 4
jmp 0x405d31
mov edx, dword [ebp - 0x2594]
mov eax, dword [ebp - 0x2598]
push edx
push eax
push str._08x__d_n
call fcn.005b7200
add esp, 0xc
lea ecx, [ebx + 0x21714]
push ecx
lea edi, [ebp - 0x618]
call fcn.0040e630
mov esi, edi
call fcn.00405c20
test al, al
je 0x405d74
push 0xffffffffffffffff
call fcn.005c5120
add esp, 4
push eax
push 0xffffffffffffffff
call fcn.005c5120
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 0x84cf90
lea ecx, [ebp - 0xe18]
push str._WOUpdatedOk__s__WOLogin___s_
push ecx
call fcn.00406b20
add esp, 0x10
cmp dword [ebx + 0x21db8], 0
jbe 0x405de8
lea eax, [ebp - 0xe18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405da6
sub eax, edx
cmp dword [ebx + 0x21dbc], 0x10
lea edx, [ebp + eax - 0xe18]
mov dword [ebp - 0x2590], edx
jb 0x405dcd
mov ebx, dword [ebx + 0x21da8]
jmp 0x405dd3
add ebx, 0x21da8
push ebx
lea eax, [ebp - 0x2590]
push str.__survey___s_
push eax
call fcn.0040e770
add esp, 0xc
cmp dword [0x8f46ac], 0
jl 0x405e2f
jg 0x405dfc
cmp dword [0x8f46a8], 0
jbe 0x405e2f
lea eax, [ebp - 0xe18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405e05
sub eax, edx
lea edx, [ebp - 0x2590]
lea ecx, [ebp + eax - 0xe18]
push str.__steam
push edx
mov dword [ebp - 0x2590], ecx
call fcn.0040e770
add esp, 8
jmp 0x405e95
mov eax, dword [0x8f47dc]
mov esi, dword [0x8f47d8]
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.0040efa0
add esp, 8
cmp byte [ebp - 0x2590], 0
jne 0x405f46
jmp 0x405f37
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005e5500
jmp 0x405fac
xor ebx, ebx
cmp dword [0x8f3430], ebx
je 0x405fd6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x8f3430]
cmp eax, 0x493e0
jbe 0x405fd6
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebx
call fcn.005e5500
jmp 0x40603c
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.005e0880
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.0040e790
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.005b91b0
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 [0x84d960], 0
je 0x406193
dec dword [0x84d960]
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.005dceb7
mov esp, ebp
pop ebp
ret