Function at 0x14008d830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x180
mov rax, qword [0x140104100]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r8d, r8d
lea rax, [rsp + 0xe0]
xor edx, edx
mov qword [rsp + 0x38], rax
test ecx, ecx
je 0x14008d948
lea rax, [0x1400e9580]
mov dword [rsp + 0x30], 0x20
mov qword [rsp + 0x28], rax
lea r9, [0x1400e9450]
mov ecx, 1
mov dword [rsp + 0x20], 0x30
call fcn.14008d6a0
mov ecx, eax
test eax, eax
jne 0x14008dbb8
xorps xmm4, xmm4
lea rbp, [0x140000000]
xorps xmm3, xmm3
xor ebx, ebx
movd xmm2, dword [rbx + rbp + 0xe9480]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xe4]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0xe9484]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rbx, 0x80
jl 0x14008d8b4
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 0x14008d941
mov eax, 0xffffffff
jmp 0x14008dbb8
mov eax, ecx
jmp 0x14008dbb8
xor ebx, ebx
lea r9, [0x1400e9420]
mov dword [rsp + 0x30], ebx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x30
call fcn.14008d6a0
test eax, eax
jne 0x14008dbb8
movaps xmmword [rsp + 0x170], xmm6
lea rbp, [0x140000000]
xorps xmm6, xmm6
xorps xmm4, xmm4
xorps xmm3, xmm3
mov eax, ebx
nop dword [rax + rax]
movd xmm2, dword [rax + rbp + 0xe9500]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rax + 0xe4]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rax + rbp + 0xe9504]
add rax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, 0x80
jl 0x14008d990
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 0x14008da1c
mov eax, 0xffffffff
jmp 0x14008dbb0
mov esi, 0xffffffff
mov qword [rsp + 0x190], rdi
lea r9, [0x1400e9440]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x20
lea rdx, [0x1400e9420]
lea rcx, [rsp + 0x60]
mov edi, esi
call fcn.14008d0d0
test eax, eax
jne 0x14008da8e
mov r8d, 0x80
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14008ca90
test eax, eax
jne 0x14008da8e
mov r8d, 0x80
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14008ca90
test eax, eax
cmove edi, ebx
mov eax, 0x78
lea rcx, [rsp + 0x60]
nop dword [rax + rax]
mov byte [rcx], bl
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x14008daa0
movdqa xmm3, xmm6
lea rax, [rsp + 0x60]
movdqa xmm2, xmm6
mov ecx, recv
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 0x14008dac0
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 0x14008db16
mov eax, esi
jmp 0x14008dba8
test edi, edi
jne 0x14008dba6
movdqa xmm3, xmm6
movd xmm2, dword [rbx + rbp + 0xe9500]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xe4]
orps xmm6, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0xe9504]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rbx, 0x80
jl 0x14008db22
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 + 0x190]
movaps xmm6, xmmword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a3910
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret