Function at 0x140bf65c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x140db81c0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov qword [rsp + 0x20], rcx
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
cmp r8, 0x180
jbe 0x140bf6606
mov eax, 0xffffffc8
jmp 0x140bf6950
xor edx, edx
mov qword [rsp + 0x368], r14
mov r8d, 0x1a0
lea rcx, [rbp + 0xb0]
call fcn.140c85fe0
lea rcx, [rsp + 0x30]
call fcn.140bf4980
mov rax, rbx
mov byte [rbp + 0xc3], bl
shr rax, 0x18
lea rcx, [rbp + 0xc8]
mov byte [rbp + 0xc0], al
mov r8, rbx
mov rax, rbx
mov byte [rbp + 0xc7], gethostbyname
shr rax, 0x10
mov rdx, rdi
mov byte [rbp + 0xc1], al
mov rax, rbx
shr rax, 8
mov byte [rbp + 0xc2], al
call fcn.140c85940
movdqa xmm2, xmmword [0x140cac720]
lea rdx, [rbp + 0x94]
movdqa xmm3, xmmword [0x140cd74b0]
mov ecx, 8
mov byte [rbp + rbx + 0xc8], 0x80
add rbx, 0x19
mov qword [rsp + 0x28], rbx
nop
lea eax, [rcx - 8]
movd xmm0, eax
lea rdx, [rdx + 0x10]
pshufd xmm0, xmm0, 0
lea eax, [rcx - 4]
paddd xmm0, xmm2
movd xmm1, eax
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm2
andps xmm0, xmm3
andps xmm1, xmm3
packuswb xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm0, xmm0
movd dword [rdx - 0x14], xmm0
packuswb xmm1, xmm1
movd dword [rdx - 0x10], xmm1
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
movd xmm1, eax
pshufd xmm1, xmm1, 0
andps xmm0, xmm3
paddd xmm1, xmm2
packuswb xmm0, xmm0
andps xmm1, xmm3
packuswb xmm0, xmm0
movd dword [rdx - 0xc], xmm0
lea eax, [rcx - 8]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [rdx - 8], xmm1
cmp eax, 0x20
jl 0x140bf66a0
mov r8d, 0x100
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140bf4c50
mov r14d, eax
mov r8d, reloc.WS2_32.dll_recv
test eax, eax
jne 0x140bf68eb
mov qword [rsp + 0x3b8], r12
xor r12d, r12d
mov qword [rsp + 0x370], r13
mov r13d, r12d
mov qword [rsp + 0x360], r15
nop word [rax + rax]
lea rsi, [rbp + 0xb0]
xorps xmm0, xmm0
mov rdi, rbx
movdqu xmmword [rbp + 0x50], xmm0
test rbx, rbx
je 0x140bf684e
lea rbx, [rbp + 0xb0]
lea rax, [rbp + 0x50]
sub rbx, rax
lea r15, [rbp + 0xbf]
lea rcx, [rbp + 0x50]
mov rax, r12
cmp rcx, r15
ja 0x140bf67e8
lea rcx, [rbp + 0x5f]
cmp rcx, rsi
jb 0x140bf67e8
nop word [rax + rax]
lea rdx, [rbp + 0x50]
add rdx, rax
inc rax
movzx ecx, byte [rbx + rdx]
xor byte [rdx], cl
cmp rax, 0x10
jl 0x140bf67d0
jmp 0x140bf67f9
movdqu xmm1, xmmword [rbp + 0x50]
movdqu xmm0, xmmword [rsi]
xorps xmm1, xmm0
movdqu xmmword [rbp + 0x50], xmm1
mov rax, rdi
lea r9, [rbp + 0x50]
add rsi, 0x10
lea rcx, [rsp + 0x30]
add r15, 0x10
add rbx, 0x10
cmp rdi, 0x10
mov edx, 1
cmovae rax, r8
lea r8, [rbp + 0x50]
sub rdi, rax
call fcn.140bf4050
mov r14d, eax
test eax, eax
jne 0x140bf68ce
mov r8d, reloc.WS2_32.dll_recv
test rdi, rdi
jne 0x140bf67b0
movdqu xmm0, xmmword [rbp + 0x50]
mov rbx, qword [rsp + 0x28]
inc byte [rbp + 0xb3]
movups xmmword [rbp + r13 + 0x60], xmm0
add r13, 0x10
cmp r13, 0x30
jl 0x140bf6780
mov r8d, 0x100
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140bf4c50
mov rsi, qword [rsp + 0x20]
mov r14d, eax
test eax, eax
jne 0x140bf68d3
mov rbx, rsi
nop dword [rax + rax]
lea r9, [rbp + 0x80]
mov edx, 1
lea r8, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140bf4050
mov r14d, eax
test eax, eax
jne 0x140bf68d3
movups xmm0, xmmword [rbp + 0x80]
add r12d, 0x10
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp r12d, 0x30
jl 0x140bf6890
jmp 0x140bf68d3
mov rsi, qword [rsp + 0x20]
mov r13, qword [rsp + 0x370]
mov r12, qword [rsp + 0x3b8]
mov r15, qword [rsp + 0x360]
lea rcx, [rsp + 0x30]
call fcn.140bf4970
mov edx, 0x1a0
lea rcx, [rbp + 0xb0]
call fcn.140bfa370
mov edx, gethostbyname
lea rcx, [rbp + 0x60]
call fcn.140bfa370
mov edx, 0x20
lea rcx, [rbp + 0x90]
call fcn.140bfa370
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x50]
call fcn.140bfa370
test r14d, r14d
je 0x140bf6945
mov edx, gethostbyname
mov rcx, rsi
call fcn.140bfa370
mov eax, r14d
mov r14, qword [rsp + 0x368]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140c4bf60
add rsp, 0x378
pop rdi
pop rsi
pop rbx
pop rbp
ret