Function at 0x10024a60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x64
push ebp
push esi
mov esi, dword [esp + 0x70]
push edi
xor ebp, ebp
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xc], eax
rep stosd dword es:[edi], eax
mov cl, byte [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x1c], cl
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 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 + 0x1c]
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 + 0x1c]
push ecx
call fcn.10025f70
add esp, 4
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x44
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 8]
test ecx, ecx
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]
jbe 0x10024af6
mov eax, dword [eax + 4]
mov dword [esp + 0x34], ecx
test eax, eax
je 0x10024af6
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x7c]
test al, al
je 0x10024b0d
mov word [esp + 0x5c], 5
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10024b17
mov eax, ecx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
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]
test eax, eax
je 0x10024bb1
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x10024b52
mov edx, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x20]
mov ebp, eax
test ecx, ecx
jne 0x10024b62
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 0x10047fe4
lea ecx, [esp + 0x8c]
call fcn.1002ce00
push eax
call fcn.1002ce10
mov al, byte [esp + 0x88]
add esp, 0x10
test al, al
je 0x10024b9b
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
jmp 0x10024be7
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x10024bbf
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.1002ba20
add esp, 4
lea ecx, [esp + 0x7c]
push eax
push esi
push str._comm__createProcess__s__failed:__s
push 0x1004801c
call fcn.1002ce00
push eax
call fcn.1002ce10
add esp, 0x10
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10024c12
mov al, byte [ecx - 1]
test al, al
je 0x10024c08
cmp al, 0xff
je 0x10024c08
dec al
pop edi
mov byte [ecx - 1], al
mov eax, ebp
pop esi
pop ebp
add esp, 0x64
ret
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x64
ret