Function at 0x40ff20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c5ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push esi
push edi
lea edi, [ebp - 0x198]
mov ecx, 0x63
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x44
push 0
lea eax, [ebp - 0x54]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x80
push 0x10
push 0
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x41f888
lea ecx, [ebp - 0x18c]
push ecx
call fcn.004094f4
add esp, 0xc
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x198], edx
mov dword [ebp - 4], 0
push 0x41f888
mov eax, dword [ebp - 0x198]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.00401a26
add esp, 0xc
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x18c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041944c
cmp dword [ebp + 0xc], 0
je 0x41001f
mov esi, esp
push 0x41e6e4
lea ecx, [ebp - 0x90]
call dword [0x41e200]
cmp esi, esp
call fcn.0041944c
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x90]
call dword [0x41e200]
cmp esi, esp
call fcn.0041944c
mov esi, esp
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edi, esp
push 0
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp edi, esp
call fcn.0041944c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp esi, esp
call fcn.0041944c
test eax, eax
jne 0x41008b
mov byte [ebp - 0x165], 0
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041944c
mov al, byte [ebp - 0x165]
jmp 0x4100f7
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4100a8
mov esi, esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.0041944c
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0041944c
mov esi, esp
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0041944c
mov byte [ebp - 0x159], 1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041944c
mov al, byte [ebp - 0x159]
push edx
mov ecx, ebp
push eax
lea edx, [0x410128]
call fcn.0041946f
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x198
cmp ebp, esp
call fcn.0041944c
mov esp, ebp
pop ebp
ret