Function at 0x1337c0fc3b40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x78
call fcn.1337c102adb0
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov r10, qword [rcx + 0x168]
mov r14, r9
mov qword [rsp + 0x48], rax
mov rdi, r8
mov rax, qword [rcx + 0x180]
mov rsi, rdx
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x40], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov qword [rsp + 0x38], r10
cmp rcx, rax
ja 0x1337c0fc3ef0
cmp rcx, r9
jb 0x1337c0fc3ef0
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x60], r15
mov r15d, dword [rbx + 0x170]
mov qword [rbx + 0x38], rcx
lea rcx, [rbx + 0x40]
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x70], r12
mov dword [rsp + 0xa0], r15d
mov qword [rsp + 0x28], rcx
cmp dword [rbx + 0x174], r13d
je 0x1337c0fc3de5
test r9, r9
jne 0x1337c0fc3c22
lea rdx, [rbx + 0x60]
call qword [rbx + 0x160]
mov dword [rbx + 0x174], r13d
mov r12, qword [rsp + 0x70]
xor eax, eax
mov rbp, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
add rsp, 0x78
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 + 0x188]
movups xmmword [rbx + 0x188], xmm0
mov qword [rcx], r13
mov qword [rbx + 0x48], r13
mov ebp, dword [r12]
bswap ebp
mov dword [rsp + 0xa0], r15d
mov dword [rbx + 0x174], r13d
lea rcx, [rbx + 0x60]
mov qword [rsp + 0x30], rcx
cmp r14, 0x10
jb 0x1337c0fc3c8d
test r15d, r15d
je 0x1337c0fc3c8d
mov rdx, rcx
mov r9d, r15d
lea rcx, [rbx + 0x40]
mov r8, rax
call r10
xor r15d, r15d
mov dword [rsp + 0xa0], r15d
cmp r14, 0xc00
jb 0x1337c0fc3d50
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 + 0x50], rcx
add r14, rax
nop
mov r15, qword [rsp + 0x48]
mov r12d, 0xc0
nop dword [rax + rax]
mov r8, qword [rsp + 0x40]
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 0x1337c0fc3ce0
mov rdx, qword [rsp + 0x30]
lea r8, [rdi - 0xc00]
mov rcx, qword [rsp + 0x28]
mov r9d, 0xc00
call qword [rsp + 0x38]
sub qword [rsp + 0x50], 1
jne 0x1337c0fc3cd0
mov r15d, dword [rsp + 0xa0]
lea r12, [rbx + 0xc]
mov r13d, dword [rsp + 0x20]
mov rcx, r14
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x50], rcx
je 0x1337c0fc3e9e
cmp r14, 0x10
jb 0x1337c0fc3e84
mov r15, qword [rsp + 0x48]
mov r13, r14
shr r13, 4
imul rax, r13, 0xfffffffffffffff0
add r14, rax
nop
mov r8, qword [rsp + 0x40]
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 0x1337c0fc3d80
mov r15d, dword [rsp + 0xa0]
lea rax, [rbx + 0x60]
mov r13d, dword [rsp + 0x20]
lea r12, [rbx + 0xc]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbx + 0x40]
jmp 0x1337c0fc3e89
mov ebp, dword [rbx + 0xc]
lea r12, [rbx + 0xc]
mov r13d, r15d
lea rax, [rbx + 0x188]
and r13d, 0xf
bswap ebp
mov dword [rsp + 0x20], r13d
je 0x1337c0fc3c5e
test r14, r14
je 0x1337c0fc3ee4
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 + 0x188], cl
and r13d, 0xf
jne 0x1337c0fc3e07
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 + 0x188]
call r10
mov r10, qword [rsp + 0x38]
lea r12, [rbx + 0xc]
xor r15d, r15d
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0xa0], r15d
lea rax, [rbx + 0x188]
lea rcx, [rbx + 0x60]
jmp 0x1337c0fc3c67
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r9, rcx
mov r8, rdi
sub r8, rcx
mov rcx, rax
call qword [rsp + 0x38]
test r14, r14
je 0x1337c0fc3ee4
mov r8, qword [rsp + 0x40]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x48]
inc ebp
bswap ebp
mov dword [r12], ebp
nop dword [rax + rax]
mov eax, r13d
inc r13d
movzx ecx, byte [rsi + rax]
xor cl, byte [rax + rbx + 0x10]
mov byte [rdi + rax], cl
mov eax, r15d
inc r15d
mov byte [rax + rbx + 0x188], cl
sub r14, 1
jne 0x1337c0fc3ec0
mov dword [rbx + 0x170], r15d
jmp 0x1337c0fc3bff
mov eax, 0xffffffff
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbx
ret