Function at 0x18031a030
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x860
call fcn.18040d2f0
sub rsp, rax
mov rax, qword [0x18056d580]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r11d, 8
mov qword [rsp + 0x48], r8
mov r10, r8
lea rax, [rsp + 0x50]
mov edi, r9d
mov ebx, r11d
lea r8d, [r11 + 0x78]
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rax + 0x60], xmm0
add rax, r8
movups xmmword [rax - 0x10], xmm1
sub rbx, 1
jne 0x18031a090
lea r9, [rsp + 0x50]
mov edx, reloc.WS2_32.dll_recv
sub r9, rcx
lea rbx, [rsp + 0x60]
sub rbx, rcx
lea rax, [rcx + 0x20]
mov ecx, edx
nop word [rax + rax]
movdqu xmm0, xmmword [r9 + rax - 0x20]
movdqu xmm1, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [r9 + rax - 0x60], xmm1
movdqu xmm0, xmmword [rbx + rax - 0x60]
movdqu xmm1, xmmword [rax - 0x50]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x60], xmm1
movdqu xmm1, xmmword [rax + r9 - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax + r9 - 0x40], xmm1
movdqu xmm0, xmmword [rax + rbx - 0x40]
movdqu xmm1, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + rbx - 0x40], xmm1
sub rcx, 1
jne 0x18031a100
lea rax, [rsp + 0x450]
lea rcx, [rsp + 0x50]
nop
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
add rcx, r8
movups xmmword [rax + 0x60], xmm0
add rax, r8
movups xmmword [rax - 0x10], xmm1
sub r11, 1
jne 0x18031a170
xor r9d, r9d
mov qword [rsp + 0x40], r9
test edi, edi
je 0x18031a282
lea rax, [r10 + 0x3f8]
lea rcx, [rsp + 0x450]
cmp rcx, rax
ja 0x18031a206
lea rax, [rsp + 0x848]
cmp rax, r10
jb 0x18031a206
mov ecx, r9d
nop
mov rax, qword [r10 + rcx*8]
xor qword [rsp + rcx*8 + 0x450], rax
inc rcx
cmp rcx, r8
jl 0x18031a1f0
jmp 0x18031a282
lea rcx, [rsp + 0x450]
sub rcx, r10
lea r8, [rsp + 0x460]
sub r8, r10
lea rax, [r10 + 0x20]
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm1, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x60], xmm1
movdqu xmm0, xmmword [r8 + rax - 0x60]
movdqu xmm1, xmmword [rax - 0x50]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r8 + rax - 0x60], xmm1
movdqu xmm1, xmmword [rax + rcx - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax + rcx - 0x40], xmm1
movdqu xmm0, xmmword [rax + r8 - 0x40]
movdqu xmm1, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + r8 - 0x40], xmm1
sub rdx, 1
jne 0x18031a220
mov eax, r9d
mov dword [rsp], eax
nop dword [rax + rax]
shl eax, 4
lea rdi, [rsp + 0x50]
mov r10, qword [rdi + rax*8 + 0x20]
lea rdi, [rdi + rax*8]
mov rdx, qword [rdi]
mov eax, r10d
mov ecx, edx
imul rcx, rax
mov qword [rsp + 8], rdi
lea r9, [rdx + rcx*2]
mov rdx, qword [rdi + 0x40]
add r9, r10
mov eax, edx
mov r11, r9
xor r11, qword [rdi + 0x60]
ror r11, 0x20
mov ecx, r11d
imul rcx, rax
lea r8, [rdx + rcx*2]
mov rdx, qword [rdi + 8]
add r8, r11
mov ecx, r9d
xor r10, r8
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov eax, r8d
lea r13, [r10 + rcx*2]
add r13, r9
xor r11, r13
ror r11, 0x10
mov ecx, r11d
imul rcx, rax
mov qword [rsp + 0x10], r11
lea rax, [r11 + rcx*2]
mov ecx, edx
add rax, r8
mov qword [rsp + 0x20], rax
xor rax, r10
mov r10, qword [rdi + 0x28]
rol rax, 1
mov qword [rsp + 0x28], rax
mov eax, r10d
imul rcx, rax
lea r9, [rdx + rcx*2]
mov rdx, qword [rdi + 0x48]
add r9, r10
mov ecx, edx
mov r11, r9
xor r11, qword [rdi + 0x68]
ror r11, 0x20
mov eax, r11d
imul rcx, rax
lea r8, [rdx + rcx*2]
mov rdx, qword [rdi + 0x10]
add r8, r11
mov ecx, r9d
xor r10, r8
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov eax, r8d
lea r12, [r10 + rcx*2]
add r12, r9
xor r11, r12
ror r11, 0x10
mov ecx, r11d
imul rcx, rax
mov qword [rsp + 0x18], r11
lea rax, [r11 + rcx*2]
mov ecx, edx
add rax, r8
mov r14, rax
mov qword [rsp + 0x38], rax
xor r14, r10
mov r10, qword [rdi + 0x30]
mov eax, r10d
imul rcx, rax
rol r14, 1
lea r9, [rdx + rcx*2]
add r9, r10
mov rdx, qword [rdi + 0x50]
mov r11, r9
xor r11, qword [rdi + 0x70]
ror r11, 0x20
mov eax, r11d
mov ecx, edx
imul rcx, rax
lea r8, [rdx + rcx*2]
mov rdx, qword [rdi + 0x18]
add r8, r11
mov ecx, r9d
xor r10, r8
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov eax, r8d
lea r15, [r10 + rcx*2]
add r15, r9
xor r11, r15
ror r11, 0x10
mov ecx, r11d
imul rcx, rax
mov qword [rsp + 0x30], r11
lea rbx, [r11 + rcx*2]
mov ecx, edx
add rbx, r8
mov rsi, rbx
xor rsi, r10
mov r10, qword [rdi + 0x38]
mov eax, r10d
imul rcx, rax
rol rsi, 1
lea r9, [rdx + rcx*2]
mov rdx, qword [rdi + 0x58]
add r9, r10
mov ecx, edx
mov r11, r9
xor r11, qword [rdi + 0x78]
ror r11, 0x20
mov eax, r11d
imul rcx, rax
lea r8, [rdx + rcx*2]
mov ecx, r9d
add r8, r11
xor r10, r8
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov eax, r8d
lea rbp, [r10 + rcx*2]
add rbp, r9
xor r11, rbp
ror r11, 0x10
mov ecx, r11d
imul rcx, rax
mov eax, r13d
lea r9, [r11 + rcx*2]
mov ecx, r14d
imul rcx, rax
add r9, r8
mov eax, ebx
mov rdi, r9
xor rdi, r10
rol rdi, 1
lea rdx, [r14 + rcx*2]
add rdx, r13
xor r11, rdx
ror r11, 0x20
mov ecx, r11d
imul rcx, rax
mov eax, edx
lea r8, [r11 + rcx*2]
add r8, rbx
mov rbx, qword [rsp + 8]
xor r14, r8
ror r14, 0x18
mov ecx, r14d
imul rcx, rax
lea rax, [r14 + rcx*2]
add rdx, rax
mov qword [rbx], rdx
mov r10, qword [rsp + 0x10]
xor rdx, r11
ror rdx, 0x10
mov ecx, edx
mov qword [rbx + 0x78], rdx
mov eax, r8d
imul rcx, rax
mov eax, esi
lea rcx, [rdx + rcx*2]
add rcx, r8
mov qword [rbx + 0x50], rcx
xor rcx, r14
rol rcx, 1
mov qword [rbx + 0x28], rcx
mov ecx, r12d
imul rcx, rax
mov eax, r9d
lea rdx, [r12 + rcx*2]
add rdx, rsi
xor r10, rdx
ror r10, 0x20
mov ecx, r10d
imul rcx, rax
mov eax, edx
lea r8, [r10 + rcx*2]
add r8, r9
mov r9, r8
xor r9, rsi
ror r9, 0x18
mov ecx, r9d
imul rcx, rax
lea rax, [r9 + rcx*2]
add rdx, rax
mov eax, r8d
mov qword [rbx + 8], rdx
xor rdx, r10
mov r10, qword [rsp + 0x18]
ror rdx, 0x10
mov ecx, edx
imul rcx, rax
mov qword [rbx + 0x60], rdx
mov eax, edi
lea rcx, [rdx + rcx*2]
add rcx, r8
mov r8, qword [rsp + 0x20]
mov qword [rbx + 0x58], rcx
xor rcx, r9
rol rcx, 1
mov qword [rbx + 0x30], rcx
mov ecx, r15d
imul rcx, rax
lea rdx, [r15 + rcx*2]
mov ecx, r8d
add rdx, rdi
xor r10, rdx
ror r10, 0x20
mov eax, r10d
imul rcx, rax
mov eax, edx
lea r8, [r8 + rcx*2]
add r8, r10
mov r9, r8
xor r9, rdi
ror r9, 0x18
mov ecx, r9d
imul rcx, rax
lea rax, [r9 + rcx*2]
add rdx, rax
mov eax, r8d
mov qword [rbx + 0x10], rdx
xor rdx, r10
ror rdx, 0x10
mov ecx, edx
imul rcx, rax
mov qword [rbx + 0x68], rdx
lea rcx, [rdx + rcx*2]
add rcx, r8
mov qword [rbx + 0x40], rcx
xor rcx, r9
rol rcx, 1
mov qword [rbx + 0x38], rcx
mov r10, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
mov ecx, r10d
mov eax, ebp
imul rcx, rax
lea rdx, [r10 + rcx*2]
mov ecx, r8d
add rdx, rbp
xor r9, rdx
ror r9, 0x20
mov eax, r9d
imul rcx, rax
mov eax, edx
lea r8, [r8 + rcx*2]
add r8, r9
xor r10, r8
ror r10, 0x18
mov ecx, r10d
imul rcx, rax
lea rax, [r10 + rcx*2]
add rdx, rax
mov eax, r8d
mov qword [rbx + 0x18], rdx
xor rdx, r9
ror rdx, 0x10
mov ecx, edx
imul rcx, rax
mov eax, dword [rsp]
inc eax
mov qword [rbx + 0x70], rdx
mov dword [rsp], eax
lea rcx, [rdx + rcx*2]
add rcx, r8
mov qword [rbx + 0x48], rcx
xor rcx, r10
rol rcx, 1
mov qword [rbx + 0x20], rcx
cmp eax, 8
jb 0x18031a290
xor eax, eax
nop word [rax + rax]
add eax, eax
lea rbx, [rsp + 0x50]
mov rdx, qword [rbx + rax*8]
lea rbx, [rbx + rax*8]
mov r8, qword [rbx + 0x100]
mov ecx, edx
mov eax, r8d
imul rcx, rax
mov qword [rsp + 0x30], rbx
lea r10, [rdx + rcx*2]
mov rdx, qword [rbx + 0x200]
mov eax, edx
add r10, r8
mov r11, r10
xor r11, qword [rbx + 0x300]
ror r11, 0x20
mov ecx, r11d
imul rcx, rax
lea r9, [r11 + rcx*2]
mov ecx, r10d
add r9, rdx
mov rdx, r9
xor rdx, r8
ror rdx, 0x18
mov eax, edx
imul rcx, rax
lea rax, [rdx + rcx*2]
mov ecx, r9d
add rax, r10
xor r11, rax
mov qword [rsp + 0x38], rax
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov qword [rsp + 0x28], r11
lea rax, [r9 + rcx*2]
mov r9, qword [rbx + 0x108]
add rax, r11
xor rdx, rax
mov qword [rsp + 0x18], rax
rol rdx, 1
mov qword [rsp + 0x10], rdx
mov rdx, qword [rbx + 8]
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea r10, [rdx + rcx*2]
mov rdx, qword [rbx + 0x208]
add r10, r9
mov eax, edx
mov r11, r10
xor r11, qword [rbx + 0x308]
ror r11, 0x20
mov ecx, r11d
imul rcx, rax
lea r8, [r11 + rcx*2]
mov ecx, r10d
add r8, rdx
mov rdx, qword [rbx + 0x80]
mov r15, r8
xor r15, r9
mov r9, qword [rbx + 0x180]
ror r15, 0x18
mov eax, r15d
imul rcx, rax
lea r13, [r15 + rcx*2]
mov ecx, r8d
add r13, r10
xor r11, r13
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov qword [rsp + 0x20], r11
lea rax, [r8 + rcx*2]
mov ecx, edx
add rax, r11
xor r15, rax
mov qword [rsp], rax
rol r15, 1
mov eax, r9d
imul rcx, rax
lea r10, [rdx + rcx*2]
mov rdx, qword [rbx + 0x280]
add r10, r9
mov eax, edx
mov r11, r10
xor r11, qword [rbx + 0x380]
ror r11, 0x20
mov ecx, r11d
imul rcx, rax
lea r8, [r11 + rcx*2]
mov ecx, r10d
add r8, rdx
mov rdx, qword [rbx + 0x88]
mov r14, r8
xor r14, r9
mov r9, qword [rbx + 0x188]
ror r14, 0x18
mov eax, r14d
imul rcx, rax
lea r12, [r14 + rcx*2]
mov ecx, r8d
add r12, r10
xor r11, r12
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov qword [rsp + 8], r11
mov eax, r9d
lea rdi, [r8 + rcx*2]
mov ecx, edx
imul rcx, rax
add rdi, r11
xor r14, rdi
rol r14, 1
lea r10, [rdx + rcx*2]
mov rdx, qword [rbx + 0x288]
add r10, r9
mov eax, edx
mov r11, r10
xor r11, qword [rbx + 0x388]
ror r11, 0x20
mov ecx, r11d
imul rcx, rax
lea r8, [r11 + rcx*2]
mov ecx, r10d
add r8, rdx
mov rdx, qword [rsp + 0x38]
mov rsi, r8
xor rsi, r9
ror rsi, 0x18
mov eax, esi
imul rcx, rax
lea rbp, [rsi + rcx*2]
mov ecx, r8d
add rbp, r10
xor r11, rbp
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov eax, edx
lea rbx, [r8 + rcx*2]
mov ecx, r15d
imul rcx, rax
add rbx, r11
xor rsi, rbx
rol rsi, 1
lea rax, [r15 + rcx*2]
add rdx, rax
mov eax, edi
mov r8, rdx
xor r8, r11
ror r8, 0x20
mov ecx, r8d
imul rcx, rax
mov eax, edx
lea r9, [r8 + rcx*2]
add r9, rdi
mov r10, r9
xor r10, r15
ror r10, 0x18
mov ecx, r10d
mov r11, qword [rsp + 0x30]
imul rcx, rax
lea rax, [r10 + rcx*2]
add rdx, rax
mov eax, r9d
mov qword [r11], rdx
xor rdx, r8
ror rdx, 0x10
mov ecx, edx
imul rcx, rax
mov qword [r11 + 0x388], rdx
mov eax, r13d
lea rcx, [rdx + rcx*2]
add rcx, r9
mov qword [r11 + 0x280], rcx
xor rcx, r10
rol rcx, 1
mov qword [r11 + 0x108], rcx
mov ecx, r14d
imul rcx, rax
mov eax, ebx
lea rdx, [r14 + rcx*2]
add rdx, r13
mov r8, rdx
xor r8, qword [rsp + 0x28]
ror r8, 0x20
mov ecx, r8d
imul rcx, rax
mov eax, edx
lea r9, [r8 + rcx*2]
add r9, rbx
mov r10, r9
xor r10, r14
ror r10, 0x18
mov ecx, r10d
imul rcx, rax
lea rax, [r10 + rcx*2]
add rdx, rax
mov eax, r9d
mov qword [r11 + 8], rdx
xor rdx, r8
ror rdx, 0x10
mov ecx, edx
imul rcx, rax
mov qword [r11 + 0x300], rdx
mov eax, r12d
lea rcx, [rdx + rcx*2]
add rcx, r9
mov r9, qword [rsp + 0x18]
mov qword [r11 + 0x288], rcx
xor rcx, r10
rol rcx, 1
mov qword [r11 + 0x180], rcx
mov ecx, esi
imul rcx, rax
mov eax, r9d
lea rdx, [rsi + rcx*2]
add rdx, r12
mov r8, rdx
xor r8, qword [rsp + 0x20]
ror r8, 0x20
mov ecx, r8d
imul rcx, rax
lea rax, [r8 + rcx*2]
add r9, rax
mov eax, edx
mov r10, r9
xor r10, rsi
ror r10, 0x18
mov ecx, r10d
imul rcx, rax
lea rax, [r10 + rcx*2]
add rdx, rax
mov eax, r9d
mov qword [r11 + 0x80], rdx
xor rdx, r8
ror rdx, 0x10
mov ecx, edx
imul rcx, rax
mov qword [r11 + 0x308], rdx
lea rcx, [rdx + rcx*2]
mov r8, qword [rsp]
add rcx, r9
mov r9, qword [rsp + 8]
mov qword [r11 + 0x200], rcx
xor rcx, r10
mov r10, qword [rsp + 0x10]
rol rcx, 1
mov qword [r11 + 0x188], rcx
mov ecx, r10d
mov eax, ebp
imul rcx, rax
lea rdx, [r10 + rcx*2]
mov ecx, r8d
add rdx, rbp
xor r9, rdx
ror r9, 0x20
mov eax, r9d
imul rcx, rax
mov eax, edx
lea r8, [r8 + rcx*2]
add r8, r9
xor r10, r8
ror r10, 0x18
mov ecx, r10d
imul rcx, rax
lea rax, [r10 + rcx*2]
add rdx, rax
mov eax, r8d
mov qword [r11 + 0x88], rdx
xor rdx, r9
ror rdx, 0x10
mov ecx, edx
imul rcx, rax
mov rax, qword [rsp + 0x40]
inc eax
mov qword [r11 + 0x380], rdx
mov qword [rsp + 0x40], rax
lea rcx, [rdx + rcx*2]
add rcx, r8
mov qword [r11 + 0x208], rcx
xor rcx, r10
rol rcx, 1
mov qword [r11 + 0x100], rcx
cmp eax, 8
jb 0x18031a670
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x450]
mov edx, 0x80
mov rax, r8
lea r9d, [rdx - 0x78]
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
add rcx, rdx
movups xmmword [rax + 0x60], xmm0
add rax, rdx
movups xmmword [rax - 0x10], xmm1
sub r9, 1
jne 0x18031aad0
lea rcx, [rsp + 0x448]
lea rax, [r8 + 0x3f8]
cmp r8, rcx
ja 0x18031ab53
lea rcx, [rsp + 0x50]
cmp rax, rcx
jb 0x18031ab53
lea rcx, [rsp + 0x50]
sub rcx, r8
mov rax, qword [rcx + r8]
xor qword [r8], rax
lea r8, [r8 + 8]
sub rdx, 1
jne 0x18031ab40
jmp 0x18031abcb
lea rdx, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
sub rdx, r8
lea r9, [rsp + 0x60]
sub r9, r8
lea rax, [r8 + 0x20]
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rdx + rax - 0x20]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqu xmm0, xmmword [rax - 0x50]
movdqu xmm1, xmmword [r9 + rax - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
sub rcx, 1
jne 0x18031ab70
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.18040c600
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret