Function at 0x41ff20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48efea
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4fdca8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
cmp dword [ebp + 0x14], 0
jle 0x41ff6d
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
cmp dword [ecx], 2
jl 0x41ff6d
mov dword [ebp - 0xb0], 1
jmp 0x41ff77
mov dword [ebp - 0xb0], 0
mov dl, byte [ebp - 0xb0]
mov byte [ebp - 0x71], dl
push 0xffffffffffffffff
push 0x4cafe8
lea ecx, [ebp - 0x80]
call fcn.0044f5c0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00401d66
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.00401d66
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc0]
call fcn.00450270
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0044f790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.0044f790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0044f790
push 0xffffffffffffffff
mov edx, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
call fcn.0044f5c0
mov dword [ebp - 4], 3
push 0xffffffffffffffff
push 0x4cafec
lea ecx, [ebp - 0x90]
call fcn.0044f5c0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00401776
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xc8]
push edx
push 0xffffffffffffffff
push 0x4caff0
lea ecx, [ebp - 0x98]
call fcn.0044f5c0
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xd0]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00401d66
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.00401d66
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xe0]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.00401d66
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
call fcn.0044f790
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x9c]
call fcn.0044f790
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x98]
call fcn.0044f790
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x94]
call fcn.0044f790
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.0044f790
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8c]
call fcn.0044f790
lea ecx, [ebp - 0x78]
call fcn.00450270
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0x70], eax
push 0x44
push 0
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x60], ecx
push 0x10
push 0
lea edx, [ebp - 0x1c]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xac]
call fcn.004021ad
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x71]
test eax, eax
je 0x4201f5
mov ecx, dword [ebp - 0x20]
or ecx, 0x10
mov dword [ebp - 0x20], ecx
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x420249
mov eax, dword [ebp - 0x20]
or eax, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push 0x4caff4
mov edx, dword [ebp + 8]
push edx
push str.Suspending__
mov ecx, dword [ebp - 0xac]
call fcn.0040282e
push eax
call fcn.00402c43
add esp, 8
push eax
call fcn.004512f0
add esp, 8
push eax
call fcn.00402c43
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00450270
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x4202c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0044f790
mov eax, dword [ebp - 0xa4]
jmp 0x4202f0
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0044f790
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18