Function at 0x403a3e
Capabilities:
Connect pipe
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea edx, [ecx - 0x3563]
mov esi, eax
xor ecx, 0x226
lea ebp, [eax + 0x30e]
push edi
mov edi, dword [esp + 0x1c]
mov eax, ecx
xor edi, 0x3894
mov dword [esp + 0x14], ebp
xor esi, 0x2e1
xor eax, 0x226
add ebx, 0xffffcc92
mov dword [esp + 0x28], esi
cmp edi, eax
jge 0x403c9d
lea eax, [ebp + 0x64e]
cmp edi, eax
jg 0x403c69
mov eax, esi
xor eax, 0x985
cmp ebx, eax
je 0x403c21
lea eax, [ecx + 0x206]
xor eax, 0x1df
lea esi, [ebx + 0x318f]
mov dword [esp + 0x1c], eax
lea eax, [edx + 0x3a21]
push esi
push eax
push dword [esp + 0x20]
lea eax, [ebp + 0x2a8]
push dword [esp + 0x2c]
push eax
call fcn.004079bb
mov ebp, dword [esp + 0x34]
mov edi, eax
push ebp
push esi
lea eax, [edi + 0x705]
push eax
push eax
mov eax, dword [esp + 0x40]
add eax, 0x152
push eax
mov eax, edi
xor eax, 0xd
push eax
call fcn.004147cb
mov ecx, dword [0x65c49c]
add esp, 0x2c
mov dword [esp + 0x28], eax
xor esi, esi
mov eax, dword [ebp + 0x64]
mov edx, dword [esi + eax]
mov eax, 0xf00a9
sub eax, dword [ebp + 0x9c]
add esi, 4
add dword [ecx + 0x74], eax
mov ecx, dword [0x65c49c]
mov eax, dword [ecx]
sub eax, dword [ecx + 0xa0]
mov ebx, dword [ecx + 0x24]
xor eax, 0xfff3cc53
sub dword [ebp + 0x9c], eax
mov eax, dword [0x65c49c]
imul ebx, edx
mov ecx, dword [eax + 0x78]
mov eax, dword [ebp + 0x34]
mov edx, ebx
shr edx, 8
mov byte [ecx + eax], dl
inc dword [ebp + 0x34]
mov eax, dword [0x65c580]
add eax, dword [0x65c4e0]
mov edx, dword [0x65c49c]
xor eax, 0x10f4ac
sub dword [edx + 0xd4], eax
mov eax, dword [0x65c56c]
sub eax, dword [0x65c4e0]
add eax, 0x19ac97
xor dword [ebp + 0xe0], eax
mov eax, dword [0x65c4f8]
add eax, 0xfffffffb
imul eax, dword [0x65c588]
mov dword [0x65c588], eax
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x78]
mov byte [ecx + eax], bl
inc dword [ebp + 0x34]
mov eax, dword [0x65c4a0]
sub eax, dword [ebp + 0x54]
mov ecx, dword [0x65c49c]
xor eax, 0x9794
add dword [0x65c514], eax
mov eax, dword [ebp + 0xa0]
sub eax, 0x1e6bfd
add dword [ecx + 0xe0], eax
mov ecx, dword [0x65c49c]
mov eax, dword [ecx + 0x94]
sub eax, 0x4db47
xor dword [0x65c580], eax
cmp esi, 0x3c600
jl 0x403b11
mov ebp, dword [esp + 0x14]
lea eax, [edi - 0xd]
push eax
mov eax, dword [esp + 0x20]
xor edi, 0x869
push edi
push ecx
add eax, 0xfffffc09
push ebp
push eax
call fcn.0040410d
add esp, 0x14
jmp 0x403c63
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add eax, 0xfffffe14
mov edi, dword [ebx + 0x110]
cmp edi, eax
jle 0x403c9d
mov esi, eax
mov eax, dword [ebx + 8]
add eax, dword [ebx + 0x54]
add eax, dword [0x65c50c]
push eax
mov eax, dword [0x65c53c]
imul eax, ebp
sub eax, dword [0x65c50c]
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
add edi, 2
cmp edi, esi
jg 0x403c3a
mov esi, dword [esp + 0x28]
jmp 0x403c9d
mov eax, dword [0x65c49c]
mov eax, dword [eax + 0x124]
sub eax, 0x354a
or eax, 0x3182
cmp edx, eax
jbe 0x403c9d
lea eax, [edx - 0x3aeb]
cmp edx, eax
jle 0x403c9d
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
sub eax, dword [0x65c4a0]
add eax, edx
add dword [ecx], eax
xor esi, 0xf6b
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret