Function at 0x1400adcf0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r12
push r14
mov eax, 0x58
call fcn.140103e70
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rdi, rcx
mov rsi, r9
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x38]
mov r14, r8
lea rcx, [r9 + rax]
movabs rax, 0xfffffffe0
mov r12, rdx
cmp rcx, rax
ja 0x1400ae069
cmp rcx, r9
jb 0x1400ae069
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x50], rbp
mov ebp, dword [rdi + 0x170]
xor ebx, ebx
mov qword [rdi + 0x38], rcx
mov dword [rsp + 0x80], ebp
cmp dword [rdi + 0x174], ebx
je 0x1400addb7
test r9, r9
jne 0x1400add87
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.1400acd90
mov dword [rdi + 0x174], ebx
xor eax, eax
jmp 0x1400ae051
mov rax, qword [rdi + 0x40]
mov ebp, reloc.WS2_32.dll_recv
mov dword [rdi + 0x174], ebx
mov qword [rdi + 0x188], rax
mov rax, qword [rdi + 0x48]
mov qword [rdi + 0x40], rbx
mov qword [rdi + 0x48], rbx
mov dword [rsp + 0x80], ebp
mov qword [rdi + 0x190], rax
movzx eax, byte [rdi + 0xd]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r15
movzx r15d, byte [rdi + 0xc]
mov r13d, ebp
shl r15d, 8
or r15d, eax
movzx eax, byte [rdi + 0xe]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdi + 0xf]
shl r15d, 8
or r15d, eax
and r13d, 0xf
mov dword [rsp + 0x30], r13d
je 0x1400ade59
movsxd rdx, ebp
test rsi, rsi
je 0x1400ade30
movzx ecx, byte [r13 + rdi + 0x10]
inc rdx
inc ebp
xor cl, byte [r12]
inc r14
inc r12
mov byte [r14 - 1], cl
dec rsi
mov byte [rdx + rdi + 0x187], cl
inc r13d
and r13d, 0xf
mov dword [rsp + 0x30], r13d
jne 0x1400addf8
jmp 0x1400ade39
test r13d, r13d
jne 0x1400ae03f
lea r8, [rdi + 0x188]
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
mov r9d, ebp
call fcn.1400aced0
mov ebp, ebx
mov dword [rsp + 0x80], ebx
cmp rsi, 0x10
jb 0x1400ade83
test ebp, ebp
je 0x1400ade83
lea r8, [rdi + 0x188]
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
mov r9d, ebp
call fcn.1400aced0
mov ebp, ebx
mov dword [rsp + 0x80], ebx
mov r10, qword [rsp + 0xa0]
cmp rsi, 0xc00
jb 0x1400adf53
mov rbp, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rbx, rdx
shr rbx, 0xb
mov rax, rbx
imul rax, rax, 0xfffffffffffff400
add rsi, rax
mov qword [rsp + 0x98], rsi
nop word [rax + rax]
mov r9, rbp
mov r8d, 0xc0
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x20], rdi
call r10
add r15d, 0xc0
lea rdx, [rdi + 0x60]
mov eax, r15d
lea rcx, [rdi + 0x40]
mov r9d, 0xc00
shr eax, 0x18
mov r8, r14
mov byte [rdi + 0xf], r15b
mov byte [rdi + 0xc], al
mov eax, r15d
shr eax, 0x10
mov byte [rdi + 0xd], al
mov eax, r15d
shr eax, 8
mov byte [rdi + 0xe], al
call fcn.1400aced0
mov r10, qword [rsp + 0xa0]
add r14, 0xc00
add r12, 0xc00
sub rbx, 1
jne 0x1400aded0
mov rsi, qword [rsp + 0x98]
mov ebp, dword [rsp + 0x80]
mov r13d, dword [rsp + 0x30]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x98], rax
je 0x1400adfc7
mov r9, qword [rsp + 0x38]
mov rbx, rax
mov rdx, r14
shr rbx, 4
mov rcx, r12
mov qword [rsp + 0x20], rdi
mov r8, rbx
call r10
add r15d, ebx
mov rbx, qword [rsp + 0x98]
mov eax, r15d
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
shr eax, 0x18
mov r9, rbx
mov r8, r14
mov byte [rdi + 0xc], al
mov eax, r15d
mov byte [rdi + 0xf], r15b
shr eax, 0x10
add r12, rbx
sub rsi, rbx
mov byte [rdi + 0xd], al
mov eax, r15d
shr eax, 8
mov byte [rdi + 0xe], al
call fcn.1400aced0
add r14, rbx
test rsi, rsi
je 0x1400ae03f
mov r8, qword [rsp + 0x38]
lea rdx, [rdi + 0x10]
mov rcx, rdi
call qword [rdi + 0x178]
inc r15d
movsxd rcx, r13d
mov eax, r15d
sub r12, r14
mov byte [rdi + 0xf], r15b
shr eax, 0x18
lea rdx, [rcx + r14]
lea r9, [rcx + rdi + 0x10]
mov byte [rdi + 0xc], al
mov eax, r15d
shr eax, 0x10
mov byte [rdi + 0xd], al
mov eax, r15d
shr eax, 8
mov byte [rdi + 0xe], al
movsxd rax, ebp
add ebp, esi
lea r8, [rax + rdi + 0x188]
nop dword [rax]
movzx eax, byte [r12 + rdx]
inc r8
inc r9
xor al, byte [r9 - 1]
inc rdx
sub rsi, 1
mov byte [rdx - 1], al
mov byte [r8 - 1], al
jne 0x1400ae020
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov dword [rdi + 0x170], ebp
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
pop r14
pop r12
pop rdi
pop rsi
ret
or eax, 0xffffffff
add rsp, 0x58
pop r14
pop r12
pop rdi
pop rsi
ret