Function at 0x42fa20
Capabilities:
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push 0xffffffffffffffff
push 0x4669dc
mov eax, dword fs:[0]
push eax
mov eax, 0x14f0
call fcn.004646d0
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x14e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48602c]
xor eax, esp
push eax
lea eax, [esp + 0x1504]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1514]
mov esi, ebp
call fcn.00430930
mov ecx, 0xc
mov esi, str.wmic_cpu_get_processorid
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3ce
xor esi, esi
lea eax, [esp + 0x132]
push esi
push eax
call sub.MSVCR80.dll_memset
push 0xfff
lea ecx, [esp + 0x50d]
push esi
push ecx
mov byte [esp + 0x514], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
xor eax, eax
push 0x1000
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
mov ebx, 1
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0xc
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x42fdbd
push 0x40
xor eax, eax
lea edx, [esp + 0x64]
push esi
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x60]
push edx
push esi
push esi
push esi
push ebx
push esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], eax
push esi
lea eax, [esp + 0x11c]
push eax
push esi
mov dword [esp + 0xb0], 0x101
mov word [esp + 0xb4], si
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42fdbd
cmp dword [esp + 0x18], 0x103
jne 0x42fdbd
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x14]
push esi
push esi
lea eax, [esp + 0x24]
push eax
push 0x1000
lea ecx, [esp + 0x50c]
push ecx
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp eax, esi
je 0x42fda5
mov edi, dword [esp + 0x1c]
cmp edi, esi
jbe 0x42fda5
push 0x1000
lea eax, [esp + 0x500]
push esi
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
push esi
lea ecx, [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x508]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42fda5
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x4fc]
push ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x1510], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push esi
push 0x47ca88
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1514], bl
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
or edi, 0xffffffff
cmp eax, edi
je 0x42fd71
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [edx]
push ecx
add eax, 2
push eax
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0xd0]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1510], 2
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x150c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp eax, 0x12
jb 0x42fd71
push 0x10
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xd0]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1510], 3
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x150c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe0]
push ecx
mov ecx, ebp
call fcn.00407ac0
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 0x10
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0xd0]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1510], 4
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xa8]
mov byte [esp + 0x150c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
push 0x47ca88
lea ecx, [esp + 0xcc]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, edi
jne 0x42fc65
mov ecx, ebp
call fcn.00403980
test eax, eax
mov byte [esp + 0x150c], 0
lea ecx, [esp + 0xc4]
ja 0x42fde7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe0]
mov dword [esp + 0x150c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42fb8f
xor al, al
mov ecx, dword [esp + 0x1504]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14e8]
xor ecx, esp
call fcn.0043ad38
add esp, 0x14fc
ret
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe0]
mov dword [esp + 0x150c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
jmp 0x42fdbf