Function at 0x4049f0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f5b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x264
mov eax, dword [0x416040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404a71
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00409810
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x224], 7
mov esi, dword [ebp - 0x228]
mov edx, esi
cmova ecx, dword [ebp - 0x238]
push 1
sub esp, 8
call fcn.00409190
mov ecx, eax
mov dword [ebp - 0x260], 0
add esp, 0xc
mov dword [ebp - 0x25c], 0
cmp esi, ecx
lea eax, [ebp - 0x238]
xorps xmm0, xmm0
cmovb ecx, esi
cmp dword [ebp - 0x224], 7
push ecx
cmova eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x270]
push eax
movups xmmword [ebp - 0x270], xmm0
call fcn.00409810
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x404b49
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404c60
push ecx
push edx
call fcn.0040e363
add esp, 8
movups xmm0, xmmword [ebp - 0x270]
mov eax, 0x7ffffffe
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [ebp - 0x260]
movq qword [ebp - 0x228], xmm0
mov ecx, dword [ebp - 0x228]
sub eax, ecx
cmp eax, 9
jb 0x404c8d
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 9
cmova eax, dword [ebp - 0x238]
push str.game.exe
push ecx
push eax
push ecx
push dword [ebp - 0x258]
lea ecx, [ebp - 0x250]
call fcn.0040a0f0
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
push 1
cmova eax, dword [ebp - 0x250]
push 0
push 0
push eax
push 0
push dword [ebp - 0x254]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x404c11
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404c07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404c60
push ecx
push edx
call fcn.0040e363
add esp, 8
mov ecx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp ecx, 7
jbe 0x404c70
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404c66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404c66
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e363
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e325
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401170
int3