Function at 0x1337c0f6ac50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x68
call fcn.1337c0fd4370
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov r10, qword [rcx + 0x168]
mov r14, r9
mov qword [rsp + 0x38], rax
mov rsi, r8
mov rax, qword [rcx + 0x180]
mov rdi, rdx
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x30], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov qword [rsp + 0x28], r10
cmp rcx, rax
ja 0x1337c0f6afd0
cmp rcx, r9
jb 0x1337c0f6afd0
mov qword [rsp + 0x58], r13
xor r13d, r13d
mov qword [rsp + 0x50], r15
mov r15d, dword [rbx + 0x170]
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x60], r12
lea r12, [rbx + 0x40]
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x90], r15d
cmp dword [rbx + 0x174], r13d
je 0x1337c0f6ad57
test r9, r9
jne 0x1337c0f6ad2c
lea rdx, [rbx + 0x60]
mov rcx, r12
call qword [rbx + 0x160]
mov dword [rbx + 0x174], 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 [r12]
lea rax, [rbx + 0xc]
mov r15d, reloc.WS2_32.dll_recv
movups xmmword [rbx + 0x188], xmm0
mov qword [r12], r13
mov qword [rbx + 0x48], r13
mov ebp, dword [rax]
bswap ebp
mov dword [rbx + 0x174], r13d
jmp 0x1337c0f6adcb
mov ebp, dword [rbx + 0xc]
lea rax, [rbx + 0xc]
mov r13d, r15d
lea r8, [rbx + 0x188]
and r13d, 0xf
bswap ebp
mov dword [rsp + 0x20], r13d
je 0x1337c0f6addf
test r14, r14
je 0x1337c0f6afc4
movzx ecx, byte [rdi]
dec r14
mov eax, r15d
inc rdi
inc r15d
mov byte [rax + rbx + 0x188], cl
xor cl, byte [r13 + rbx + 0x10]
mov byte [rsi], cl
inc rsi
inc r13d
and r13d, 0xf
jne 0x1337c0f6ad75
lea r12, [rbx + 0x40]
mov r9d, r15d
mov rcx, r12
lea r8, [rbx + 0x188]
lea rdx, [rbx + 0x60]
call r10
mov r10, qword [rsp + 0x28]
lea rax, [rbx + 0xc]
xor r15d, r15d
lea r8, [rbx + 0x188]
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x90], r15d
lea rcx, [rbx + 0x60]
cmp r14, 0x10
jb 0x1337c0f6ae09
test r15d, r15d
je 0x1337c0f6ae09
mov rdx, rcx
mov r9d, r15d
mov rcx, r12
call r10
xor r15d, r15d
lea rax, [rbx + 0xc]
mov dword [rsp + 0x90], r15d
cmp r14, 0xc00
jb 0x1337c0f6aedb
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
shr rdx, 0xb
imul rax, rdx, 0xfffffffffffff400
mov qword [rsp + 0x40], rdx
add r14, rax
mov qword [rsp + 0xa8], 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 [rsp + 0x28]
mov r14, qword [rsp + 0x38]
mov r12d, 0xc0
nop
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 r12, 1
jne 0x1337c0f6ae70
sub qword [rsp + 0x40], 1
lea r14, [rbx + 0x40]
jne 0x1337c0f6ae50
mov r15d, dword [rsp + 0x90]
lea rax, [rbx + 0xc]
mov r13d, dword [rsp + 0x20]
mov qword [rsp + 0x40], r14
mov r12, qword [rsp + 0x40]
mov r14, qword [rsp + 0xa8]
mov r9, r14
lea rcx, [rbx + 0x60]
and r9, 0xfffffffffffffff0
je 0x1337c0f6af77
mov rdx, rcx
mov r8, rdi
mov rcx, r12
call qword [rsp + 0x28]
lea r12, [rbx + 0xc]
cmp r14, 0x10
jb 0x1337c0f6af7a
mov r12, r14
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x38]
nop
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 r12, 1
jne 0x1337c0f6af20
mov r14, qword [rsp + 0xa8]
lea r12, [rbx + 0xc]
mov r15d, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x20]
jmp 0x1337c0f6af7a
mov r12, rax
test r14, r14
je 0x1337c0f6afc4
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x38]
inc ebp
bswap ebp
mov dword [r12], ebp
nop word [rax + rax]
mov edx, r13d
inc r13d
mov eax, r15d
inc r15d
movzx ecx, byte [rdx + rdi]
mov byte [rax + rbx + 0x188], cl
xor cl, byte [rdx + rbx + 0x10]
mov byte [rdx + rsi], cl
sub r14, 1
jne 0x1337c0f6afa0
mov dword [rbx + 0x170], r15d
jmp 0x1337c0f6ad09
mov eax, 0xffffffff
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret