Function at 0x404c8e
Capabilities:
Create pipe
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ebx
push ebp
lea ebp, [eax - 0x7ac]
xor edx, 0x3a86
mov dword [esp + 8], ebp
lea ebx, [ecx - 0x360b]
mov ebp, dword [esp + 0x1c]
xor ecx, 0x3f8
push esi
push edi
mov esi, eax
mov dword [esp + 0x1c], ecx
lea edi, [ebp - 0x4036]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
add ecx, 0x7ac
lea edi, [eax - 0x3d9f]
mov dword [esp + 0x14], ecx
xor esi, 0x7da9
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
xor ebp, 0x75c5
cmp edx, ecx
je 0x404d64
lea ecx, [eax - 0x7ac]
push edi
lea eax, [ecx - 0xce]
xor ecx, 0x75c5
push eax
lea eax, [ebx + 0x3ea1]
push eax
lea eax, [ebp + 0x7ac]
push eax
mov eax, edx
xor eax, 0x3d50
push eax
push esi
push ecx
call fcn.00413438
mov ecx, dword [esp + 0x40]
mov ebx, eax
add ecx, 0x3f73
push ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0x4c0
push ecx
push edi
lea ecx, [ebx + 0x4aa]
push ecx
lea ecx, [ebp + 0x7fa]
push esi
push ecx
call fcn.0041362c
add esp, 0x34
mov ebp, eax
jmp 0x404e33
mov eax, dword [edi + 0x118]
mov ecx, eax
or ecx, 0x3f73
xor ecx, eax
cmp edx, ecx
jbe 0x404e37
mov eax, dword [0x517e7c]
imul eax, dword [eax + 0x90], 0x35f3
or eax, ebx
cmp dword [edi + 0x48], eax
jne 0x404e37
mov eax, dword [esp + 0x2c]
add eax, 0x3525
push eax
mov eax, dword [esp + 0x28]
add eax, 0xffffc59f
imul eax, dword [edi + 0xc0]
push eax
mov eax, dword [edi + 0x1c]
or eax, dword [esp + 0x24]
push eax
mov eax, dword [edi + 0x78]
sub eax, dword [edi + 0x58]
push eax
mov eax, ebx
xor eax, 0x35b7
push eax
mov eax, dword [0x52aab0]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [0x52a9fc]
add eax, 0xffffc213
push eax
mov eax, dword [0x517e7c]
mov eax, dword [eax + 0x78]
xor eax, esi
add eax, dword [0x52aa38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0x671
push 0x258b
push 0x127b
push 0x3054
push 0x350b
push 0x1435
push 0x3461
push 0x275f
push 0x131a
push 0x252e
call fcn.004053b3
add esp, 0x28
mov dword [0x52b534], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0xce]
cmp dword [esp + 0x2c], eax
je 0x405029
lea eax, [esi - 0x599]
cmp dword [esp + 0x24], eax
je 0x405029
push edi
lea eax, [edx + 0x39a7]
xor ecx, 0xf92
push eax
push ecx
lea eax, [ebx + 0x493]
push eax
mov eax, dword [esp + 0x3c]
add eax, 0x3ab3
push eax
call fcn.00403fb4
push dword [esp + 0x28]
mov eax, dword [esp + 0x38]
lea esi, [ebp + 0x404]
add eax, 0x35b7
xor ebx, 0x8c6
push eax
lea eax, [ebp - 0x492]
push eax
push edi
push esi
push ebx
call fcn.004047e1
mov ecx, dword [esp + 0x3c]
add ecx, 0x8ae
push ecx
lea ecx, [eax + 0x77e]
add eax, 0x8ea
push ecx
push edi
push esi
push eax
call fcn.00413067
add esp, 0x40
mov dword [esp + 0x24], eax
xor ebp, ebp
mov eax, dword [0x517e7c]
mov ecx, 0xb2d12
sub ecx, dword [eax + 0xe8]
sub ecx, dword [0x52a9c0]
add dword [edi + 0x78], ecx
mov ecx, dword [0x517e7c]
mov eax, dword [ecx + 0x118]
sub eax, 0x160c63
imul eax, dword [ecx + 0x48]
mov dword [ecx + 0x48], eax
mov ecx, dword [0x517e7c]
mov eax, dword [ecx + 0xb4]
mov esi, dword [eax + ebp]
add ebp, 4
mov eax, dword [edi + 0xfc]
sub dword [ecx + 0xe0], eax
mov eax, 0x10fd33
sub eax, dword [edi + 0x5c]
add dword [edi + 0xdc], eax
mov edx, dword [0x517e7c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x114]
add ecx, 0xfff048dd
add eax, ecx
xor dword [edx + 8], eax
mov eax, dword [0x517e7c]
mov eax, dword [eax + 0x7c]
xor eax, dword [0x52aa88]
sub eax, 0x13e42d
or dword [0x52aaac], eax
mov ebx, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov eax, dword [edi + 0xb8]
imul ebx, esi
mov edx, ebx
shr edx, 0x10
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [edi + 0x84]
mov eax, dword [0x517e7c]
shr edx, 8
mov ecx, dword [eax + 0xb8]
mov eax, dword [0x52aa24]
mov byte [eax + ecx], dl
xor eax, eax
inc dword [0x52aa24]
inc eax
sub eax, dword [edi + 0xd8]
mov ecx, dword [0x517e7c]
add dword [ecx + 0x34], eax
mov eax, dword [0x52a9e4]
add eax, 0xffec0036
add dword [edi + 0x110], eax
mov eax, dword [0x517e7c]
mov ecx, dword [eax + 0x114]
sub ecx, dword [eax + 0xe0]
mov eax, dword [edi + 0x10c]
sub ecx, 0x1d
add dword [edi + 0xfc], ecx
sub dword [edi + 0xf4], eax
mov eax, dword [edi + 0xac]
sub eax, 0x47
imul eax, dword [0x52aa7c]
mov dword [0x52aa7c], eax
mov eax, dword [0x517e7c]
mov ecx, dword [eax + 0xb8]
mov eax, dword [edi + 0x84]
mov byte [ecx + eax], bl
inc dword [edi + 0x84]
cmp ebp, 0x3550
jl 0x404ed1
mov ebp, dword [esp + 0x24]
pop edi
pop esi
lea eax, [ebp + 0x7e2]
pop ebp
pop ebx
pop ecx
pop ecx
ret