Function at 0x1002ace0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x78
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor ebp, ebp
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x10], eax
rep stosd dword es:[edi], eax
mov cl, byte [esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], cl
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x20]
mov eax, dword [edx]
push eax
push ebp
push esi
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_]
lea ecx, [esp + 0x20]
push ecx
call fcn.1002c280
add esp, 4
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0x44
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [esp + 0x98]
mov edx, 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]
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1002ad79
mov ecx, dword [ecx + 4]
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x1002ad79
mov dword [esp + 0x48], ecx
mov al, byte [esp + 0x90]
test al, al
je 0x1002ad93
mov word [esp + 0x70], 5
mov dword [esp + 0x6c], 1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1002ad9d
mov eax, edx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1002a7b0
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x1002adb7
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, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1002adfd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1002adf4
cmp al, 0xff
je 0x1002adf4
dec al
mov byte [ecx], al
jmp 0x1002adfd
push ecx
call fcn.10047cb0
add esp, 4
test esi, esi
je 0x1002ae75
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x1002ae19
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x24]
mov ebp, eax
test ecx, ecx
jne 0x1002ae29
mov ecx, 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]
push eax
push ecx
push str._comm__createProcess__s__successed__pid_d
push 0x10052760
lea ecx, [esp + 0x1c]
call fcn.10030b00
push eax
call fcn.10030b10
mov al, byte [esp + 0x9c]
add esp, 0x10
test al, al
je 0x1002ae5f
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
jmp 0x1002aeab
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x1002ae83
mov esi, 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]
push 0
call fcn.1002f6e0
add esp, 4
lea ecx, [esp + 0xc]
push eax
push esi
push str._comm__createProcess__s__failed:__s
push 0x10052798
call fcn.10030b00
push eax
call fcn.10030b10
add esp, 0x10
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1002aed6
mov al, byte [ecx - 1]
test al, al
je 0x1002aecc
cmp al, 0xff
je 0x1002aecc
dec al
pop edi
mov byte [ecx - 1], al
mov eax, ebp
pop esi
pop ebp
add esp, 0x78
ret
dec ecx
push ecx
call fcn.10047cb0
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x78
ret