Function at 0x4032e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408612
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push esi
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], esp
call dword [sym.imp.mgcommon.dll_public:_void___thiscall_CTaskManager::constructor_void_]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
je 0x4033e2
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, ebx
mov dword [ebp - 0x18], esi
jle 0x4033e2
lea ecx, [ebp - 0x40]
call dword [sym.imp.mgcommon.dll_public:_int___thiscall_CTaskManager::Populate_void_]
cmp ebx, esi
jge 0x4033d7
xor edi, edi
lea ecx, [ecx]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mgcommon.dll_public:_unsigned_long_int___thiscall_CTaskManager::GetProcessCount_void_const]
cmp edi, eax
jae 0x4033c8
push edi
lea ecx, [ebp - 0x40]
call dword [sym.imp.mgcommon.dll_public:_class_CExeModuleInstance____thiscall_CTaskManager::GetProcessByIndex_unsigned_long_int_]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call dword [sym.imp.mgcommon.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_CModuleInstance::GetBaseName_void_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov edx, dword [ebp + 0xc]
mov ecx, ebx
imul ecx, ecx, 0x1c
mov esi, eax
mov eax, dword [edx + 4]
add ecx, eax
call dword [sym.imp.MSVCP71.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push esi
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
jne 0x4033ce
mov dword [ebp - 0x14], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov esi, dword [ebp - 0x18]
inc ebx
jmp 0x403353
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
inc edi
jmp 0x403360
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x403482
xor eax, eax
mov ecx, 0x11
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCP71.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x84]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403461
mov ecx, 0x64
lea edi, [ebp - 0x214]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x214]
push str.CreateProcess___Failed__LastError___d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor esi, esi
jmp 0x403499
mov ecx, dword [ebp - 0x28]
push 0x1388
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x24]
push eax
call esi
mov esi, 1
jmp 0x403499
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mgcommon.dll_public_virtual:_void___thiscall_CTaskManager::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret