Function at 0x140035240
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x180
mov rax, qword [0x14011c358]
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 0x14003535d
lea rax, [0x1401064d0]
mov dword [rsp + 0x30], 0x20
mov qword [rsp + 0x28], rax
lea r9, [0x1401063a0]
lea ecx, [rdx + 1]
mov dword [rsp + 0x20], 0x30
call fcn.1400350b0
mov ecx, eax
test eax, eax
jne 0x1400355dd
xorps xmm4, xmm4
lea rbp, [0x140000000]
xorps xmm3, xmm3
xor ebx, ebx
movd xmm2, dword [rbx + rbp + 0x1063d0]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xe4]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0x1063d4]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp rbx, 0x80
jl 0x1400352c2
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x140035356
mov eax, 0xffffffff
jmp 0x1400355dd
mov eax, ecx
jmp 0x1400355dd
xor ebx, ebx
lea r9, [0x140106370]
mov dword [rsp + 0x30], ebx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x30
call fcn.1400350b0
test eax, eax
jne 0x1400355dd
movaps xmmword [rsp + 0x170], xmm6
lea rbp, [0x140000000]
xorps xmm6, xmm6
xorps xmm4, xmm4
xorps xmm3, xmm3
mov eax, ebx
movd xmm2, dword [rax + rbp + 0x106450]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [rsp + rax + 0xe4]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rax + rbp + 0x106454]
add rax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp rax, 0x80
jl 0x1400353a0
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x140035433
mov eax, 0xffffffff
jmp 0x1400355d5
mov esi, 0xffffffff
mov qword [rsp + 0x190], rdi
lea r9, [0x140106390]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea rdx, [0x140106370]
mov edi, esi
lea rcx, [rsp + 0x60]
lea r8d, [rsi + 0x21]
call fcn.140034af0
test eax, eax
jne 0x1400354a3
mov r8d, 0x80
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1400344a0
test eax, eax
jne 0x1400354a3
mov r8d, 0x80
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1400344a0
test eax, eax
cmove edi, ebx
mov eax, 0x78
lea rcx, [rsp + 0x60]
nop dword [rax]
mov byte [rcx], bl
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x1400354b0
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
por xmm3, xmm1
movd xmm1, dword [rax - 4]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm2, xmm1
sub rcx, 1
jne 0x1400354d0
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ecx, xmm2
test ecx, ecx
je 0x14003552b
mov eax, esi
jmp 0x1400355cd
test edi, edi
jne 0x1400355cb
movdqa xmm3, xmm6
nop word [rax + rax]
movd xmm2, dword [rbx + rbp + 0x106450]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xe4]
por xmm6, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0x106454]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp rbx, 0x80
jl 0x140035540
por xmm3, xmm6
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por 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.14009a320
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret