Function at 0x14011c870
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm7
movaps xmmword [rsp + 0x230], xmm6
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x228], rax
test rdx, rdx
je 0x14011cf55
mov rbx, r8
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
call fcn.14009c720
mov dword [rsp + 0x30], eax
movaps xmm6, xmmword [0x14015feb0]
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm6
mov ecx, 1
call fcn.14009cd80
bt eax, 0x1e
jae 0x14011d155
xor ecx, ecx
call fcn.14009cd80
bt eax, 0x1e
jae 0x14011d155
lea rcx, [rsp + 0x1d0]
mov edx, 0x20
call fcn.14000de10
test eax, eax
je 0x14011d155
mov r10b, byte [rsp + 0x1d0]
mov r9b, byte [rsp + 0x1d1]
mov r8b, byte [rsp + 0x1d2]
mov dl, byte [rsp + 0x1d3]
mov cl, byte [rsp + 0x1d4]
mov al, byte [rsp + 0x1d5]
mov bpl, byte [rsp + 0x1d6]
mov r13b, byte [rsp + 0x1d7]
mov r12b, byte [rsp + 0x1d8]
mov r15b, byte [rsp + 0x1d9]
mov r14b, byte [rsp + 0x1da]
mov dil, byte [rsp + 0x1db]
mov sil, byte [rsp + 0x1dc]
mov r11b, byte [rsp + 0x1dd]
mov dword [rsp + 0x38], r11d
mov r11b, byte [rsp + 0x1de]
mov dword [rsp + 0x3c], r11d
mov r11b, byte [rsp + 0x1df]
mov dword [rsp + 0x40], r11d
mov r11b, byte [rsp + 0x1e0]
mov dword [rsp + 0x44], r11d
mov r11b, byte [rsp + 0x1e1]
mov dword [rsp + 0x48], r11d
mov r11b, byte [rsp + 0x1e2]
mov dword [rsp + 0x4c], r11d
mov r11b, byte [rsp + 0x1e3]
mov dword [rsp + 0x28], r11d
xor r10b, byte [rbx]
mov byte [rsp + 0x1d0], r10b
xor r9b, byte [rbx + 1]
mov byte [rsp + 0x1d1], r9b
xor r8b, byte [rbx + 2]
mov byte [rsp + 0x1d2], r8b
xor dl, byte [rbx + 3]
mov byte [rsp + 0x1d3], dl
xor cl, byte [rbx + 4]
mov byte [rsp + 0x1d4], cl
xor al, byte [rbx + 5]
mov byte [rsp + 0x1d5], al
xor bpl, byte [rbx + 6]
mov byte [rsp + 0x1d6], bpl
xor r13b, byte [rbx + 7]
mov byte [rsp + 0x1d7], r13b
xor r12b, byte [rbx + 8]
mov byte [rsp + 0x1d8], r12b
xor r15b, byte [rbx + 9]
mov byte [rsp + 0x1d9], r15b
xor r14b, byte [rbx + 0xa]
mov byte [rsp + 0x1da], r14b
xor dil, byte [rbx + 0xb]
mov byte [rsp + 0x1db], dil
xor sil, byte [rbx + 0xc]
mov byte [rsp + 0x1dc], sil
mov eax, dword [rsp + 0x38]
xor al, byte [rbx + 0xd]
mov byte [rsp + 0x1dd], al
mov eax, dword [rsp + 0x3c]
xor al, byte [rbx + 0xe]
mov byte [rsp + 0x1de], al
mov eax, dword [rsp + 0x40]
xor al, byte [rbx + 0xf]
mov byte [rsp + 0x1df], al
mov eax, dword [rsp + 0x44]
xor al, byte [rbx + 0x10]
mov byte [rsp + 0x1e0], al
mov eax, dword [rsp + 0x48]
xor al, byte [rbx + 0x11]
mov byte [rsp + 0x1e1], al
mov eax, dword [rsp + 0x4c]
xor al, byte [rbx + 0x12]
mov byte [rsp + 0x1e2], al
mov eax, dword [rsp + 0x28]
xor al, byte [rbx + 0x13]
mov byte [rsp + 0x1e3], al
mov al, byte [rbx + 0x14]
xor byte [rsp + 0x1e4], al
mov al, byte [rbx + 0x15]
xor byte [rsp + 0x1e5], al
mov al, byte [rbx + 0x16]
xor byte [rsp + 0x1e6], al
mov al, byte [rbx + 0x17]
xor byte [rsp + 0x1e7], al
mov al, byte [rbx + 0x18]
xor byte [rsp + 0x1e8], al
mov al, byte [rbx + 0x19]
xor byte [rsp + 0x1e9], al
mov al, byte [rbx + 0x1a]
xor byte [rsp + 0x1ea], al
mov al, byte [rbx + 0x1b]
xor byte [rsp + 0x1eb], al
mov al, byte [rbx + 0x1c]
xor byte [rsp + 0x1ec], al
mov al, byte [rbx + 0x1d]
xor byte [rsp + 0x1ed], al
mov al, byte [rbx + 0x1e]
xor byte [rsp + 0x1ee], al
mov al, byte [rbx + 0x1f]
xor byte [rsp + 0x1ef], al
lea rsi, [rsp + 0x98]
mov r8d, 0x138
mov rcx, rsi
mov dl, 0xaa
call fcn.1400e7610
mov ecx, 1
call fcn.14009c630
test rax, rax
je 0x14011cffc
mov r14, rax
mov rbx, rax
add rbx, 0x128
cmp dword [rax + 0x128], 0xfff
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov esi, dword [rsp + 0x30]
ja 0x14011d0ef
cmp qword [r14 + 0x120], 0xc0ffee
jne 0x14011d0ef
cmp dword [r14 + 0x130], esi
jne 0x14011d0ef
mov rax, qword [r14 + 0x118]
lea r15, [r14 + 0x108]
lea rdi, [rsp + 0x210]
mov esi, 0x20
mov qword [rsp + 0x30], 0
mov ecx, 0x10000
xorps xmm7, xmm7
cmp r12, rcx
mov r13d, 0x10000
cmovb r13, r12
movabs rcx, 0x1000000000000
cmp rax, rcx
ja 0x14011d1be
test byte [rsp + 0x30], 1
jne 0x14011cd25
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
lea rdx, [rsp + 0x1f0]
mov r8, r14
call qword [0x14017da28]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
lea rdx, [rsp + 0x200]
mov r8, r14
call qword [0x14017da28]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
mov rdx, rdi
mov r8, r14
call qword [0x14017da28]
xor eax, eax
mov cl, byte [rsp + rax + 0x1d0]
xor byte [rsp + rax + 0x1f0], cl
inc rax
cmp rsi, rax
jne 0x14011ccb6
mov ecx, 1
call fcn.14009cd80
bt eax, 0x19
jae 0x14011d27d
not eax
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
test eax, 0x12000000
jne 0x14011d207
call fcn.1400032c0
lea rcx, [fcn.140001000]
lea rax, [0x140001d60]
mov qword [r14 + 0xf8], rcx
mov qword [r14 + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
mov qword [rsp + 0x28], rbx
mov rdi, rbp
mov rbx, r13
cmp r12, 0x10
jb 0x14011cde6
mov rbx, r13
mov rdi, rbp
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rbp
mov eax, 0x2000
cmp rbx, rax
mov ebp, 0x2000
cmovb rbp, rbx
mov r12d, ebp
and r12d, 0x3ff0
cmp qword [r14 + 0x100], 0
je 0x14011d1c3
cmp r12d, 0x10
jne 0x14011cfe9
movups xmmword [rdi], xmm7
shr rbp, 4
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0x100]
mov qword [rsp + 0x20], r15
mov rcx, rdi
mov rdx, rdi
mov r8, rbp
mov r9, r14
call qword [0x14017da28]
mov eax, dword [r14 + 0x114]
bswap eax
add eax, ebp
dec eax
bswap eax
mov dword [r14 + 0x114], eax
add rdi, r12
sub rbx, r12
cmp rbx, 0xf
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
ja 0x14011cd4a
mov ecx, dword [r14 + 0x114]
mov rax, qword [r14 + 0xf8]
test rbx, rbx
jne 0x14011cf6f
mov rbx, qword [rsp + 0x28]
lea rdi, [rsp + 0x210]
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
bswap ecx
inc ecx
bswap ecx
mov dword [r14 + 0x114], ecx
mov rcx, r15
lea rdx, [rsp + 0x1f0]
mov r8, r14
call qword [0x14017da28]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
lea rdx, [rsp + 0x200]
mov r8, r14
call qword [0x14017da28]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
mov rdx, rdi
mov r8, r14
call qword [0x14017da28]
test byte [rsp + 0x30], 1
jne 0x14011cebb
xor eax, eax
mov cl, byte [rsp + rax + 0x1d0]
xor byte [rsp + rax + 0x1f0], cl
inc rax
cmp rsi, rax
jne 0x14011cea5
mov ecx, 1
call fcn.14009cd80
bt eax, 0x19
jae 0x14011d22d
not eax
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
test eax, 0x12000000
jne 0x14011d211
call fcn.1400032c0
lea rcx, [fcn.140001000]
lea rax, [0x140001d60]
mov qword [r14 + 0xf8], rcx
mov qword [r14 + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
mov rax, qword [r14 + 0x118]
inc rax
mov qword [r14 + 0x118], rax
inc dword [rbx]
add rbp, r13
mov cl, 1
mov qword [rsp + 0x30], rcx
mov esi, 0
sub r12, r13
mov ecx, 0x10000
jne 0x14011cbe9
lea rax, [rsp + 0x98]
cmp r14, rax
je 0x14011d21b
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x14011cfc5
call fcn.1400b6ad0
int3
movaps xmmword [rsp + 0x1f0], xmm6
bswap ecx
inc ecx
bswap ecx
mov dword [r14 + 0x114], ecx
mov rcx, r15
lea rdx, [rsp + 0x1f0]
mov r8, r14
call qword [0x14017da28]
cmp rbx, 8
jne 0x14011d0d7
mov rax, qword [rsp + 0x1f0]
mov qword [rdi], rax
mov rbx, qword [rsp + 0x28]
mov ecx, dword [r14 + 0x114]
mov rax, qword [r14 + 0xf8]
jmp 0x14011ce02
movaps xmm6, xmmword [rsp + 0x230]
movaps xmm7, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp r12d, 0x20
jne 0x14011d0bc
movups xmmword [rdi + 0x10], xmm7
jmp 0x14011cd7d
mov ecx, 0x138
call fcn.14005e410
test rax, rax
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
je 0x14011d2c3
mov r14, rax
lea r8, [0x140055f00]
mov ecx, 1
mov rdx, rax
call fcn.1400612a0
test eax, eax
je 0x14011d2c3
mov dword [r14 + 0x12c], 0
lea rdi, [rsp + 0x1f0]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov edx, 0x30
mov rcx, rdi
call fcn.1400618f0
mov rcx, r14
mov rdx, rdi
mov r8, rbx
xor r9d, r9d
call fcn.140055b50
test eax, eax
je 0x14011d1be
lea rbx, [r14 + 0x128]
mov dword [r14 + 0x128], 0
mov qword [r14 + 0x120], 0xc0ffee
mov esi, dword [rsp + 0x30]
mov dword [r14 + 0x130], esi
jmp 0x14011cb9f
test r12, r12
je 0x14011cd80
mov rcx, rdi
xor edx, edx
mov r8, r12
call fcn.1400e7610
jmp 0x14011cd80
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
mov r8, rbx
call fcn.1400e6f70
jmp 0x14011cfad
lea rdi, [rsp + 0x1f0]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov edx, 0x30
mov rcx, rdi
call fcn.1400618f0
mov r8d, 0x30
mov rcx, r14
mov rdx, rdi
call fcn.140055d50
test eax, eax
je 0x14011d1be
mov qword [r14 + 0x118], 1
mov dword [rbx], 0
mov qword [r14 + 0x120], 0xc0ffee
mov dword [r14 + 0x130], esi
mov eax, 1
jmp 0x14011cbc4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1e0], xmm0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
xor esi, esi
xor edi, edi
xor r14d, r14d
xor r15d, r15d
xor r12d, r12d
xor r13d, r13d
xor ebp, ebp
xor eax, eax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
xor r10d, r10d
jmp 0x14011c9da
call fcn.1400ca15c
test r12, r12
je 0x14011cdcc
xor ebp, ebp
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
lea rdx, [rdi + rbp]
mov rcx, r15
mov r8, r14
call qword [0x14017da28]
add rbp, 0x10
cmp rbp, r12
jb 0x14011d1ce
jmp 0x14011cdcc
call fcn.140002fd0
jmp 0x14011cd02
call fcn.140002fd0
jmp 0x14011cef1
mov edx, 0x120
mov rcx, r14
call fcn.14009bf40
jmp 0x14011cf55
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
bt eax, 9
jae 0x14011d268
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [fcn.1400042a0]
mov rbx, qword [rsp + 0x28]
lea rdi, [rsp + 0x210]
jmp 0x14011ceff
call fcn.140113210
lea rax, [0x140113e50]
lea rcx, [0x1401130e0]
jmp 0x14011d256
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
bt eax, 9
jae 0x14011d2ab
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [fcn.1400042a0]
jmp 0x14011cd10
call fcn.140113210
lea rax, [0x140113e50]
lea rcx, [0x1401130e0]
jmp 0x14011cd10
mov r14, rsi
jmp 0x14011d038