Function at 0x40e780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4114de
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x41700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407a10
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x30]
cmovae ecx, dword [ebp + 0x20]
add eax, ecx
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xe4]
call fcn.00407a10
mov esi, eax
mov byte [ebp - 4], 3
mov ecx, accept
mov edx, dword [ebp - 0x18]
sub ecx, edx
cmp ecx, 1
jb 0x40eb4e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb4]
push eax
push 1
sub esp, 8
push dword [ebp - 0x9c]
call fcn.00407da0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa0]
mov eax, edx
mov ecx, dword [ebp - 0xa4]
sub eax, ecx
cmp eax, 1
jb 0x40e883
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xb4]
cmovae eax, dword [ebp - 0xb4]
mov dword [eax + ecx*2], 0x22
lea eax, [ebp - 0xb4]
jmp 0x40e8a0
push 1
push ecx
mov byte [ebp - 0x9c], 0
lea ecx, [ebp - 0xb4]
push dword [ebp - 0x9c]
push 1
call fcn.0040eb60
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0xcc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xbc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x40]
call fcn.0040ece0
mov ecx, dword [ebp - 0xb8]
cmp ecx, 8
jb 0x40e924
mov edx, dword [ebp - 0xcc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e91a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9af
push ecx
push edx
call fcn.0040f66d
add esp, 8
mov ecx, dword [ebp - 0xa0]
cmp ecx, 8
jb 0x40e960
mov edx, dword [ebp - 0xb4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e956
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9af
push ecx
push edx
call fcn.0040f66d
add esp, 8
mov ecx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
cmp ecx, 8
jb 0x40e9bf
mov edx, dword [ebp - 0xe4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e9b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040f66d
add esp, 8
push 0x40
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push edx
cmovae eax, dword [ebp - 0x28]
lea edx, [ebp - 0x94]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x2c]
test eax, eax
setne byte [ebp - 0x95]
cmp ecx, 8
jb 0x40ea54
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb1e
push ecx
push edx
call fcn.0040f66d
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40eaa2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb1e
push ecx
push edx
call fcn.0040f66d
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x40eae6
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eadc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb1e
push ecx
push edx
call fcn.0040f66d
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40eb2e
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40eb24
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040f66d
add esp, 8
mov al, byte [ebp - 0x95]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f11c
mov esp, ebp
pop ebp
ret
call fcn.00401420
int3