Function at 0x4011d0
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 0x4f5135
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x511080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0xac], edx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401231
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004016d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x4feda0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.004016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
mov edi, dword [ebp - 0x30]
cmp edi, 7
mov esi, dword [ebp - 0x34]
mov edx, esi
cmova ecx, dword [ebp - 0x44]
push 4
push str..exe
push ecx
call fcn.00401640
add esp, 0xc
cmp eax, 0xffffffff
je 0x4012a5
lea ecx, [eax + 4]
jmp 0x4012c9
cmp edi, 7
lea ecx, [ebp - 0x44]
push 3
cmova ecx, dword [ebp - 0x44]
mov edx, esi
push 0x4fedb0
push ecx
call fcn.00401640
add esp, 0xc
cmp eax, 0xffffffff
je 0x40133d
lea ecx, [eax + 3]
cmp esi, ecx
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], 0
cmovb ecx, esi
xorps xmm0, xmm0
cmp edi, 7
push ecx
cmova eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push eax
movups xmmword [ebp - 0x5c], xmm0
call fcn.004016d0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004015a0
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x40133d
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401333
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401537
push ecx
push edx
call fcn.004d2f2b
add esp, 8
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004d79f3
add esp, 8
test eax, eax
je 0x4013ea
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x401395
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40138b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401537
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x4013e3
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4013d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401537
push ecx
push edx
call fcn.004d2f2b
add esp, 8
xor eax, eax
jmp 0x401519
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], eax
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xa8]
movlpd qword [ebp - 0x98], xmm0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push dword [ebp - 0xac]
movups xmmword [ebp - 0x54], xmm0
push 0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x70], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0xa8], 0x44
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], str.winsta0default
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x7c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x401497
mov ecx, dword [ebp - 0x4c]
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x514c08], ecx
call esi
push dword [ebp - 0x50]
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4014cd
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4014c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401537
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x401517
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40150d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401537
push ecx
push edx
call fcn.004d2f2b
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d2eed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004d7de5
int3