Function at 0x14011c390
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x78]
mov eax, 0x178
call fcn.1400a7e30
sub rsp, rax
mov rax, qword [0x1401ca2e0]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xe0]
mov r13, r8
mov r14, qword [rbp + 0xf8]
xor r8d, r8d
shr r13, 3
mov rbx, rdx
mov rdx, qword [rbp + 0xd0]
mov rsi, r9
mov qword [rbp - 0x38], rax
mov r12d, r8d
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x40], rax
lea eax, [r13 - 0x14]
mov qword [rbp - 0x50], rcx
mov rcx, qword [rbp + 0xe8]
mov qword [rbp - 0x70], r9
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x40], r8d
mov qword [rbp - 0x60], 2
test eax, 0xfffffff3
jne 0x14011cb9d
cmp r13d, 0x18
je 0x14011cb9d
mov qword [rsp + 0x168], r15
test r9, r9
jne 0x14011c45a
call fcn.1400f1dc0
mov rdx, qword [rsp + 0x78]
mov rsi, rax
mov qword [rbp - 0x70], rax
xor r8d, r8d
mov rcx, qword [rbp + 0xd8]
mov eax, 0x200
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 0x3f]
and rax, 0xffffffffffffffc0
mov qword [rbp - 0x80], rax
test rcx, rcx
je 0x14011c48d
movsxd rax, r13d
cmp rcx, rax
cmovb rdx, r8
mov qword [rsp + 0x78], rdx
movsxd r15, r13d
cmp rcx, r15
cmova rcx, r15
mov qword [rbp + 0xd8], rcx
test rdx, rdx
je 0x14011c4af
mov r8, rcx
lea rcx, [rbp + 0x10]
call fcn.1400c6560
call fcn.140127b00
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14011c750
mov qword [rsp + 0x170], rdi
call fcn.14010d640
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
je 0x14011c73e
mov rcx, rax
call fcn.14010d6c0
mov rcx, rdi
call fcn.14010d5b0
mov r12, qword [rsp + 0x38]
mov rdi, rax
mov rcx, r12
call fcn.14010d5b0
mov rcx, r12
mov qword [rsp + 0x68], rax
call fcn.14010d5b0
mov rcx, r12
mov qword [rbp - 0x78], rax
call fcn.14010d5b0
mov rcx, r12
mov qword [rsp + 0x48], rax
call fcn.14010d5b0
mov rcx, r12
mov qword [rsp + 0x50], rax
call fcn.14010d5b0
mov rcx, r12
mov qword [rbp - 0x58], rax
call fcn.14010d5b0
mov rcx, r12
mov qword [rsp + 0x60], rax
call fcn.14010d5b0
mov qword [rbp - 0x68], rax
mov rbx, rax
test rax, rax
je 0x14011c725
call fcn.1400f5f20
mov r8, qword [rbp - 0x80]
mov rdx, rax
dec r8d
mov rcx, rbx
call fcn.1400f79a0
test eax, eax
je 0x14011c725
nop dword [rax + rax]
mov ebx, dword [rsp + 0x40]
xor edx, edx
mov r8d, ebx
mov rcx, r14
call fcn.14012d2e0
inc ebx
mov dword [rsp + 0x40], ebx
test eax, eax
je 0x14011c725
cmp qword [rbp + 0xd8], 0
je 0x14011c5be
cmp qword [rsp + 0x78], 0
je 0x14011c5be
xor eax, eax
mov ebx, eax
mov qword [rbp + 0xd8], rax
jmp 0x14011c5d7
mov edx, r13d
lea rcx, [rbp + 0x10]
call fcn.1400f94f0
test eax, eax
jle 0x14011c725
mov ebx, 1
mov r8, r15
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400c6560
mov r8, r15
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.1400c6560
lea rax, [r15 - 1]
test rax, rax
js 0x14011c60d
add byte [rbp + rax - 0x10], 1
jne 0x14011c60d
sub rax, 1
jns 0x14011c600
mov qword [rsp + 0x28], 0
lea r8, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.1401038d0
test eax, eax
je 0x14011c725
mov qword [rsp + 0x28], 0
lea r8, [rbp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.1401038d0
test eax, eax
je 0x14011c725
xor eax, eax
mov ecx, eax
test r13d, r13d
jle 0x14011c6c5
cmp r13d, 0x20
jb 0x14011c6c5
mov edx, r13d
and edx, 0x8000001f
jge 0x14011c680
dec edx
or edx, 0xffffffe0
inc edx
mov eax, r13d
sub eax, edx
movsxd rdx, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rcx - 0x30]
movdqu xmm1, xmmword [rbp + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x30], xmm1
movdqu xmm0, xmmword [rbp + rcx - 0x20]
movdqu xmm1, xmmword [rbp + rcx + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x20], xmm1
add rcx, 0x20
cmp rcx, rdx
jl 0x14011c690
cmp rcx, r15
jge 0x14011c6e1
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x30]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, r15
jl 0x14011c6d0
or byte [rbp - 0x30], 0x80
lea rcx, [rbp - 0x30]
mov r8, qword [rsp + 0x48]
mov edx, r13d
or byte [rbp + r15 - 0x31], 1
call fcn.1400f52e0
test rax, rax
je 0x14011c725
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8, r12
mov qword [rsp + 0x20], r14
mov edx, 0x32
call fcn.14012d640
test eax, eax
jg 0x14011c760
je 0x14011c580
mov r12d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.14010d4f0
mov rcx, qword [rsp + 0x38]
call fcn.14010d570
mov rcx, qword [rsp + 0x70]
call fcn.140127ab0
mov rdi, qword [rsp + 0x170]
mov r15, qword [rsp + 0x168]
mov eax, r12d
jmp 0x14011cb9f
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 2]
call fcn.14012d2e0
test eax, eax
je 0x14011c725
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 3]
call fcn.14012d2e0
test eax, eax
je 0x14011c725
mov rcx, qword [rbp - 0x80]
lea rsi, [r15 - 1]
mov rbx, qword [rbp - 0x78]
dec rcx
movabs rax, 0xcccccccccccccccd
xor r12d, r12d
mul rcx
mov r14, rdx
shr r14, 7
nop dword [rax]
test r12d, r12d
je 0x14011c7cc
mov rcx, qword [rsp + 0x58]
mov r8d, r12d
xor edx, edx
call fcn.14012d2e0
test eax, eax
je 0x14011c725
xor edx, edx
mov rcx, rbx
call fcn.1400f5e40
xor ecx, ecx
mov ebx, ecx
test r14d, r14d
js 0x14011c884
mov rax, rsi
test rsi, rsi
js 0x14011c7fd
nop dword [rax + rax]
add byte [rbp + rax - 0x10], 1
jne 0x14011c7fd
sub rax, 1
jns 0x14011c7f0
mov rax, qword [rbp - 0x70]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.1401038d0
test eax, eax
je 0x14011c725
mov r8, rdi
lea rcx, [rbp - 0x30]
mov edx, r13d
call fcn.1400f52e0
test rax, rax
je 0x14011c725
lea r8d, [r13*8]
mov rdx, rdi
imul r8d, ebx
mov rcx, rdi
call fcn.1400f79a0
test eax, eax
je 0x14011c725
mov rdx, qword [rbp - 0x78]
mov r8, rdi
mov rcx, rdx
call fcn.14010d960
test eax, eax
je 0x14011c725
inc ebx
mov ecx, 0
cmp ebx, r14d
jle 0x14011c7e3
mov rdx, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
dec edx
mov rcx, rbx
call fcn.1400f5b10
test eax, eax
je 0x14011c725
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1400f5910
test rax, rax
je 0x14011c725
mov rdx, qword [rsp + 0x50]
mov r8, qword [rbp - 0x68]
mov rcx, rdx
call fcn.14010d960
test eax, eax
je 0x14011c725
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400f7b60
test eax, eax
je 0x14011c725
mov rax, qword [rsp + 0x38]
mov r9, rdi
mov r8, qword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.140114840
test eax, eax
je 0x14011c725
call fcn.1400f5f20
mov rdx, qword [rbp - 0x58]
mov r8, rax
mov rcx, rdi
call fcn.14010da10
test eax, eax
je 0x14011c725
mov rdx, qword [rsp + 0x50]
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14010da10
test eax, eax
je 0x14011c725
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400f5530
test eax, eax
js 0x14011c97c
mov rax, qword [rsp + 0x58]
mov r9d, 1
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x31]
call fcn.14012d640
test eax, eax
jg 0x14011c99f
jne 0x14011c725
inc r12d
cmp r12d, 0x1000
jl 0x14011c7b0
mov rsi, qword [rbp - 0x70]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x38]
jmp 0x14011c580
mov rbx, qword [rsp + 0x58]
mov edx, 2
mov rcx, rbx
lea r8d, [rdx - 1]
call fcn.14012d2e0
test eax, eax
je 0x14011c725
call fcn.1400f5f20
mov r13, qword [rsp + 0x60]
mov r8, rax
mov r14, qword [rbp - 0x68]
mov rdx, r13
mov rcx, r14
call fcn.14010da10
test eax, eax
je 0x14011c725
mov rsi, qword [rsp + 0x38]
mov r8, r14
mov r9, qword [rsp + 0x48]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.140114840
test eax, eax
je 0x14011c725
mov edx, 2
mov rcx, r14
call fcn.1400f5e40
test eax, eax
je 0x14011c725
mov rcx, qword [rsp + 0x70]
mov r8, rsi
mov rdx, r13
call fcn.140127b80
test eax, eax
je 0x14011c725
mov rax, qword [rsp + 0x70]
mov r9, r13
mov rcx, qword [rsp + 0x68]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, r14
mov qword [rsp + 0x20], rsi
call fcn.1401158b0
test eax, eax
je 0x14011c725
nop dword [rax]
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + 8], 1
jne 0x14011cac3
mov rax, qword [rcx]
cmp qword [rax], 1
jne 0x14011cac3
cmp dword [rcx + 0x10], 0
jne 0x14011cac3
call fcn.1400f5f20
mov r8, rax
mov rdx, r14
mov rcx, r14
call fcn.14010d960
test eax, eax
je 0x14011c725
mov rax, qword [rsp + 0x70]
mov r9, r13
mov rcx, qword [rsp + 0x68]
mov r8, rdi
inc dword [rbp - 0x60]
mov rdx, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.1401158b0
test eax, eax
jne 0x14011ca60
jmp 0x14011c725
mov edx, 3
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.14012d2e0
test eax, eax
je 0x14011c725
mov dword [rsp + 0x30], 1
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rbp - 0x50]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14011cb02
call fcn.1400f5a60
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14011cb10
call fcn.1400f5a60
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14011cb1e
call fcn.1400f5a60
mov rcx, r13
call fcn.1400f59f0
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
call fcn.1400f59f0
mov rcx, qword [rsp + 0x68]
mov qword [rbx + 0x18], rax
call fcn.1400f59f0
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x20], rax
je 0x14011cb95
cmp qword [rbx + 0x18], 0
je 0x14011cb95
test rax, rax
je 0x14011cb95
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x14011cb65
mov dword [rax], r12d
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x14011cb74
mov rax, qword [rbp - 0x60]
mov dword [rdx], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14011c725
mov r8, r15
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.1400c6560
jmp 0x14011c725
xor r12d, r12d
jmp 0x14011c72a
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400a7ab0
add rsp, 0x178
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret