Function at 0x41c640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x8cc
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0x44
lea eax, [ebp - 0x884]
push 0
push eax
call fcn.0059e610
lea eax, [esi + 0xcc]
mov dword [ebp - 0x884], 0x44
push eax
push dword [esi + 0xc8]
lea eax, [esi + 0x48]
xorps xmm0, xmm0
push eax
push dword [esi + 0x44]
lea eax, [esi + 4]
push eax
push dword [esi]
lea eax, [ebp - 0x840]
push str._data:gameid_dgamename_sareaid_dareaname_sserverid_dservername_s
push eax
movups xmmword [ebp - 0x894], xmm0
call fcn.0041af80
add esp, 0x2c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x840]
cmp dword [ebp - 0x82c], 8
cmovae ecx, dword [ebp - 0x840]
cmp dword [edi + 0x14], 8
jb 0x41c6e8
mov eax, dword [edi]
jmp 0x41c6ea
mov eax, edi
push ecx
push eax
lea eax, [ebp - 0x828]
push str.__s__s
push eax
call fcn.0041af80
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0059e610
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
push eax
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call fcn.005ab8eb
add esp, 0x2c
lea eax, [ebp - 0x894]
push eax
lea eax, [ebp - 0x884]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41c810
push 0x38
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0059e610
add esp, 0xc
mov dword [ebp - 0x8d0], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x8cc], 0x40
mov dword [ebp - 0x8c8], 0
mov dword [ebp - 0x8c4], str.open
jb 0x41c7b9
mov edi, dword [edi]
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov dword [ebp - 0x8c0], edi
cmovae eax, dword [ebp - 0x840]
mov dword [ebp - 0x8bc], eax
lea eax, [ebp - 0x8d0]
push eax
mov dword [ebp - 0x8b8], 0x64c600
mov dword [ebp - 0x8b4], 5
mov dword [ebp - 0x8b0], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
sete byte [ebp - 0x8d1]
jmp 0x41c86d
push dword [ebp - 0x894]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x890]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x26
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.563006C4_8991_44CF_8E98_6490E05B9771
mov word [ecx], ax
call fcn.004166c0
call fcn.0041aa00
add esp, 0x18
test eax, eax
jne 0x41c866
push 0x64
call esi
jmp 0x41c830
mov byte [ebp - 0x8d1], 1
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x41c88b
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00416980
mov ecx, dword [ebp - 0x82c]
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp ecx, 8
jb 0x41c8c6
inc ecx
push ecx
push dword [ebp - 0x840]
lea ecx, [ebp - 0x840]
call fcn.00416980
mov al, byte [ebp - 0x8d1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret