Function at 0x10034850
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.10035df0
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 0x100348e9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x100348e9
mov dword [esp + 0x48], ecx
mov al, byte [esp + 0x90]
test al, al
je 0x10034903
mov word [esp + 0x70], 5
mov dword [esp + 0x6c], 1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1003490d
mov eax, edx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10034320
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x10034927
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 0x1003496d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10034964
cmp al, 0xff
je 0x10034964
dec al
mov byte [ecx], al
jmp 0x1003496d
push ecx
call fcn.100463e2
add esp, 4
test esi, esi
je 0x100349e5
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x10034989
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 0x10034999
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 0x10050b74
lea ecx, [esp + 0x1c]
call fcn.10024c50
push eax
call fcn.10024c60
mov al, byte [esp + 0x9c]
add esp, 0x10
test al, al
je 0x100349cf
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 0x10034a1b
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x100349f3
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.10024ef0
add esp, 4
lea ecx, [esp + 0xc]
push eax
push esi
push str._comm__createProcess__s__failed:__s
push 0x10050bac
call fcn.10024c50
push eax
call fcn.10024c60
add esp, 0x10
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10034a46
mov al, byte [ecx - 1]
test al, al
je 0x10034a3c
cmp al, 0xff
je 0x10034a3c
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.100463e2
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x78
ret