Function at 0x431e54
Capabilities:
Create pipe
Create thread
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4320f8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4320d5
push 2
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x431ece
push 0x100040
mov eax, dword [ebp - 0x14]
push eax
call fcn.004324d0
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_CloseHandle
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 8]
call fcn.0041b6c4
mov eax, dword [ebp - 0xc]
call fcn.0041b748
cmp eax, 0x104
jle 0x431ef5
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.0041ba30
push dword [ebp - 0xc]
lea edx, [ebp - 0x3c]
mov eax, 0x432114
call fcn.0041dcd4
push dword [ebp - 0x3c]
lea edx, [ebp - 0x40]
mov eax, 0x432124
call fcn.0041dcd4
push dword [ebp - 0x40]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0041b808
mov eax, dword [ebp - 0x38]
call fcn.0041b948
push eax
call fcn.00424194
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4320d5
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor eax, eax
push ebp
push 0x4320ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14c
push dword [ebp - 0xc]
lea edx, [ebp - 0x48]
mov eax, 0x432114
call fcn.0041dcd4
push dword [ebp - 0x48]
lea edx, [ebp - 0x4c]
mov eax, 0x432134
call fcn.0041dcd4
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0041b808
mov eax, dword [ebp - 0x44]
call fcn.0041b948
push eax
call fcn.00424378
mov edi, eax
test edi, edi
je 0x4320ae
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
je 0x4320a8
push 0
push 0
push 0
push 0xf001f
push edi
call sub.KERNEL32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x4320a0
mov dword [ebp - 4], 0xffffffff
mov edx, 0x14c
mov eax, esi
call fcn.0041cb60
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
jne 0x432010
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x20]
call fcn.0042416c
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
call sub.KERNEL32.dll_CreatePipe
jmp 0x432021
push 0
push 0
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
call sub.KERNEL32.dll_CreatePipe
mov dword [esi], edi
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esi + 4], eax
mov dword [esi + 0x10], ebx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0xc]
call fcn.0041b748
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.0041b948
lea edx, [esi + 0x24]
pop ecx
call fcn.0041a5cc
push 0x14c
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
push esi
mov edi, ebx
mov ecx, 0x53
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push 0x431c68
push 0
push 0
call sub.KERNEL32.dll_CreateThread
mov edi, eax
mov dword [esi + 0x20], edi
push 7
push edi
call sub.KERNEL32.dll_SetThreadPriority
xor eax, eax
mov dword [esi + 0x12c], eax
push esi
call sub.KERNEL32.dll_UnmapViewOfFile
jmp 0x4320ae
push edi
call sub.KERNEL32.dll_CloseHandle
jmp 0x4320ae
push edi
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4320d5
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4320ff
lea eax, [ebp - 0x4c]
mov edx, 6
call fcn.0041b50c
lea eax, [ebp - 0xc]
call fcn.0041b4e8
ret