Function at 0x403126
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x404552
call fcn.00403fa0
sub esp, 0xfc
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x80]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x20], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x1c]
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
lea ecx, [ebp - 0x108]
push edi
push 2
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 1
push 0x407120
mov dword [ebp - 0x84], 0x44
push dword [ebp + 8]
mov dword [ebp - 0x58], edi
push 0x40711c
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
pop ecx
push eax
call esi
pop ecx
lea eax, [ebp - 0x40]
pop ecx
push eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 2
push dword [ecx]
lea ecx, [ebp - 0x30]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp + 0x14]
neg eax
sbb eax, eax
and eax, 0xa
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40320c
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x40323d
cmp dword [ebp + 0x10], ebx
je 0x40323a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x20], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x403250
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x1c], ebx
je 0x40325d
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x1c], ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret