Function at 0x1400c5140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x190
mov rax, qword [0x14012c240]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor r8d, r8d
lea rax, [rsp + 0xf0]
xor edx, edx
mov qword [rsp + 0x38], rax
test ecx, ecx
je 0x1400c5256
lea rax, [0x1401129d8]
mov dword [rsp + 0x30], 0x20
mov qword [rsp + 0x28], rax
lea r9, [0x1401129a8]
lea ecx, [rdx + 1]
mov dword [rsp + 0x20], 0x30
call fcn.1400c4fb0
mov ecx, eax
test eax, eax
jne 0x1400c54c8
xorps xmm4, xmm4
lea rbp, [0x140000000]
xorps xmm3, xmm3
xor ebx, ebx
movd xmm2, dword [rbx + rbp + 0x112a80]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xf0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xf4]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0x112a84]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rbx, 0x80
jl 0x1400c51c2
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x1400c524f
mov eax, 0xffffffff
jmp 0x1400c54c8
mov eax, ecx
jmp 0x1400c54c8
xor ebx, ebx
lea r9, [0x140112978]
mov dword [rsp + 0x30], ebx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x30
call fcn.1400c4fb0
test eax, eax
jne 0x1400c54c8
movaps xmmword [rsp + 0x180], xmm6
lea rbp, [0x140000000]
xorps xmm6, xmm6
xorps xmm4, xmm4
xorps xmm3, xmm3
mov eax, ebx
nop dword [rax]
movd xmm2, dword [rax + rbp + 0x112a00]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0xf0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rax + 0xf4]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rax + rbp + 0x112a04]
add rax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, 0x80
jl 0x1400c52a0
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x1400c532c
mov eax, 0xffffffff
jmp 0x1400c54c0
mov esi, 0xffffffff
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x28], rbx
lea r9, [0x140112998]
lea rdx, [0x140112978]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x60]
mov edi, esi
lea r8d, [rsi + 0x21]
call fcn.1400c48e0
test eax, eax
jne 0x1400c53a1
mov r8d, 0x80
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.1400c42b0
test eax, eax
jne 0x1400c53a1
mov r8d, 0x80
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.1400c42b0
test eax, eax
cmove edi, ebx
mov eax, 0x88
lea rcx, [rsp + 0x60]
nop dword [rax + rax]
mov byte [rcx], bl
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x1400c53b0
movdqa xmm3, xmm6
lea rax, [rsp + 0x60]
movdqa xmm2, xmm6
mov ecx, reloc.WS2_32.dll_recvfrom
nop dword [rax]
movd xmm1, dword [rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea rax, [rax + 8]
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rax - 4]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm2, xmm1
sub rcx, 1
jne 0x1400c53d0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd ecx, xmm2
test ecx, ecx
je 0x1400c5426
mov eax, esi
jmp 0x1400c54b8
test edi, edi
jne 0x1400c54b6
movdqa xmm3, xmm6
movd xmm2, dword [rbx + rbp + 0x112a00]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xf0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xf4]
orps xmm6, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0x112a04]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rbx, 0x80
jl 0x1400c5432
orps xmm3, xmm6
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd ecx, xmm3
test ecx, ecx
cmovne edi, esi
mov eax, edi
mov rdi, qword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x180]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400cf9b0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret