Function at 0x14011c7b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x58
call fcn.140285430
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov qword [rsp + 0x38], rax
mov r14, r9
mov rax, qword [rcx + 0x188]
mov rsi, r8
mov rcx, qword [rcx + 0x38]
mov rdi, rdx
mov qword [rsp + 0x30], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x14011cb30
cmp rcx, r9
jb 0x14011cb30
mov qword [rsp + 0x50], r12
mov r12d, dword [rbx + 0x178]
mov qword [rsp + 0x40], r15
xor r15d, r15d
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x48], r13
lea r13, [rbx + 0x40]
mov qword [rsp + 0x28], r13
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x80], r12d
cmp dword [rbx + 0x17c], r15d
je 0x14011c8b0
test r9, r9
jne 0x14011c885
lea rdx, [rbx + 0x60]
mov rcx, r13
call qword [rbx + 0x170]
mov dword [rbx + 0x17c], r15d
mov r13, qword [rsp + 0x48]
xor eax, eax
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret
movups xmm0, xmmword [r13]
lea rax, [rbx + 0xc]
mov r12d, reloc.WS2_32.dll_recv
movups xmmword [rbx + 0x190], xmm0
mov qword [r13], r15
mov qword [rbx + 0x48], r15
mov ebp, dword [rax]
bswap ebp
mov dword [rbx + 0x17c], r15d
jmp 0x14011c929
mov ebp, dword [rbx + 0xc]
lea rax, [rbx + 0xc]
mov r15d, r12d
lea r8, [rbx + 0x190]
and r15d, 0xf
bswap ebp
mov dword [rsp + 0x20], r15d
je 0x14011c93d
nop
test r14, r14
je 0x14011cb24
movzx ecx, byte [rdi]
dec r14
mov eax, r12d
inc rdi
inc r12d
mov byte [rax + rbx + 0x190], cl
xor cl, byte [r15 + rbx + 0x10]
mov byte [rsi], cl
inc rsi
inc r15d
and r15d, 0xf
jne 0x14011c8d0
lea r13, [rbx + 0x40]
mov r9d, r12d
mov rcx, r13
mov qword [rsp + 0x28], r13
lea r8, [rbx + 0x190]
lea rdx, [rbx + 0x60]
call qword [rbx + 0x168]
xor r12d, r12d
lea rax, [rbx + 0xc]
mov dword [rsp + 0x80], r12d
lea r8, [rbx + 0x190]
mov dword [rsp + 0x20], r15d
lea rcx, [rbx + 0x60]
cmp r14, 0x10
jb 0x14011c96a
test r12d, r12d
je 0x14011c96a
mov rdx, rcx
mov r9d, r12d
mov rcx, r13
call qword [rbx + 0x168]
xor r12d, r12d
lea rax, [rbx + 0xc]
mov dword [rsp + 0x80], r12d
cmp r14, 0xc00
jb 0x14011ca37
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
shr rdx, 0xb
imul rax, rdx, 0xfffffffffffff400
mov qword [rsp + 0x28], rdx
add r14, rax
mov qword [rsp + 0x98], r14
lea r14, [rbx + 0x40]
nop dword [rax]
nop word [rax + rax]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
mov r8, rdi
mov rcx, r14
call qword [rbx + 0x168]
mov r14, qword [rsp + 0x38]
mov r13d, 0xc0
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r14
inc ebp
mov eax, ebp
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rbx + 0x10]
xor rax, qword [rdi]
mov qword [rsi], rax
mov rax, qword [rdi + 8]
add rdi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r13, 1
jne 0x14011c9d1
sub qword [rsp + 0x28], 1
lea r14, [rbx + 0x40]
jne 0x14011c9b0
mov r15d, dword [rsp + 0x20]
lea rax, [rbx + 0xc]
mov r12d, dword [rsp + 0x80]
mov qword [rsp + 0x28], r14
mov r14, qword [rsp + 0x98]
mov r9, r14
lea rcx, [rbx + 0x60]
mov r13, rax
and r9, 0xfffffffffffffff0
je 0x14011cad6
mov rdx, rcx
mov r8, rdi
mov rcx, qword [rsp + 0x28]
call qword [rbx + 0x168]
lea r13, [rbx + 0xc]
cmp r14, 0x10
jb 0x14011cad6
mov r13, r14
shr r13, 4
imul rax, r13, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0x98], r14
mov r14, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r14
inc ebp
mov eax, ebp
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rbx + 0x10]
xor rax, qword [rdi]
mov qword [rsi], rax
mov rax, qword [rdi + 8]
add rdi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r13, 1
jne 0x14011ca81
mov r14, qword [rsp + 0x98]
lea r13, [rbx + 0xc]
mov r15d, dword [rsp + 0x20]
mov r12d, dword [rsp + 0x80]
test r14, r14
je 0x14011cb24
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + reloc.WS2_32.dll_getservbyport]
inc ebp
bswap ebp
mov dword [r13], ebp
nop dword [rax]
nop word [rax + rax]
mov edx, r15d
inc r15d
mov eax, r12d
inc r12d
movzx ecx, byte [rdx + rdi]
mov byte [rax + rbx + 0x190], cl
xor cl, byte [rbx + rdx + 0x10]
mov byte [rsi + rdx], cl
sub r14, 1
jne 0x14011cb00
mov dword [rbx + 0x178], r12d
jmp 0x14011c862
mov eax, 0xffffffff
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret