Function at 0x4df743
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows
Read pipe
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5294c1
mov eax, dword fs:[0]
push eax
mov eax, 0x121c
call fcn.00460dd0
mov eax, dword [0x54921c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1060], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x108c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1094], eax
mov eax, dword [ebp + 0x18]
push 1
mov dword [ebp - 0x1058], eax
xor eax, eax
push 2
mov ebx, eax
pop eax
push eax
lea ecx, [ebp - 0x1228]
mov dword [ebp - 0x104c], esi
mov dword [ebp - 0x105c], ebx
call fcn.00444e04
push 1
push 2
pop eax
xor edx, edx
push eax
lea ecx, [ebp - 0x1180]
mov dword [ebp - 4], edx
call fcn.00444e04
xor eax, eax
lea edi, [ebp - 0x1074]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push ecx
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x1054]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1054], ecx
mov dword [ebp - 0x1068], ecx
mov dword [ebp - 0x1050], ecx
mov dword [ebp - 0x1064], ecx
mov dword [ebp - 0x1074], 0xc
mov dword [ebp - 0x106c], 1
mov dword [ebp - 0x1070], ecx
call edi
test eax, eax
jne 0x4df8db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x105c], eax
test ebx, ebx
jle 0x4df862
and ebx, 0xffff
or ebx, 0x80070000
mov dword [ebp - 0x105c], ebx
push ebx
lea eax, [ebp - 0x1048]
push eax
call fcn.004df515
cmp dword [eax + 0x14], 8
push 2
pop ecx
mov byte [ebp - 4], cl
jb 0x4df87d
mov eax, dword [eax]
push eax
push ebx
push 0x30
push 0x417904
push 0x417940
lea eax, [ebp - 0x102c]
push 0x4179b0
push eax
call fcn.004df3e4
add esp, 0x1c
mov ecx, dword [ebp - 0x1058]
push eax
mov byte [ebp - 4], 3
call fcn.00444a20
xor edx, edx
push edx
push 1
lea ecx, [ebp - 0x102c]
call fcn.00444c55
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 1
call fcn.00444c55
test ebx, ebx
js 0x4df98e
xor eax, eax
push eax
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x1050]
push eax
call edi
test eax, eax
jne 0x4df98e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x105c], eax
test ebx, ebx
jle 0x4df921
and ebx, 0xffff
or ebx, 0x80070000
mov dword [ebp - 0x105c], ebx
push ebx
lea eax, [ebp - 0x102c]
push eax
call fcn.004df515
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x4df93a
mov eax, dword [eax]
push eax
push ebx
push 0x39
push 0x417904
push 0x417940
lea eax, [ebp - 0x1048]
push 0x417a28
push eax
call fcn.004df3e4
add esp, 0x1c
mov ecx, dword [ebp - 0x1058]
push eax
mov byte [ebp - 4], 5
call fcn.00444a20
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x1048]
call fcn.00444c55
push edi
push 1
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 1
call fcn.00444c55
xor eax, eax
lea edi, [ebp - 0x1088]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
or edi, 0xffffffff
mov dword [ebp - 0x1090], edi
test ebx, ebx
js 0x4dfec0
push 0x44
pop edi
xor eax, eax
push edi
push eax
lea eax, [ebp - 0x10d8]
push eax
call fcn.004530e0
mov eax, dword [ebp - 0x1068]
or dword [ebp - 0x10ac], 0x100
add esp, 0xc
mov dword [ebp - 0x10d8], edi
mov dword [ebp - 0x109c], eax
mov eax, dword [ebp - 0x1064]
mov edi, esi
push 2
mov dword [ebp - 0x1098], eax
lea ecx, [edi + 2]
xor edx, edx
pop esi
mov ax, word [edi]
add edi, esi
cmp ax, dx
jne 0x4df9f3
sub edi, ecx
sar edi, 1
inc edi
xor ecx, ecx
mov eax, edi
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f692
mov esi, eax
mov dword [ebp - 0x1078], esi
push dword [ebp - 0x104c]
mov byte [ebp - 4], 6
push edi
push esi
call fcn.004607f9
mov edi, dword [ebp - 0x1060]
add esp, 0x10
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x10d8]
push eax
xor eax, eax
push eax
push eax
push 0x8000420
push 1
push eax
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4dfaf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x105c], eax
test ebx, ebx
jle 0x4dfa86
and ebx, 0xffff
or ebx, 0x80070000
mov dword [ebp - 0x105c], ebx
push ebx
lea eax, [ebp - 0x102c]
push eax
call fcn.004df515
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 7
jb 0x4dfa9f
mov eax, dword [eax]
push dword [ebp - 0x104c]
push edi
push eax
push ebx
push 0x61
push 0x417904
push 0x417940
lea eax, [ebp - 0x1048]
push 0x417aa0
push eax
call fcn.004df3e4
add esp, 0x24
mov ecx, dword [ebp - 0x1058]
push eax
mov byte [ebp - 4], 8
call fcn.00444a20
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x1048]
call fcn.00444c55
lea ecx, [ebp - 0x102c]
jmp 0x4dfb47
mov eax, dword [ebp - 0x104c]
test edi, edi
je 0x4dfb51
test eax, eax
je 0x4dfb1a
push eax
push edi
lea eax, [ebp - 0x1048]
push 0x417b14
push eax
call fcn.004df3e4
add esp, 0x10
mov byte [ebp - 4], 9
jmp 0x4dfb33
push edi
lea eax, [ebp - 0x1048]
push 0x417b34
push eax
call fcn.004df3e4
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1058]
push eax
call fcn.00444a20
xor edi, edi
lea ecx, [ebp - 0x1048]
push edi
push 1
call fcn.00444c55
jmp 0x4dfb72
test eax, eax
je 0x4dfb70
push eax
lea eax, [ebp - 0x1048]
push 0x417b34
push eax
call fcn.004df3e4
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x4dfb33
xor edi, edi
push esi
mov byte [ebp - 4], 1
call fcn.0044f6a7
pop ecx
test ebx, ebx
js 0x4dfeba
mov eax, dword [ebp - 0x1088]
mov dword [ebp - 0x1074], eax
mov eax, dword [ebp - 0x1054]
mov dword [ebp - 0x1070], eax
mov eax, dword [ebp - 0x1050]
push 0x1000
mov dword [ebp - 0x106c], eax
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.004530e0
add esp, 0xc
push 0x493e0
push edi
lea eax, [ebp - 0x1074]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
cmp edi, 0xffffffff
je 0x4dfe30
mov esi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
xor ecx, ecx
push ecx
lea eax, [ebp - 0x104c]
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x1054]
mov dword [ebp - 0x104c], ecx
call esi
test eax, eax
je 0x4dfcf2
xor ebx, ebx
cmp dword [ebp - 0x104c], 0
jbe 0x4dfcec
push ebx
lea eax, [ebp - 0x1060]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1054]
mov dword [ebp - 0x1060], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1060]
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
call fcn.004441b2
cmp dword [ebp - 0x1018], 0x10
mov eax, dword [ebp - 0x102c]
mov byte [ebp - 4], 0xe
jae 0x4dfc83
lea eax, [ebp - 0x102c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1078], esp
push eax
call fcn.00444256
lea eax, [ebp - 0x1048]
push eax
call fcn.004df683
push eax
lea eax, [ebp - 0x1218]
push eax
mov byte [ebp - 4], 0xf
call fcn.0044e3bb
push ebx
push 1
lea ecx, [ebp - 0x1048]
call fcn.00444c55
push ebx
push 1
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 1
call fcn.0044451b
push ebx
lea eax, [ebp - 0x104c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1054]
call esi
test eax, eax
jne 0x4dfc09
mov ebx, dword [ebp - 0x105c]
xor ecx, ecx
push ecx
lea eax, [ebp - 0x104c]
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x1050]
call esi
test eax, eax
je 0x4dfdfa
xor ebx, ebx
cmp dword [ebp - 0x104c], 0
jbe 0x4dfdf4
push ebx
lea eax, [ebp - 0x1060]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1050]
mov dword [ebp - 0x1060], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1060]
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
call fcn.004441b2
cmp dword [ebp - 0x1018], 0x10
mov eax, dword [ebp - 0x102c]
mov byte [ebp - 4], 0x10
jae 0x4dfd8b
lea eax, [ebp - 0x102c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1078], esp
push eax
call fcn.00444256
lea eax, [ebp - 0x1048]
push eax
call fcn.004df683
push eax
lea eax, [ebp - 0x1170]
push eax
mov byte [ebp - 4], 0x11
call fcn.0044e3bb
push ebx
push 1
lea ecx, [ebp - 0x1048]
call fcn.00444c55
push ebx
push 1
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 1
call fcn.0044451b
push ebx
lea eax, [ebp - 0x104c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1050]
call esi
test eax, eax
jne 0x4dfd11
mov ebx, dword [ebp - 0x105c]
test edi, edi
je 0x4dfec0
cmp edi, 0x102
je 0x4dfec0
push 0x493e0
xor eax, eax
push eax
lea eax, [ebp - 0x1074]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4dfbe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x4dfe48
and ebx, 0xffff
or ebx, 0x80070000
push ebx
lea eax, [ebp - 0x102c]
push eax
call fcn.004df515
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x4dfe61
mov eax, dword [eax]
push eax
push ebx
push 0x82
push 0x417904
push 0x417940
lea eax, [ebp - 0x1048]
push 0x417b50
push eax
call fcn.004df3e4
add esp, 0x1c
mov ecx, dword [ebp - 0x1058]
push eax
mov byte [ebp - 4], 0xd
call fcn.00444a20
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x1048]
call fcn.00444c55
push esi
push 1
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 1
call fcn.00444c55
jmp 0x4dfec0
mov edi, dword [ebp - 0x1090]
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1228]
call fcn.00444ead
mov ecx, dword [ebp - 0x108c]
push eax
mov byte [ebp - 4], 0x12
call fcn.00444a20
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 1
call fcn.00444c55
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1180]
call fcn.00444ead
mov ecx, dword [ebp - 0x1094]
push eax
mov byte [ebp - 4], 0x13
call fcn.00444a20
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 1
call fcn.00444c55
cmp dword [ebp - 0x1054], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4dff4d
push dword [ebp - 0x1054]
call esi
xor eax, eax
mov dword [ebp - 0x1054], eax
jmp 0x4dff4f
xor eax, eax
cmp dword [ebp - 0x1068], 0
je 0x4dff68
push dword [ebp - 0x1068]
call esi
xor eax, eax
mov dword [ebp - 0x1068], eax
cmp dword [ebp - 0x1050], 0
je 0x4dff81
push dword [ebp - 0x1050]
call esi
xor eax, eax
mov dword [ebp - 0x1050], eax
cmp dword [ebp - 0x1064], 0
je 0x4dff9a
push dword [ebp - 0x1064]
call esi
xor eax, eax
mov dword [ebp - 0x1064], eax
test ebx, ebx
js 0x4e002e
cmp edi, 0x102
jne 0x4e002e
mov ebx, 0x80004004
push ebx
lea eax, [ebp - 0x102c]
push eax
call fcn.004df515
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x14
jb 0x4dffcc
mov eax, dword [eax]
push eax
push ebx
push 0xb3
push 0x417904
push 0x417940
lea eax, [ebp - 0x1048]
push 0x417bc0
push eax
call fcn.004df3e4
add esp, 0x1c
mov ecx, dword [ebp - 0x1058]
push eax
mov byte [ebp - 4], 0x15
call fcn.00444a20
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x1048]
call fcn.00444c55
push edi
push 1
lea ecx, [ebp - 0x102c]
call fcn.00444c55
push edi
push dword [ebp - 0x1088]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
cmp dword [ebp - 0x1088], 0
je 0x4e0047
push dword [ebp - 0x1088]
call esi
xor eax, eax
mov dword [ebp - 0x1088], eax
cmp dword [ebp - 0x1084], 0
je 0x4e0060
push dword [ebp - 0x1084]
call esi
xor eax, eax
mov dword [ebp - 0x1084], eax
lea ecx, [ebp - 0x1180]
mov byte [ebp - 4], al
call fcn.00444de3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1228]
call fcn.00444de3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045276d
leave
ret