Function at 0x140085560
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r13
mov qword [rsp + 8], r13
xchg rbx, r13
xchg rsi, r8
mov qword [rsp + 0x10], r8
xchg rsi, r8
xchg rdi, r9
mov qword [rsp + 0x18], r9
xchg rdi, r9
nop
mov qword [rsp - 8], rbp
sub rsp, 8
push r12
push r13
mov dword [rsp - 0x24], ecx
push r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x360]
add rsp, 0x1958b9ca
sub rsp, 0x1958be2a
xor r12d, r12d
xchg r11, r11
mov dword [rsp + 0x2a], 0x4a806510
add dword [rsp + 0x2a], 0xed9a72e
xor dword [rsp + 0x2a], 0x6a832444
sub dword [rsp + 0x2a], 0x33aa27a8
mov dword [rsp + 0x20], r12d
xchg r11, r14
mov r11, r9
xchg r14, r11
mov dword [rsp + 0x2e], 0x3ff046d5
xor dword [rsp + 0x2e], 0x6fe7e9e4
xor dword [rsp + 0x2e], 0x45491c87
xor dword [rsp + 0x2e], 0x3736740c
sub dword [rsp + 0x2e], 0x2234c70e
xchg r15, r8
mov r8, r15
xchg r8, r15
mov dword [rsp + 0x32], 0x6ebffb22
add dword [rsp + 0x32], 0x5cdfd0d
sub dword [rsp + 0x32], 0x26cec3cc
xor dword [rsp + 0x32], 0x4d9334bd
xchg rdx, rsi
mov rdx, rsi
xchg rsi, rdx
mov dword [rsp + 0x36], 0x15d0adff
add dword [rsp + 0x36], 0x5d29b395
xor dword [rsp + 0x36], 0x16cf95f1
add dword [rsp + 0x36], 0x1b1de6bb
xor dword [rsp + 0x36], 0x7f3ddbc8
xchg rbx, rcx
mov rcx, rbx
xchg rcx, rbx
mov dword [rsp + 0x3a], 0x51a3b0d4
sub dword [rsp + 0x3a], 0x4cf37cc3
add dword [rsp + 0x3a], 0x1cdb92de
sub dword [rsp + 0x3a], 0x215ac615
mov qword [rsp + 0x20], r12
xchg r10, rax
mov r10, qword [rsp + 0x20]
xchg r10, rax
nop dword [rax]
xchg rdi, rcx
mov rdi, qword [rsp + 0x20]
xchg rdi, rcx
xchg rbx, rax
mov rbx, qword [rsp + 0x20]
xchg rbx, rax
and cl, 3
xchg rsi, rsi
shl cl, 3
movzx edx, word [rsp + rax*2 + 0x2a]
mov eax, 0x1271beea
sub eax, 0x11d18341
add eax, 0x7102b91a
xor eax, 0x6867ab70
shr eax, cl
mov dword [rsp - 0x40], esi
movzx ecx, al
mov rax, qword [rsp + 0x20]
xor cx, dx
mov word [rsp + rax*2 + 0x68], cx
mov dword [rsp - 0x3c], 0x10ef65a2
mov rax, qword [rsp + 0x20]
inc rax
xchg r11, rax
mov qword [rsp + 0x20], r11
xchg r11, rax
xchg r14, rax
mov r14, qword [rsp + 0x20]
xchg r14, rax
cmp rax, 0xa
jb 0x1400856a5
mov dword [rsp - 0x18], 0x22661aa0
mov edi, 0x5eb1d7b8
sub edi, 0x4fb81f23
add edi, 0x27904e1b
sub edi, 0x10f4172f
xor edi, 0x2595ef80
mov word [rsp + 0x7c], r12w
lea rdx, [rsp + 0x68]
xchg rcx, r14
mov r14, rcx
xchg r14, rcx
lea r8d, [rdi + 9]
call fcn.140099a00
mov r12, r12
test eax, eax
je 0x140085910
mov dword [rsp + 0x3e], 0x57ace84a
xor dword [rsp + 0x3e], 0x2948a07c
sub dword [rsp + 0x3e], 0x2bf727b5
sub dword [rsp + 0x3e], 0x3e989f46
xor dword [rsp + 0x3e], 0x147381ed
mov dword [rsp + 0x42], 0x5f9acf41
sub dword [rsp + 0x42], 0x4933ea28
add dword [rsp + 0x42], 0x38e0fb8
xor dword [rsp + 0x42], 0x2e2888e0
sub dword [rsp + 0x42], 0x37a87b80
mov dword [rsp + 0x46], 0x238de893
xor dword [rsp + 0x46], 0xc007630
add dword [rsp + 0x46], 0x331b9d8b
sub dword [rsp + 0x46], 0x627d3b50
mov dword [rsp + 0x4a], 0x379ead80
sub dword [rsp + 0x4a], 0xd98d50f
xor dword [rsp + 0x4a], 0x26d683cd
add dword [rsp + 0x4a], 0x517f159f
sub dword [rsp + 0x4a], 0x5de47073
mov dword [rsp + 0x4e], 0x74d3e8a5
sub dword [rsp + 0x4e], 0x227eb65d
sub dword [rsp + 0x4e], 0x37480ffa
xor dword [rsp + 0x4e], 0x1b3c2294
mov qword [rsp + 0x20], r12
mov rax, qword [rsp + 0x20]
mov dword [rsp - 0x44], 0x68e81c38
nop word [rax + rax]
mov rcx, qword [rsp + 0x20]
xchg r9, rax
mov r9, qword [rsp + 0x20]
xchg r9, rax
and cl, 3
shl cl, 3
mov r10, r10
movzx edx, word [rsp + rax*2 + 0x3e]
mov eax, 0x6afd626b
add eax, 0xa0649b0
xor eax, 0x40c7b1a5
xor eax, 0x2c01420d
shr eax, cl
movzx ecx, al
xchg rbx, rbx
mov rax, qword [rsp + 0x20]
xor cx, dx
mov word [rsp + rax*2 + 0x52], cx
xchg r9, rax
mov r9, qword [rsp + 0x20]
xchg r9, rax
inc rax
mov dword [rsp - 0x10], 0x5dbf426f
xchg rcx, rax
mov qword [rsp + 0x20], rcx
xchg rcx, rax
mov rax, qword [rsp + 0x20]
mov dword [rsp - 0x40], 0x4af40499
cmp rax, 0xa
jb 0x14008583a
mov edi, 0x5fe5f756
sub edi, 0x4d2b5ba0
add edi, 0x1943171a
add edi, 0x39c792d0
sub edi, 0x65c5459d
mov word [rsp + 0x66], r12w
lea rdx, [rsp + 0x52]
xchg r8, r8
xchg r8, rcx
mov r8, r14
xchg rcx, r8
lea r8d, [rdi + 7]
call fcn.140099a00
test eax, eax
mov dword [rsp - 0x24], 0x329b685e
je 0x140085910
mov dl, 0x39
xor dl, 0x7e
add dl, 0x1d
sub dl, 0x63
jmp 0x14008591f
xor dl, dl
mov r10, r10
test dil, 2
je 0x14008594b
lea rdi, [rsp + 0x52]
xor eax, eax
mov dword [rsp - 0x30], edx
mov ecx, 0x62f6f613
add ecx, 0x15684d52
sub ecx, 0x1c210fb0
sub ecx, 0x5c3e33ab
rep stosb byte [rdi], al
mov dword [rsp - 0x34], 0x26c4bce1
xor eax, eax
lea rdi, [rsp + 0x68]
mov ecx, 0x9c341b2
sub ecx, 0x7588a80
add ecx, 0x295090fd
xor ecx, 0x2bbb4825
rep stosb byte [rdi], al
test dl, dl
mov dword [rsp - 0x1c], 0x41ceebae
jne 0x140085b23
xchg r14, rax
mov r14, qword [rsi + 0x78]
xchg r14, rax
cmp rax, 0x78
jbe 0x140085998
xchg r15, r15
mov rcx, qword [rsi]
jmp 0x1400859af
test rax, rax
mov dword [rsp - 0x2c], edx
xchg rcx, r12
mov r12, rcx
xchg r12, rcx
cmovne rcx, rsi
mov rbp, rbp
xchg rsp, rax
mov rsp, qword [rcx]
xchg rsp, rax
lea r8, [rbp]
mov dword [rsp - 0x40], 0xa31b4f1
mov r9d, 0x27754ec6
sub r9d, 0x929ed9
xor r9d, 0x73216e09
xor r9d, 0x55c3c2bc
xchg rdx, r9
mov r9, r15
xchg r9, rdx
call qword [rax + 8]
test al, al
je 0x140085b23
mov r11, r11
mov rdi, qword [rbp + 0x68]
test rdi, rdi
je 0x140085b23
mov dword [rsp - 0xc], 0x2957c5bf
mov eax, dword [rbp + 0x118]
cmp eax, 6
jne 0x140085b1b
xchg rbx, rbx
mov eax, dword [rbp + 0x11c]
sub eax, 1
je 0x140085adc
xchg r13, r13
sub eax, 1
je 0x140085adc
sub eax, 1
je 0x140085a94
mov dword [rsp - 0x38], 0x1c607b87
cmp eax, 1
jne 0x140085b23
xchg rbp, rsi
mov rdx, rbp
xchg rbp, rsi
lea rcx, [rbp - 0x80]
mov dword [rsp - 0x3c], esi
call fcn.140085ce0
mov r9, r14
xchg r8, r14
mov r14, rdi
xchg r14, r8
xchg r8, rax
mov rdx, r8
xchg r8, rax
xchg r13, rcx
mov r13, rbx
xchg r13, rcx
call fcn.14008b1a0
mov dword [rsp - 0x3c], 0x3eac8744
jmp 0x140085b5f
xchg rsi, r8
mov rdx, r8
xchg rsi, r8
lea rcx, [rbp - 0x80]
call fcn.140085ce0
mov dword [rsp - 0x28], 0x2086951
xchg r14, rdx
mov r9, rdx
xchg r14, rdx
xchg rdi, r8
mov rdi, r8
xchg rdi, r8
xchg rdx, rsp
mov rsp, rax
xchg rdx, rsp
xchg rsp, rbx
mov rcx, rsp
xchg rsp, rbx
call fcn.14008c870
jmp 0x140085b5f
xchg r8, rsi
mov rdx, r8
xchg rsi, r8
lea rcx, [rbp - 0x80]
call fcn.140085ce0
xchg r15, r9
mov r15, r14
xchg r15, r9
mov r8, rdi
mov dword [rsp - 0x34], edx
xchg rdx, rax
mov rax, rdx
xchg rdx, rax
xchg r9, rbx
mov rcx, r9
xchg rbx, r9
call fcn.14008bcb0
mov r13, r13
jmp 0x140085b5f
cmp eax, 0xa
jmp 0x140085a4a
mov qword [rbx], r12
mov dword [rsp - 0x38], 0x43fb1942
xchg rdi, r12
mov qword [rbx + 8], rdi
xchg rdi, r12
mov qword [rbx + 0x10], r12
xchg r14, r14
mov qword [rbx + 0x18], 0x35781293
xor qword [rbx + 0x18], 0x37963ea4
xor qword [rbx + 0x18], 0x292201e8
sub qword [rbx + 0x18], 0x2bcc2dde
xchg rsi, r11
mov rcx, r11
xchg rsi, r11
call fcn.1400861f0
mov dword [rsp - 0x38], 0x602e9667
lea r11, [rsp + 0x460]
xchg r14, rbx
mov rax, r14
xchg rbx, r14
xchg rbx, r13
mov r13, qword [r11 + 0x30]
xchg rbx, r13
xchg rbx, rsi
mov rbx, qword [r11 + 0x38]
xchg rbx, rsi
mov rdi, qword [r11 + 0x40]
xchg r11, rsp
mov r11, rsp
xchg r11, rsp
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
mov r14, qword [rsp]
add rsp, 8
pop r13
nop
mov r12, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret