Function at 0x431dda
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x431f8d
cmp dword [ebp + 0xc], ebx
je 0x431f8d
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0xb0]
push ebx
push eax
mov dword [ebp - 0xb4], 0x44
call sub.MSVCR80.dll_memset
add esp, 0xc
mov esi, 0x50edd8
push esi
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 8], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0xc]
call fcn.004322d6
test eax, eax
pop ecx
pop ecx
je 0x431f3b
lea eax, [ebp - 8]
push eax
call fcn.00432531
test eax, eax
pop ecx
je 0x431f3b
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x6c]
call dword [0x4d9610]
mov esi, 0x510ad8
push esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x510cd4
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [ebp - 0x30]
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x88], edi
mov word [ebp - 0x84], 5
jae 0x431edc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push ebx
push dword [ebp - 8]
push 0x400
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x431f5a
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x431f15
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x431f1a
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x431f26
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x14], ebx
je 0x431f30
push dword [ebp - 0x14]
call esi
push dword [ebp - 8]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov ebx, edi
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebx
jmp 0x431f8f
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x431f69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 8]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret