Function at 0x180128cc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
mov eax, 0x280
call fcn.1800b9c10
sub rsp, rax
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor ebx, ebx
mov r13, r8
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xb0]
lea r8d, [rbx + 1]
xor r9d, r9d
mov esi, ebx
call fcn.18019de00
mov r12d, 0x1bf
movaps xmm0, xmmword [0x180252fc0]
movaps xmm1, xmmword [0x180252fd0]
movaps xmm5, xmmword [0x180253000]
mov r14d, 0xff
mov r15d, 0x1ffffffc
movaps xmm4, xmmword [0x180253010]
movaps xmm3, xmmword [0x180253020]
movaps xmm2, xmmword [0x180253030]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x180252fe0]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x180252ff0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0xb0]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0xc0]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm0, xmmword [rbp + 0xd0]
movaps xmmword [rbp], xmm1
movaps xmm1, xmmword [rbp + 0xe0]
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp - 0x50], xmm5
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rsp + 0x70], xmm5
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp - 0x70], xmm3
movaps xmmword [rbp - 0x60], xmm2
mov ecx, r12d
shr ecx, 3
movzx edx, byte [rcx + r13]
test ecx, ecx
jne 0x180128dd4
and dl, 0xfc
jmp 0x180128de2
movzx edx, dl
cmp r12d, 0x1bf
cmove edx, r14d
movzx ecx, r12b
movzx edi, dl
mov r8, rbx
and ecx, 7
shr edi, cl
and edi, 1
neg edi
xor esi, edi
nop dword [rax + rax]
mov ecx, dword [rbp + r8 - 0x50]
mov edx, dword [rbp + r8 - 0x10]
add r8, 0x10
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rbp + r8 - 0x60], ecx
mov ecx, dword [rbp + r8 - 0x5c]
mov dword [rbp + r8 - 0x20], edx
mov edx, dword [rbp + r8 - 0x1c]
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rbp + r8 - 0x5c], ecx
mov ecx, dword [rbp + r8 - 0x58]
mov dword [rbp + r8 - 0x1c], edx
mov edx, dword [rbp + r8 - 0x18]
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rbp + r8 - 0x58], ecx
mov ecx, dword [rbp + r8 - 0x54]
mov dword [rbp + r8 - 0x18], edx
mov edx, dword [rbp + r8 - 0x14]
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rbp + r8 - 0x54], ecx
mov dword [rbp + r8 - 0x14], edx
cmp r8, 0x40
jb 0x180128e00
mov r8, rbx
nop dword [rax]
mov ecx, dword [rsp + r8 + 0x30]
mov edx, dword [rsp + r8 + 0x70]
add r8, 0x10
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rsp + r8 + 0x20], ecx
mov ecx, dword [rsp + r8 + 0x24]
mov dword [rsp + r8 + 0x60], edx
mov edx, dword [rsp + r8 + 0x64]
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rsp + r8 + 0x24], ecx
mov ecx, dword [rsp + r8 + 0x28]
mov dword [rsp + r8 + 0x64], edx
mov edx, dword [rsp + r8 + 0x68]
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rsp + r8 + 0x28], ecx
mov ecx, dword [rsp + r8 + 0x2c]
mov dword [rsp + r8 + 0x68], edx
mov edx, dword [rsp + r8 + 0x6c]
mov eax, ecx
xor eax, edx
and eax, esi
xor ecx, eax
xor edx, eax
mov dword [rsp + r8 + 0x2c], ecx
mov dword [rsp + r8 + 0x6c], edx
cmp r8, 0x40
jb 0x180128e90
mov esi, edi
mov rcx, rbx
mov edx, 4
mov eax, dword [rsp + rcx + 0x30]
add rcx, 0x10
add eax, dword [rbp + rcx - 0x60]
mov dword [rbp + rcx + 0x60], eax
mov eax, dword [rsp + rcx + 0x24]
add eax, dword [rbp + rcx - 0x5c]
mov dword [rbp + rcx + 0x64], eax
mov eax, dword [rsp + rcx + 0x28]
add eax, dword [rbp + rcx - 0x58]
mov dword [rbp + rcx + 0x68], eax
mov eax, dword [rsp + rcx + 0x2c]
add eax, dword [rbp + rcx - 0x54]
dec rdx
mov dword [rbp + rcx + 0x6c], eax
jne 0x180128f20
mov rcx, rbx
mov edx, 4
nop word [rax + rax]
mov eax, dword [rbp + rcx - 0x50]
add rcx, 0x10
sub eax, dword [rsp + rcx + 0x20]
mov dword [rbp + rcx + 0x20], eax
mov eax, dword [rbp + rcx - 0x5c]
sub eax, dword [rsp + rcx + 0x24]
mov dword [rbp + rcx + 0x24], eax
mov eax, dword [rbp + rcx - 0x58]
sub eax, dword [rsp + rcx + 0x28]
mov dword [rbp + rcx + 0x28], eax
mov eax, dword [rbp + rcx - 0x54]
sub eax, dword [rsp + rcx + 0x2c]
dec rdx
mov dword [rbp + rcx + 0x2c], eax
jne 0x180128f70
mov ecx, ebx
lea rdx, [rbp + 0x30]
nop
cmp ecx, 8
mov eax, 0x1ffffffe
cmove eax, r15d
inc ecx
add rdx, 4
add dword [rdx - 4], eax
cmp ecx, 0x10
jb 0x180128fb0
mov r10d, dword [rbp + 0x6c]
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, [rbp + 0x6c]
shr r10d, 0x1c
add dword [rbp + 0x50], r10d
mov ecx, dword [r8]
mov eax, dword [r8 - 4]
lea r8, [r8 - 4]
and ecx, 0xfffffff
shr eax, 0x1c
add ecx, eax
dec r9d
mov dword [r8 + 4], ecx
jne 0x180128fe0
mov eax, dword [rbp + 0x30]
mov rcx, rbx
mov edx, 4
and eax, 0xfffffff
add eax, r10d
mov dword [rbp + 0x30], eax
nop word [rax + rax]
mov eax, dword [rbp + rcx - 0x10]
add rcx, 0x10
sub eax, dword [rsp + rcx + 0x60]
mov dword [rsp + rcx + 0x20], eax
mov eax, dword [rbp + rcx - 0x1c]
sub eax, dword [rsp + rcx + 0x64]
mov dword [rsp + rcx + 0x24], eax
mov eax, dword [rbp + rcx - 0x18]
sub eax, dword [rsp + rcx + 0x68]
mov dword [rsp + rcx + 0x28], eax
mov eax, dword [rbp + rcx - 0x14]
sub eax, dword [rsp + rcx + 0x6c]
dec rdx
mov dword [rsp + rcx + 0x2c], eax
jne 0x180129020
mov ecx, ebx
lea rdx, [rsp + 0x30]
cmp ecx, 8
mov eax, 0x1ffffffe
cmove eax, r15d
inc ecx
add rdx, 4
add dword [rdx - 4], eax
cmp ecx, 0x10
jb 0x180129060
mov r10d, dword [rsp + 0x6c]
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, [rsp + 0x6c]
shr r10d, 0x1c
add dword [rsp + 0x50], r10d
mov ecx, dword [r8]
mov eax, dword [r8 - 4]
lea r8, [r8 - 4]
and ecx, 0xfffffff
shr eax, 0x1c
add ecx, eax
dec r9d
mov dword [r8 + 4], ecx
jne 0x180129093
mov eax, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x70]
and eax, 0xfffffff
lea rcx, [rbp - 0x50]
add eax, r10d
mov dword [rsp + 0x30], eax
call fcn.18019dfb0
mov r11, rbx
mov ecx, 4
nop dword [rax]
mov eax, dword [rsp + r11 + 0x70]
add r11, 0x10
add eax, dword [rbp + r11 - 0x20]
mov dword [rsp + r11 + 0x20], eax
mov eax, dword [rsp + r11 + 0x64]
add eax, dword [rbp + r11 - 0x1c]
mov dword [rsp + r11 + 0x24], eax
mov eax, dword [rsp + r11 + 0x68]
add eax, dword [rbp + r11 - 0x18]
mov dword [rsp + r11 + 0x28], eax
mov eax, dword [rsp + r11 + 0x6c]
add eax, dword [rbp + r11 - 0x14]
dec rcx
mov dword [rsp + r11 + 0x2c], eax
jne 0x1801290e0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.18019dfb0
mov r11, rbx
mov ecx, 4
nop
mov eax, dword [rbp + r11 - 0x50]
add r11, 0x10
sub eax, dword [rbp + r11 - 0x20]
mov dword [rsp + r11 + 0x60], eax
mov eax, dword [rbp + r11 - 0x5c]
sub eax, dword [rbp + r11 - 0x1c]
mov dword [rsp + r11 + 0x64], eax
mov eax, dword [rbp + r11 - 0x58]
sub eax, dword [rbp + r11 - 0x18]
mov dword [rsp + r11 + 0x68], eax
mov eax, dword [rbp + r11 - 0x54]
sub eax, dword [rbp + r11 - 0x14]
dec rcx
mov dword [rsp + r11 + 0x6c], eax
jne 0x180129140
mov ecx, ebx
lea rdx, [rsp + 0x70]
nop dword [rax]
cmp ecx, 8
mov eax, 0x1ffffffe
cmove eax, r15d
inc ecx
add rdx, 4
add dword [rdx - 4], eax
cmp ecx, 0x10
jb 0x180129190
mov r10d, dword [rbp - 0x54]
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, [rbp - 0x54]
shr r10d, 0x1c
add dword [rbp - 0x70], r10d
mov ecx, dword [r8]
mov eax, dword [r8 - 4]
lea r8, [r8 - 4]
and ecx, 0xfffffff
shr eax, 0x1c
add ecx, eax
dec r9d
mov dword [r8 + 4], ecx
jne 0x1801291c0
mov eax, dword [rsp + 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
and eax, 0xfffffff
add eax, r10d
mov dword [rsp + 0x70], eax
call fcn.18019e630
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.18019dfb0
mov r11, rbx
mov ecx, 4
nop dword [rax]
mov eax, dword [rbp + r11 - 0x10]
add r11, 0x10
add eax, dword [rbp + r11 - 0x60]
mov dword [rsp + r11 + 0x20], eax
mov eax, dword [rbp + r11 - 0x5c]
add eax, dword [rbp + r11 - 0x1c]
mov dword [rsp + r11 + 0x24], eax
mov eax, dword [rbp + r11 - 0x58]
add eax, dword [rbp + r11 - 0x18]
mov dword [rsp + r11 + 0x28], eax
mov eax, dword [rbp + r11 - 0x54]
add eax, dword [rbp + r11 - 0x14]
dec rcx
mov dword [rsp + r11 + 0x2c], eax
jne 0x180129220
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.18019e630
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.18019e630
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.18019e630
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.18019dfb0
mov r11, rbx
mov ecx, 4
nop dword [rax + rax]
mov eax, dword [rsp + r11 + 0x30]
add r11, 0x10
sub eax, dword [rbp + r11 + 0x60]
mov dword [rbp + r11 + 0x20], eax
mov eax, dword [rsp + r11 + 0x24]
sub eax, dword [rbp + r11 + 0x64]
mov dword [rbp + r11 + 0x24], eax
mov eax, dword [rsp + r11 + 0x28]
sub eax, dword [rbp + r11 + 0x68]
mov dword [rbp + r11 + 0x28], eax
mov eax, dword [rsp + r11 + 0x2c]
sub eax, dword [rbp + r11 + 0x6c]
dec rcx
mov dword [rbp + r11 + 0x2c], eax
jne 0x1801292b0
mov ecx, ebx
lea rdx, [rbp + 0x30]
nop dword [rax + rax]
cmp ecx, 8
mov eax, 0x1ffffffe
cmove eax, r15d
inc ecx
add rdx, 4
add dword [rdx - 4], eax
cmp ecx, 0x10
jb 0x180129300
mov r10d, dword [rbp + 0x6c]
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, [rbp + 0x6c]
shr r10d, 0x1c
add dword [rbp + 0x50], r10d
mov ecx, dword [r8]
mov eax, dword [r8 - 4]
lea r8, [r8 - 4]
and ecx, 0xfffffff
shr eax, 0x1c
add ecx, eax
dec r9d
mov dword [r8 + 4], ecx
jne 0x180129330
mov eax, dword [rbp + 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x70]
and eax, 0xfffffff
mov r8d, 0x98a9
add eax, r10d
mov dword [rbp + 0x30], eax
call fcn.18019e450
mov r11, rbx
mov ecx, 4
nop dword [rax + rax]
mov eax, dword [rsp + r11 + 0x30]
add r11, 0x10
add dword [rbp + r11 + 0x60], eax
mov eax, dword [rsp + r11 + 0x24]
add dword [rbp + r11 + 0x64], eax
mov eax, dword [rsp + r11 + 0x28]
add dword [rbp + r11 + 0x68], eax
mov eax, dword [rsp + r11 + 0x2c]
add dword [rbp + r11 + 0x6c], eax
dec rcx
jne 0x180129380
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.18019dfb0
dec r12d
jns 0x180128dc0
mov r14, qword [rsp + 0x20]
mov r9, rbx
nop word [rax + rax]
mov ecx, dword [rbp + r9 - 0x50]
mov edx, dword [rbp + r9 - 0x10]
add r9, 0x10
mov r8d, ecx
xor r8d, edx
and r8d, edi
mov eax, r8d
xor r8d, edx
mov dword [rbp + r9 - 0x20], r8d
mov edx, dword [rbp + r9 - 0x1c]
xor eax, ecx
mov dword [rbp + r9 - 0x60], eax
mov ecx, dword [rbp + r9 - 0x5c]
mov r8d, ecx
xor r8d, edx
and r8d, edi
mov eax, r8d
xor r8d, edx
mov dword [rbp + r9 - 0x1c], r8d
mov edx, dword [rbp + r9 - 0x18]
xor eax, ecx
mov dword [rbp + r9 - 0x5c], eax
mov ecx, dword [rbp + r9 - 0x58]
mov r8d, ecx
xor r8d, edx
and r8d, edi
mov eax, r8d
xor r8d, edx
mov dword [rbp + r9 - 0x18], r8d
mov edx, dword [rbp + r9 - 0x14]
xor eax, ecx
mov dword [rbp + r9 - 0x58], eax
mov ecx, dword [rbp + r9 - 0x54]
mov r8d, ecx
xor r8d, edx
and r8d, edi
mov eax, r8d
xor r8d, edx
xor eax, ecx
mov dword [rbp + r9 - 0x14], r8d
mov dword [rbp + r9 - 0x54], eax
cmp r9, 0x40
jb 0x1801293e0
nop word [rax + rax]
mov ecx, dword [rsp + rbx + 0x30]
mov edx, dword [rsp + rbx + 0x70]
add rbx, 0x10
mov eax, ecx
xor eax, edx
and eax, edi
xor ecx, eax
xor edx, eax
mov dword [rsp + rbx + 0x20], ecx
mov ecx, dword [rsp + rbx + 0x24]
mov dword [rsp + rbx + 0x60], edx
mov edx, dword [rsp + rbx + 0x64]
mov eax, ecx
xor eax, edx
and eax, edi
xor ecx, eax
xor edx, eax
mov dword [rsp + rbx + 0x24], ecx
mov ecx, dword [rsp + rbx + 0x28]
mov dword [rsp + rbx + 0x64], edx
mov edx, dword [rsp + rbx + 0x68]
mov eax, ecx
xor eax, edx
and eax, edi
xor ecx, eax
xor edx, eax
mov dword [rsp + rbx + 0x28], ecx
mov ecx, dword [rsp + rbx + 0x2c]
mov dword [rsp + rbx + 0x68], edx
mov edx, dword [rsp + rbx + 0x6c]
mov eax, ecx
xor eax, edx
and eax, edi
xor ecx, eax
xor edx, eax
mov dword [rsp + rbx + 0x2c], ecx
mov dword [rsp + rbx + 0x6c], edx
cmp rbx, 0x40
jb 0x180129490
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x130]
call fcn.18019e630
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xf0]
call fcn.18019d870
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x130]
call fcn.18019e630
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xf0]
call fcn.18019dfb0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
movaps xmm0, xmmword [rbp + 0xf0]
movaps xmm1, xmmword [rbp + 0x100]
lea rcx, [rbp + 0xb0]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rbp + 0x110]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [rbp + 0x120]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.18019dfb0
lea rdx, [rbp + 0xb0]
mov r8d, 1
mov rcx, r14
call fcn.18019dce0
lea rdx, [0x180252fc0]
lea rcx, [rbp + 0xb0]
call fcn.18019d7e0
lea rcx, [rbp + 0xb0]
mov edx, 0x40
mov ebx, eax
not ebx
call fcn.1800ca7c0
lea rcx, [rbp - 0x50]
mov edx, 0x40
call fcn.1800ca7c0
lea rcx, [rsp + 0x30]
mov edx, 0x40
call fcn.1800ca7c0
lea rcx, [rbp - 0x10]
mov edx, 0x40
call fcn.1800ca7c0
lea rcx, [rsp + 0x70]
mov edx, 0x40
call fcn.1800ca7c0
lea rcx, [rbp + 0x70]
mov edx, 0x40
call fcn.1800ca7c0
lea rcx, [rbp + 0x30]
mov edx, 0x40
call fcn.1800ca7c0
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800acfa0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret