Function at 0x1337c0f942c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x88
call fcn.1337c0fd2090
sub rsp, rax
mov r12, qword [rsp + 0xf0]
xor ebp, ebp
mov rax, r12
mov qword [rsp + 0x58], rbp
shl rax, 4
mov rdi, r9
add rax, 6
mov rsi, r8
mov r14, rdx
mov r13d, ebp
mov ebx, ebp
cmp rax, 0x1555555
ja 0x1337c0f94b89
lea rbx, [r12 + r12*2]
xor r8d, r8d
shl rbx, 9
lea rdx, [0x1337c10768f5]
lea rcx, [rbx + 0x220]
call fcn.1337c0f31660
mov qword [rsp + 0x40], rax
mov r15, rax
test rax, rax
je 0x1337c0f94b86
imul rcx, r12, 0x21
xor r8d, r8d
lea rdx, [0x1337c10768f5]
call fcn.1337c0f31660
mov qword [rsp + 0x70], rax
mov r13, rax
test rax, rax
je 0x1337c0f94b81
lea rcx, [r12*8]
xor r8d, r8d
lea rdx, [0x1337c10768f5]
call fcn.1337c0f31660
mov qword [rsp + 0x58], rax
mov rcx, rax
test rax, rax
je 0x1337c0f94b81
mov rax, r15
mov qword [rsp + 0x48], rbp
and rax, 0xffffffffffffffc0
add rax, 0x40
mov qword [rsp + 0x50], rax
lea r15, [rbx + rax]
test r12, r12
je 0x1337c0f947db
mov rbx, qword [rsp + 0xf8]
mov r12, rsi
mov qword [rsp + 0x30], rax
mov rax, rcx
sub rax, rsi
mov qword [rsp + 0x38], rbp
sub rdi, rsi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xe8], rdi
mov rcx, qword [r12]
call fcn.1337c0f4cc40
cmp eax, 0x100
jg 0x1337c0f94407
mov rcx, qword [r12]
call fcn.1337c0f4cae0
test eax, eax
jne 0x1337c0f94407
mov rdi, qword [r12]
jmp 0x1337c0f9443e
mov rcx, rbx
call fcn.1337c0f8e390
mov rdi, rax
test rax, rax
je 0x1337c0f94b18
mov rax, qword [rsp + 0xd0]
mov r9, rbx
mov rdx, qword [r12]
mov rcx, rdi
mov r8, qword [rax + 0x10]
call fcn.1337c0fbb890
test eax, eax
je 0x1337c0f94b6b
mov rax, qword [rsp + 0x58]
mov rcx, rdi
sub rax, rsi
mov ebx, ebp
mov rsi, rbp
mov qword [rax + r12], rdi
call fcn.1337c0f3de70
shl eax, 3
test eax, eax
jle 0x1337c0f9450b
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x60]
nop dword [rax]
mov rcx, qword [r14 + r12]
call fcn.1337c0ef3f10
mov rdx, rax
mov eax, ebx
test ebx, ebx
jns 0x1337c0f94485
lea eax, [rbx + 7]
sar eax, 3
add ebx, 8
movsxd rcx, eax
add rsi, 8
mov rdx, qword [rdx + rcx*8]
mov byte [rdi + r13], dl
mov rax, rdx
shr rax, 8
mov byte [rdi + r13 + 1], al
mov rax, rdx
shr rax, 0x10
mov byte [rdi + r13 + 2], al
shr rdx, 0x18
mov byte [rdi + r13 + 3], dl
shr rdx, 8
mov byte [rdi + r13 + 4], dl
mov rax, rdx
shr rax, 8
mov byte [rdi + r13 + 5], al
mov rax, rdx
shr rax, 0x10
mov byte [rdi + r13 + 6], al
shr rdx, 0x18
mov byte [rdi + r13 + 7], dl
add rdi, 8
mov rcx, qword [r14 + r12]
call fcn.1337c0f3de70
shl eax, 3
cmp ebx, eax
jl 0x1337c0f94470
mov r14, qword [rsp + 0xd8]
cmp rsi, 0x21
jge 0x1337c0f94526
mov rcx, qword [rsp + 0x38]
mov r8d, 0x21
add rcx, rsi
sub r8, rsi
add rcx, r13
xor edx, edx
call fcn.1337c1000cd0
mov rbx, qword [rsp + 0xe8]
mov r8d, 4
mov rcx, r15
mov rax, qword [rbx + r12]
mov rdx, qword [rax + 0x10]
call fcn.1337c0f8f510
test eax, eax
je 0x1337c0f94aff
mov rax, qword [rbx + r12]
lea rcx, [r15 + 0x20]
mov r8d, 4
mov rdx, qword [rax + 0x18]
call fcn.1337c0f8f510
test eax, eax
je 0x1337c0f94aff
mov rax, qword [rbx + r12]
lea rcx, [r15 + 0x40]
mov r8d, 4
mov rdx, qword [rax + 0x20]
call fcn.1337c0f8f510
test eax, eax
je 0x1337c0f94aff
mov rbx, qword [rsp + 0x30]
mov r8d, 1
mov rcx, rbx
mov rdx, r15
call fcn.1337c0e48e00
mov rdx, r15
lea rcx, [r15 + 0x60]
call fcn.1337c0e49580
mov r8d, 2
lea rdx, [r15 + 0x60]
mov rcx, rbx
call fcn.1337c0e48e00
lea rsi, [r15 + 0xc0]
mov r8, r15
mov rcx, rsi
lea rdx, [r15 + 0x60]
call fcn.1337c0e498c0
mov r8d, 3
mov rdx, rsi
mov rcx, rbx
call fcn.1337c0e48e00
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x60]
call fcn.1337c0e49580
mov r8d, 4
lea rdx, [r15 + 0x60]
mov rcx, rbx
call fcn.1337c0e48e00
mov rdx, rsi
mov rcx, rsi
call fcn.1337c0e49580
mov r8d, 6
mov rdx, rsi
mov rcx, rbx
call fcn.1337c0e48e00
lea rdi, [r15 + 0x120]
mov r8, r15
mov rcx, rdi
lea rdx, [r15 + 0x60]
call fcn.1337c0e498c0
mov r8d, 5
mov rdx, rdi
mov rcx, rbx
call fcn.1337c0e48e00
lea rbx, [r15 + 0x180]
mov r8, r15
mov rcx, rbx
mov rdx, rsi
call fcn.1337c0e498c0
mov rcx, qword [rsp + 0x30]
mov r8d, 7
mov rdx, rbx
call fcn.1337c0e48e00
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x60]
call fcn.1337c0e49580
mov rcx, qword [rsp + 0x30]
lea rdx, [r15 + 0x60]
mov r8d, 8
call fcn.1337c0e48e00
mov rdx, rsi
mov rcx, rsi
call fcn.1337c0e49580
mov rcx, qword [rsp + 0x30]
mov r8d, reloc.SHLWAPI.dll_SHCreateMemStream
mov rdx, rsi
call fcn.1337c0e48e00
mov rdx, rdi
mov rcx, rdi
call fcn.1337c0e49580
mov rcx, qword [rsp + 0x30]
mov r8d, 0xa
mov rdx, rdi
call fcn.1337c0e48e00
mov rdx, rbx
mov rcx, rbx
call fcn.1337c0e49580
mov rcx, qword [rsp + 0x30]
mov r8d, recv
mov rdx, rbx
call fcn.1337c0e48e00
mov r8, r15
mov rdx, rsi
mov rcx, rsi
call fcn.1337c0e498c0
mov rcx, qword [rsp + 0x30]
mov r8d, recv
mov rdx, rsi
call fcn.1337c0e48e00
mov r8, r15
mov rdx, rdi
mov rcx, rdi
call fcn.1337c0e498c0
mov rdx, rdi
mov r8d, recv
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.1337c0e48e00
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.1337c0e498c0
mov r8d, recv
mov rdx, rbx
mov rcx, rdi
call fcn.1337c0e48e00
mov r8, r15
lea rdx, [r15 + 0x60]
mov rcx, rsi
call fcn.1337c0e498c0
mov r8d, 9
mov rdx, rsi
mov rcx, rdi
call fcn.1337c0e48e00
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x60]
call fcn.1337c0e49580
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [r15 + 0x60]
mov rcx, rdi
call fcn.1337c0e48e00
mov rax, qword [rsp + 0x48]
add rdi, 0x600
add qword [rsp + 0x38], 0x21
inc rax
mov rbx, qword [rsp + 0xf8]
add r12, 8
mov ebp, 0
mov rsi, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rdi
cmp rax, qword [rsp + 0xf0]
jb 0x1337c0f943e4
mov r12, qword [rsp + 0xf0]
movzx eax, byte [r13 + 0x1f]
mov ebx, 0xff
mov rdx, qword [rsp + 0x50]
mov rcx, r15
shr eax, 6
mov r8d, eax
mov dword [rsp + 0x38], ebx
shr r8d, 1
and eax, 1
add r8d, eax
call fcn.1337c0e48e60
movups xmm0, xmmword [r15]
movups xmmword [r14], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [r15 + 0x20]
movups xmmword [r14 + 0x20], xmm0
movups xmm1, xmmword [r15 + 0x30]
movups xmmword [r14 + 0x30], xmm1
movups xmm0, xmmword [r15 + 0x40]
movups xmmword [r14 + 0x40], xmm0
movups xmm1, xmmword [r15 + 0x50]
movups xmmword [r14 + 0x50], xmm1
nop
cmp ebx, 0xff
mov rdx, rbp
sete dl
cmp rdx, r12
jae 0x1337c0f949ba
mov rax, qword [rsp + 0xf0]
lea ecx, [rbx - 1]
mov r9d, ecx
lea rbp, [rdx + rdx*2]
shr ecx, 3
and r9d, 7
shl rbp, 9
add rbp, qword [rsp + 0x50]
imul r12, rdx, 0x21
lea r8d, [rcx + 1]
mov dword [rsp + 0x30], r9d
sub rax, rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x48], rax
nop word [rax + rax]
lea rax, [r8 + r12]
movzx r8d, byte [rax + r13]
lea rax, [rcx + r12]
movzx ecx, byte [rax + r13]
shl r8d, 8
or r8d, ecx
mov ecx, r9d
shr r8d, cl
mov ecx, 0x3f
and r8d, 0x3f
sub ecx, r8d
mov eax, r8d
shr eax, 5
dec eax
mov edx, eax
and eax, r8d
not edx
and ecx, edx
and edx, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
mov rcx, r15
lea ebx, [rdx + rax*2]
mov rdx, rbp
mov r8d, ebx
shr r8d, 1
call fcn.1337c0e48e60
lea rdx, [r15 + 0x20]
lea rcx, [r15 + 0x80]
call fcn.1337c0e474c0
and ebx, 1
mov r8, r15
neg rbx
mov rdx, rbx
mov rax, rbx
and rax, qword [r15 + 0x80]
not rdx
mov rcx, rdx
and rcx, qword [r15 + 0x20]
xor rcx, rax
mov qword [r15 + 0x20], rcx
mov rcx, qword [r15 + 0x88]
mov rax, qword [r15 + 0x28]
and rcx, rbx
and rax, rdx
xor rcx, rax
mov qword [r15 + 0x28], rcx
mov rcx, qword [r15 + 0x90]
mov rax, qword [r15 + 0x30]
and rcx, rbx
and rax, rdx
xor rcx, rax
mov qword [r15 + 0x30], rcx
mov rcx, r14
and rdx, qword [r15 + 0x38]
mov rax, qword [r15 + 0x98]
and rax, rbx
xor rax, rdx
mov rdx, r14
mov qword [r15 + 0x38], rax
call fcn.1337c0e498c0
mov r9d, dword [rsp + 0x30]
lea r12, [r12 + 0x21]
mov r8, qword [rsp + 0x60]
add rbp, 0x600
sub qword [rsp + 0x48], 1
mov rcx, qword [rsp + 0x68]
jne 0x1337c0f948a0
mov ebx, dword [rsp + 0x38]
xor ebp, ebp
mov r12, qword [rsp + 0xf0]
add ebx, 0xfffffffb
mov rdx, r14
mov rcx, r14
mov dword [rsp + 0x38], ebx
call fcn.1337c0e49580
mov rdx, r14
mov rcx, r14
call fcn.1337c0e49580
mov rdx, r14
mov rcx, r14
call fcn.1337c0e49580
mov rdx, r14
mov rcx, r14
call fcn.1337c0e49580
mov rdx, r14
mov rcx, r14
call fcn.1337c0e49580
cmp ebx, 5
jae 0x1337c0f94840
test r12, r12
je 0x1337c0f94af8
mov rbp, qword [rsp + 0x50]
nop
movzx edx, byte [r13]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
sub ecx, edx
mov eax, edx
shr eax, 5
dec eax
mov r8d, eax
and eax, edx
not r8d
mov rdx, rbp
and ecx, r8d
and r8d, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
mov rcx, r15
lea ebx, [r8 + rax*2]
mov r8d, ebx
shr r8d, 1
call fcn.1337c0e48e60
lea rdx, [r15 + 0x20]
lea rcx, [r15 + 0x80]
call fcn.1337c0e474c0
mov rcx, qword [r15 + 0x20]
and ebx, 1
mov rax, qword [r15 + 0x80]
neg rbx
and rax, rbx
mov rdx, rbx
not rdx
mov r8, r15
and rcx, rdx
xor rcx, rax
mov qword [r15 + 0x20], rcx
mov rcx, qword [r15 + 0x88]
mov rax, qword [r15 + 0x28]
and rcx, rbx
and rax, rdx
xor rcx, rax
mov qword [r15 + 0x28], rcx
mov rcx, qword [r15 + 0x90]
mov rax, qword [r15 + 0x30]
and rcx, rbx
and rax, rdx
xor rcx, rax
mov qword [r15 + 0x30], rcx
mov rcx, r14
and rdx, qword [r15 + 0x38]
mov rax, qword [r15 + 0x98]
and rax, rbx
xor rax, rdx
mov rdx, r14
mov qword [r15 + 0x38], rax
call fcn.1337c0e498c0
add rbp, 0x600
lea r13, [r13 + 0x21]
sub r12, 1
jne 0x1337c0f94a10
mov r13, qword [rsp + 0x70]
mov ebp, 1
jmp 0x1337c0f94b18
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov edx, 0xf2
lea ecx, [r9 + 0x10]
lea r8d, [rdx - 0x60]
call fcn.1337c0f2ddb0
mov rbx, qword [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x1337c10768f5]
mov rcx, rbx
call fcn.1337c0f31610
xor r8d, r8d
lea rdx, [0x1337c10768f5]
mov rcx, r13
call fcn.1337c0f31610
mov rcx, qword [rsp + 0x58]
lea rdx, [0x1337c10768f5]
xor r8d, r8d
call fcn.1337c0f31610
mov eax, ebp
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov edx, 0xf2
lea ecx, [r9 + 0x10]
lea r8d, [r9 + 3]
jmp 0x1337c0f94b13
mov rbx, r15
jmp 0x1337c0f94b89
mov rbx, rax
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov edx, 0xf2
lea ecx, [r9 + 0x10]
lea r8d, [r9 + 0x41]
call fcn.1337c0f2ddb0
jmp 0x1337c0f94b1d