Function at 0x140013110
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x1f8], rbx
mov qword [rbp + 0x200], rsi
mov qword [rbp + 0x208], rdi
mov rax, qword [0x1405f8008]
xor rax, rbp
mov qword [rbp + 0x1b0], rax
mov r14d, dword [rcx]
mov esi, 0xfffffff
mov al, byte [rcx + 8]
mov r12, rcx
mov edx, dword [rcx + 4]
and r14d, esi
mov edi, dword [rcx + 0xc]
and edx, esi
mov rbx, qword [rcx + 0x18]
and edi, esi
mov qword [rbp + 0x48], rcx
lea rcx, [0x140000000]
mov r13d, r14d
add r13, rcx
mov byte [rbp], al
call fcn.14000df34
mov ecx, edi
mov r15, rax
mov qword [rbp + 0x40], rax
mov edi, 8
mov qword [rbp + 0x30], rcx
test rcx, rcx
je 0x140038c28
and ecx, 7
mov dword [rbp + 0x10], ecx
je 0x140013696
movzx r10d, bx
mov r8, rbx
shr r8, 0x20
mov rax, rbx
shr rax, 0x10
mov ecx, r8d
sub ecx, r14d
movzx r11d, ax
ror ecx, 0xd
mov eax, r14d
imul ecx, r11d
mov esi, r14d
ror eax, 0xf
not esi
movzx edx, r8w
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x80], rbx
sub ecx, eax
mov qword [rbp + 0x160], rbx
xor esi, ecx
mov qword [rbp + 0x90], rbx
mov eax, esi
mov qword [rbp + 0x120], rbx
ror eax, 0xf
mov edi, esi
sub edi, r8d
mov qword [rbp + 0xa0], rbx
ror edi, 0x1f
mov ecx, ebx
imul edi, r10d
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0xc0], rbx
add edi, eax
mov qword [rbp + 0x170], rbx
xor edi, r14d
mov qword [rbp + 0xd0], rbx
xor ecx, edi
mov qword [rbp + 0x70], rbx
rol ecx, 3
mov rax, rbx
shr rax, 0x30
imul ecx, eax
mov r9d, eax
mov eax, edi
mov qword [rbp + 0xe0], rbx
shr eax, 0xc
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0xf0], rbx
sub ecx, eax
xor esi, ecx
mov eax, esi
ror eax, 1
lea ecx, [rbx + rsi]
ror ecx, 6
imul ecx, edx
sub ecx, eax
xor edi, ecx
mov eax, edi
ror eax, 0x19
lea ecx, [r8 + rdi]
ror ecx, 1
imul ecx, r11d
add ecx, eax
xor esi, ecx
mov ecx, esi
mov eax, esi
sub ecx, r8d
ror eax, 0x17
ror ecx, 0x17
imul ecx, r10d
xor ecx, eax
mov eax, r11d
xor edi, ecx
xor eax, edi
mov ecx, edi
imul eax, r9d
ror ecx, 4
xor ecx, eax
xor esi, ecx
mov ecx, r10d
mov qword [rbp + 0x150], rbx
xor ecx, esi
mov qword [rbp + 0x100], rbx
rol ecx, 4
mov eax, esi
imul ecx, edx
mov r8, r13
shr eax, 0xb
mov qword [rbp + 0x180], rbx
mov qword [rbp + 0x110], rbx
add ecx, eax
xor edi, ecx
mov ecx, edi
mov eax, edi
sub ecx, r9d
shr eax, 5
rol ecx, 1
imul ecx, r11d
xor ecx, eax
xor esi, ecx
xor ecx, ecx
xor r11d, esi
mov dword [rbp + 8], esi
imul r11d, r10d
mov eax, esi
movsxd r10, dword [rbp + 0x10]
ror eax, 0xc
mov rdx, r10
mov qword [rbp + 0x18], rcx
mov r9, r10
sub r11d, eax
xor edi, r11d
mov dword [rbp + 0xc], edi
test r10d, r10d
je 0x140013361
lea rcx, [rbp + 0x18]
sub rcx, r13
mov al, byte [r8]
mov byte [rcx + r8], al
inc r8
sub r9, 1
jne 0x140013347
mov edi, dword [rbp + 0xc]
mov esi, dword [rbp + 8]
mov rcx, qword [rbp + 0x18]
xor edi, dword [rbp + 0x1c]
lea r8, [rbp + 8]
xor esi, ecx
mov dword [rbp + 0xc], edi
mov eax, 8
mov dword [rbp + 8], esi
mov qword [rbp + 0x20], rcx
lea r8, [r8 + r10]
sub rax, rdx
je 0x140013395
mov byte [r8], 0
inc r8
sub rax, 1
jne 0x140013382
mov edi, dword [rbp + 0xc]
mov esi, dword [rbp + 8]
lea r8, [rbp + 8]
test r10d, r10d
je 0x1400133be
lea rax, [rbp + 8]
mov r9, r15
sub r9, rax
mov al, byte [r8]
mov byte [r9 + r8], al
inc r8
sub rdx, 1
jne 0x1400133a8
mov edi, dword [rbp + 0xc]
mov esi, dword [rbp + 8]
mov r14, qword [rbp + 0x30]
movsxd rax, r10d
add rax, r15
mov qword [rbp + 0x50], rax
mov rax, r14
shr rax, 3
mov qword [rbp + 0x38], rax
test rax, rax
je 0x1400135f1
mov r14, qword [rbp + 0x38]
mov rax, rbx
mov r12, qword [rbp + 0x50]
mov r9, rbx
shr rax, 0x20
mov r8, rbx
shr r9, 0x30
shr r8, 0x10
movzx r10d, bx
sub r13, r15
mov r15, rax
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd8], rbx
mov qword [rbp + 0xe8], rbx
mov qword [rbp + 0xf8], rbx
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0x118], rbx
mov qword [rbp + 0x128], rbx
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x148], rbx
mov qword [rbp + 0x158], rbx
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x178], rbx
mov qword [rbp + 0x188], rbx
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x198], rbx
mov qword [rbp + 0x1a8], rbx
mov qword [rbp + 0x28], r8
mov dword [rbp + 0x10], r10d
movzx r11d, r8w
mov r8d, r15d
mov rax, qword [r13 + r12]
xor esi, eax
mov qword [rbp + 0x18], rax
mov rdx, rax
shr rdx, 0x20
xor edi, edx
sub r8d, edi
mov edx, edi
ror r8d, 0xd
imul r8d, r11d
ror edx, 0xf
sub r8d, edx
xor esi, r8d
mov r8d, esi
mov edx, esi
sub r8d, r15d
ror edx, 0xf
ror r8d, 0x1f
imul r8d, r10d
movzx r10d, r9w
movzx r9d, r15w
add r8d, edx
xor edi, r8d
mov r8d, ebx
xor r8d, edi
mov edx, edi
rol r8d, 3
imul r8d, r10d
shr edx, 0xc
sub r8d, edx
xor esi, r8d
mov edx, esi
ror edx, 1
lea r8d, [rbx + rsi]
ror r8d, 6
imul r8d, r9d
sub r8d, edx
xor edi, r8d
mov edx, edi
ror edx, 0x19
lea r8d, [r15 + rdi]
ror r8d, 1
imul r8d, r11d
add r8d, edx
xor esi, r8d
mov r8d, esi
mov edx, esi
sub r8d, r15d
ror edx, 0x17
ror r8d, 0x17
imul r8d, dword [rbp + 0x10]
xor r8d, edx
mov edx, r11d
xor edi, r8d
xor edx, edi
mov r8d, edi
ror r8d, 4
imul edx, r10d
xor r8d, edx
xor esi, r8d
mov r8d, dword [rbp + 0x10]
xor r8d, esi
mov edx, esi
rol r8d, 4
imul r8d, r9d
shr edx, 0xb
add r8d, edx
xor edi, r8d
mov r8d, edi
mov edx, edi
sub r8d, r10d
shr edx, 5
rol r8d, 1
imul r8d, r11d
xor r8d, edx
xor esi, r8d
mov edx, esi
ror edx, 0xc
xor r11d, esi
xor esi, dword [rbp + 0x20]
mov r10d, dword [rbp + 0x10]
mov r9, qword [rbp + 0x60]
mov r8, qword [rbp + 0x28]
shr rcx, 0x20
imul r11d, r10d
mov dword [r12], esi
lea r12, [r12 + 8]
mov qword [rbp + 0x20], rax
sub r11d, edx
xor edi, r11d
xor edi, ecx
mov rcx, rax
mov dword [r12 - 4], edi
sub r14, 1
jne 0x1400134a0
mov r15, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
mov r14, qword [rbp + 0x30]
mov dword [rbp + 0xc], edi
mov dword [rbp + 8], esi
mov al, byte [r14 + r15 - 1]
mov edi, 8
mov esi, 0xfffffff
cmp al, byte [rbp]
jne 0x140038c30
mov ecx, dword [r12 + 0x10]
test esi, ecx
je 0x140013637
lea rax, [0x140000000]
and rcx, rsi
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x28]
add rcx, r15
mov al, byte [rdx]
inc rdx
mov byte [rcx], al
inc rcx
sub rdi, 1
jne 0x140013627
mov ecx, dword [r12 + 0x14]
test esi, ecx
jne 0x140038c3b
and qword [rbp + 0x68], 0
lea r9, [rbp + 0x58]
and qword [rbp + 0x58], 0
lea r8, [rbp + 0x68]
mov rdx, r15
call fcn.14000dce0
mov rax, r15
mov rcx, qword [rbp + 0x1b0]
xor rcx, rbp
call fcn.14001af80
mov rbx, qword [rbp + 0x1f8]
mov rsi, qword [rbp + 0x200]
mov rdi, qword [rbp + 0x208]
lea rsp, [rbp + 0x1c0]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r10d, dword [rbp + 0x10]
xor esi, esi
mov dword [rbp + 0x24], r14d
xor edi, edi
not r14d
mov qword [rbp + 8], rsi
mov dword [rbp + 0x20], r14d
mov rcx, qword [rbp + 0x20]
jmp 0x1400133be
mov al, byte [rbp]
jmp 0x140013600
call fcn.140108048
nop
jmp 0x140013609
and rcx, rsi
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140038c51
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14001bb20
sub rsp, rax
jmp 0x140013644