Function at 0x40e750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc122
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call fcn.0048f1a0
add esp, 0xc
test edi, edi
je 0x40e9e3
push 1
xor eax, eax
mov dword [ebp - 0x818], 7
push 0x4dbd64
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
call fcn.004063e0
push esi
lea edx, [ebp - 0x82c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88c]
call fcn.00410500
push 0x4dbd64
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x874]
call fcn.00410c80
add esp, 8
cmp dword [ebp - 0x878], 8
jb 0x40e823
push dword [ebp - 0x88c]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x878], 7
mov dword [ebp - 0x87c], 0
mov word [ebp - 0x88c], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x818], 8
jb 0x40e85b
push dword [ebp - 0x82c]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
mov dword [ebp - 0x848], 7
mov dword [ebp - 0x84c], eax
mov word [ebp - 0x85c], ax
cmp word [edi], ax
jne 0x40e898
xor ecx, ecx
jmp 0x40e8af
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e8a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x85c]
call fcn.004063e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x844]
push 1
xor eax, eax
mov dword [ebp - 0x830], 7
push 0x4dbd60
mov dword [ebp - 0x834], 0
mov word [ebp - 0x844], ax
call fcn.004063e0
lea eax, [ebp - 0x85c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x844]
lea ecx, [ebp - 0x8a4]
call fcn.004103b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x874]
mov byte [ebp - 4], 7
call fcn.0040c3a0
cmp dword [ebp - 0x890], 8
jb 0x40e939
push dword [ebp - 0x8a4]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x890], 7
cmp dword [ebp - 0x830], 8
mov dword [ebp - 0x894], 0
mov word [ebp - 0x8a4], ax
jb 0x40e96d
push dword [ebp - 0x844]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x830], 7
cmp dword [ebp - 0x848], 8
mov dword [ebp - 0x834], 0
mov word [ebp - 0x844], ax
jb 0x40e9a1
push dword [ebp - 0x85c]
call fcn.00486360
add esp, 4
cmp dword [ebp - 0x860], 8
lea eax, [ebp - 0x874]
cmovae eax, dword [ebp - 0x874]
push eax
lea eax, [ebp - 0x814]
push 0x3ff
push eax
call fcn.0048cb20
add esp, 0xc
cmp dword [ebp - 0x860], 8
jb 0x40ea00
push dword [ebp - 0x874]
call fcn.00486360
add esp, 4
jmp 0x40ea00
cmp dword [esi + 0x14], 8
jb 0x40e9eb
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x814]
push 0x3ff
push eax
call fcn.0048cb20
add esp, 0xc
push 0x40
lea eax, [ebp - 0x900]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x8b8], xmm0
call fcn.0048f1a0
add esp, 0xc
mov dword [ebp - 0x904], 0x44
xor eax, eax
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x8d4], eax
mov dword [ebp - 0x8d0], eax
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x904]
mov dword [ebp - 0x8fc], 0
push eax
push ebx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x814]
mov dword [ebp - 0x8f8], 0
push eax
push 0
mov dword [ebp - 0x8d8], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40ea8f
or eax, 0xffffffff
jmp 0x40eab5
push dword [ebp - 0x8b8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x8a8], 0
call esi
push dword [ebp - 0x8b4]
call esi
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret