Function at 0x40fffd
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x414156
call fcn.004124d9
xor ebx, ebx
cmp dword [0x417150], ebx
je 0x4100dd
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x41001d
sub eax, edx
sar eax, 1
push 0x40349c
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040a9c1
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
cmp eax, ebx
je 0x41005c
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x2c], ebx
jne 0x410083
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040fca5
xor eax, eax
jmp 0x410206
lea eax, [esi + esi]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040fca5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x410206
mov esi, dword [ebp + 0x28]
push 0x11
pop ecx
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
xor edi, edi
inc edi
push edi
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
call fcn.0040ef72
test eax, eax
jl 0x4101d0
push ebx
push edi
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.0040ef72
test eax, eax
jl 0x4101d0
push ebx
push edi
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x24]
call fcn.0040ef72
test eax, eax
jl 0x4101d0
mov esi, dword [ebp + 0x28]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41016a
push ebx
push edi
push ebx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.0040ef72
test eax, eax
jl 0x4101d0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x410189
push ebx
push edi
push ebx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040ef72
test eax, eax
jl 0x4101d0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov esi, dword [esi + 0xc]
cmp esi, ebx
je 0x4101a8
push ebx
push edi
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0040ef72
test eax, eax
jl 0x4101d0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], eax
push dword [ebp + 0x2c]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x18]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
call fcn.0040a9fc
push dword [ebp - 0x14]
call fcn.0040a9fc
push dword [ebp - 0x18]
call fcn.0040a9fc
push dword [ebp - 0x1c]
call fcn.0040a9fc
push dword [ebp - 0x20]
call fcn.0040a9fc
push dword [ebp - 0x24]
call fcn.0040a9fc
mov eax, dword [ebp - 0x28]
add esp, 0x18
call fcn.004125b1
ret 0x28