Function at 0x1337c0fbec30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r15
mov eax, 0x78
call fcn.1337c1024f90
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov r10, qword [rcx + 0x168]
mov rsi, r9
mov rcx, qword [rcx + 0x38]
mov r15, r8
mov qword [rsp + 0x50], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov qword [rsp + 0x48], r10
mov r12, rdx
cmp rcx, rax
ja 0x1337c0fbef6f
cmp rcx, r9
jb 0x1337c0fbef6f
mov qword [rsp + 0xa8], rbp
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x60], r14
xor r14d, r14d
mov qword [rsp + 0x70], rdi
lea rdi, [rbx + 0x40]
mov qword [rsp + 0x68], r13
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0xa0], ebp
cmp dword [rbx + 0x174], r14d
je 0x1337c0fbed26
test r9, r9
jne 0x1337c0fbed00
lea rdx, [rbx + 0x60]
mov rcx, rdi
call qword [rbx + 0x160]
mov dword [rbx + 0x174], r14d
mov r13, qword [rsp + 0x68]
xor eax, eax
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x60]
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret
movups xmm0, xmmword [rdi]
mov ebp, reloc.WS2_32.dll_recv
movups xmmword [rbx + 0x188], xmm0
mov qword [rdi], r14
mov qword [rbx + 0x48], r14
mov r13d, dword [rbx + 0xc]
bswap r13d
mov dword [rbx + 0x174], r14d
jmp 0x1337c0fbed94
mov r13d, dword [rbx + 0xc]
lea rcx, [rbx + 0x188]
mov r14d, ebp
and r14d, 0xf
mov dword [rsp + 0x30], r14d
bswap r13d
je 0x1337c0fbeda7
test rsi, rsi
je 0x1337c0fbef64
movzx ecx, byte [r14 + rbx + 0x10]
dec rsi
xor cl, byte [r12]
inc r12
mov byte [r15], cl
inc r15
mov eax, ebp
inc ebp
inc r14d
mov byte [rax + rbx + 0x188], cl
and r14d, 0xf
jne 0x1337c0fbed42
lea rdi, [rbx + 0x40]
mov r9d, ebp
mov rcx, rdi
lea r8, [rbx + 0x188]
lea rdx, [rbx + 0x60]
call r10
mov r10, qword [rsp + 0x48]
xor ebp, ebp
lea rcx, [rbx + 0x188]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0xa0], ebp
mov qword [rsp + 0x40], rdi
lea rax, [rbx + 0x60]
mov qword [rsp + 0x38], rax
cmp rsi, 0x10
jb 0x1337c0fbedef
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
test ebp, ebp
je 0x1337c0fbedef
mov r8, rcx
mov r9d, ebp
mov rcx, rdi
mov rdx, rax
call r10
xor ebp, ebp
mov qword [rsp + 0x40], rdi
lea rax, [rbx + 0x60]
mov dword [rsp + 0xa0], ebp
mov qword [rsp + 0x38], rax
mov r10, qword [rsp + 0xc0]
cmp rsi, 0xc00
jb 0x1337c0fbeeb9
mov rbp, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
movabs rax, 0xaaaaaaaaaaaaaaab
mov r14, qword [rsp + 0x38]
mul rsi
mov qword [rsp + 0x40], rdi
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add rsi, rax
mov qword [rsp + 0xb8], rsi
mov rsi, qword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rsp + 0x50]
mov r8d, 0xc0
mov rdx, r15
mov qword [rsp + 0x20], rbx
mov rcx, r12
call r10
add r13d, 0xc0
mov r9d, 0xc00
mov eax, r13d
mov r8, r15
bswap eax
mov rdx, r14
mov dword [rbx + 0xc], eax
mov rcx, rsi
call rbp
mov r10, qword [rsp + 0xc0]
add r15, 0xc00
add r12, 0xc00
sub rdi, 1
jne 0x1337c0fbee50
mov rsi, qword [rsp + 0xb8]
mov ebp, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0x30]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0xb8], rax
je 0x1337c0fbef17
mov r9, qword [rsp + 0x50]
mov rdi, rax
shr rdi, 4
mov rdx, r15
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rcx, r12
call r10
mov rdx, qword [rsp + 0x38]
add r13d, edi
mov rdi, qword [rsp + 0xb8]
mov eax, r13d
mov rcx, qword [rsp + 0x40]
mov r9, rdi
bswap eax
mov r8, r15
mov dword [rbx + 0xc], eax
add r12, rdi
sub rsi, rdi
call qword [rsp + 0x48]
add r15, rdi
test rsi, rsi
je 0x1337c0fbef64
mov r8, qword [rsp + 0x50]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r13d
bswap r13d
mov dword [rbx + 0xc], r13d
nop dword [rax + rax]
mov eax, r14d
inc r14d
movzx ecx, byte [rax + r12]
xor cl, byte [rbx + rax + 0x10]
mov byte [r15 + rax], cl
mov eax, ebp
inc ebp
mov byte [rax + rbx + 0x188], cl
sub rsi, 1
jne 0x1337c0fbef40
mov dword [rbx + 0x170], ebp
jmp 0x1337c0fbecdc
mov eax, 0xffffffff
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret