Function at 0x1402d8fc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x68
call fcn.140382db0
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov qword [rsp + 0x40], rax
mov r14, r9
mov rax, qword [rcx + 0x188]
mov rdi, r8
mov rcx, qword [rcx + 0x38]
mov rsi, rdx
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x1402d9380
cmp rcx, r9
jb 0x1402d9380
mov qword [rsp + 0x58], r13
xor r13d, r13d
mov qword [rsp + 0x50], r15
mov r15d, dword [rbx + 0x178]
mov qword [rbx + 0x38], rcx
lea rcx, [rbx + 0x40]
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x90], r15d
mov qword [rsp + 0x28], rcx
cmp dword [rbx + 0x17c], r13d
je 0x1402d9266
test r9, r9
jne 0x1402d9096
lea rdx, [rbx + 0x60]
call qword [rbx + 0x170]
mov dword [rbx + 0x17c], r13d
mov r12, qword [rsp + 0x60]
xor eax, eax
mov rbp, qword [rsp + 0x98]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret
movups xmm0, xmmword [rcx]
lea r12, [rbx + 0xc]
mov dword [rsp + 0x20], r13d
mov r15d, reloc.WS2_32.dll_recv
lea rax, [rbx + 0x190]
movups xmmword [rbx + 0x190], xmm0
mov qword [rcx], r13
mov qword [rbx + 0x48], r13
mov ebp, dword [r12]
bswap ebp
mov dword [rsp + 0x90], r15d
mov dword [rbx + 0x17c], r13d
lea rcx, [rbx + 0x60]
mov qword [rsp + 0x30], rcx
cmp r14, 0x10
jb 0x1402d9104
test r15d, r15d
je 0x1402d9104
mov rdx, rcx
mov r9d, r15d
lea rcx, [rbx + 0x40]
mov r8, rax
call qword [rbx + 0x168]
xor r15d, r15d
mov dword [rsp + 0x90], r15d
cmp r14, 0xc00
jb 0x1402d91d2
lea rax, [rbx + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbx + 0x40]
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rcx, rdx
shr rcx, 0xb
imul rax, rcx, 0xfffffffffffff400
mov qword [rsp + 0x48], rcx
add r14, rax
nop word [rax + rax]
mov r15, qword [rsp + 0x40]
mov r12d, 0xc0
nop dword [rax + rax]
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r15
inc ebp
mov eax, ebp
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rsi]
xor rax, qword [rbx + 0x10]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
add rsi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r12, 1
jne 0x1402d9160
mov rdx, qword [rsp + 0x30]
lea r8, [rdi - 0xc00]
mov rcx, qword [rsp + 0x28]
mov r9d, 0xc00
call qword [rbx + 0x168]
sub qword [rsp + 0x48], 1
jne 0x1402d9150
mov r15d, dword [rsp + 0x90]
lea r12, [rbx + 0xc]
mov r13d, dword [rsp + 0x20]
mov rcx, r14
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x48], rcx
je 0x1402d9327
cmp r14, 0x10
jb 0x1402d930b
mov r15, qword [rsp + 0x40]
mov r13, r14
shr r13, 4
imul rax, r13, 0xfffffffffffffff0
add r14, rax
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r15
inc ebp
mov eax, ebp
bswap eax
mov dword [r12], eax
mov rax, qword [rsi]
xor rax, qword [rbx + 0x10]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
add rsi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r13, 1
jne 0x1402d9201
mov r15d, dword [rsp + 0x90]
lea rax, [rbx + 0x60]
mov r13d, dword [rsp + 0x20]
lea r12, [rbx + 0xc]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rbx + 0x40]
jmp 0x1402d9310
mov ebp, dword [rbx + 0xc]
lea r12, [rbx + 0xc]
mov r13d, r15d
lea rax, [rbx + 0x190]
and r13d, 0xf
bswap ebp
mov dword [rsp + 0x20], r13d
je 0x1402d90d2
nop dword [rax + rax]
test r14, r14
je 0x1402d9374
movzx ecx, byte [r13 + rbx + 0x10]
dec r14
xor cl, byte [rsi]
inc rsi
mov byte [rdi], cl
inc rdi
mov eax, r15d
inc r15d
inc r13d
mov byte [rax + rbx + 0x190], cl
and r13d, 0xf
jne 0x1402d9290
lea rax, [rbx + 0x40]
mov r9d, r15d
lea rdx, [rbx + 0x60]
mov qword [rsp + 0x28], rax
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea r8, [rbx + 0x190]
call qword [rbx + 0x168]
xor r15d, r15d
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x90], r15d
lea r12, [rbx + 0xc]
lea rax, [rbx + 0x190]
lea rcx, [rbx + 0x60]
jmp 0x1402d90db
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r9, rcx
mov r8, rdi
sub r8, rcx
mov rcx, rax
call qword [rbx + 0x168]
test r14, r14
je 0x1402d9374
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x40]
inc ebp
bswap ebp
mov dword [r12], ebp
nop dword [rax]
nop dword [rax + rax]
mov eax, r13d
inc r13d
movzx ecx, byte [rax + rbx + 0x10]
xor cl, byte [rax + rsi]
mov byte [rax + rdi], cl
mov eax, r15d
inc r15d
mov byte [rax + rbx + 0x190], cl
sub r14, 1
jne 0x1402d9350
mov dword [rbx + 0x178], r15d
jmp 0x1402d9073
mov eax, 0xffffffff
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret