Function at 0x140085580
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp - 0x40], 0x105a1fa8
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
nop
push 0x54bef9ef
mov qword [rsp], rbp
nop
mov qword [rsp - 8], r12
sub rsp, 8
push r13
mov rcx, rcx
nop
sub rsp, 8
mov qword [rsp], r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x360]
neg rsp
sub rsp, 0xfffffffffffffba0
neg rsp
xor r12d, r12d
mov dword [rsp + 0x2a], 0x31b6c17
sub dword [rsp + 0x2a], 0x381b54
add dword [rsp + 0x2a], 0x6023da3c
xor dword [rsp + 0x2a], 0x611e6566
sub dword [rsp + 0x2a], 0x2004f12
mov dword [rsp + 0x20], r12d
xchg r9, r14
mov r9, r14
xchg r9, r14
mov dword [rsp + 0x2e], 0x51c0604b
xor dword [rsp + 0x2e], 0x54840162
xor dword [rsp + 0x2e], 0x6ca212e9
sub dword [rsp + 0x2e], 0x507a1253
sub dword [rsp + 0x2e], 0x194d6103
xchg r13, r15
mov r13, r8
xchg r15, r13
mov dword [rsp + 0x32], 0x636a1de2
xor dword [rsp + 0x32], 0x4062b203
add dword [rsp + 0x32], 0x3c6c108e
xor dword [rsp + 0x32], 0x5f6ec0e4
xchg rdx, rsi
mov rdx, rsi
xchg rdx, rsi
mov dword [rsp + 0x36], 0x7df497d0
sub dword [rsp + 0x36], 0xac3b57a
xor dword [rsp + 0x36], 0x3e0c535a
add dword [rsp + 0x36], 0x1dfbe9b9
sub dword [rsp + 0x36], 0x6af39a97
xchg rcx, rdi
mov rbx, rdi
xchg rcx, rdi
mov dword [rsp + 0x3a], 0x4eb29ae
add dword [rsp + 0x3a], 0x2b96933f
add dword [rsp + 0x3a], 0xbd3fedc
add dword [rsp + 0x3a], 0x390da585
xor dword [rsp + 0x3a], 0x756461c1
mov qword [rsp + 0x20], r12
xchg rcx, rcx
mov rax, qword [rsp + 0x20]
nop dword [rax]
xchg r13, rcx
mov r13, qword [rsp + 0x20]
xchg rcx, r13
mov rax, qword [rsp + 0x20]
mov r9, r9
and cl, 3
shl cl, 1
shl cl, 1
shl cl, 1
movzx edx, word [rsp + rax*2 + 0x2a]
xchg rbx, rbx
mov eax, 0x47d87ede
xor eax, 0x183d9dec
xor eax, 0x36cdcdd5
sub eax, 0x62843a12
add eax, 0x2b5f7511
shr eax, cl
mov r10, r10
movzx ecx, al
mov rax, qword [rsp + 0x20]
xor cx, dx
mov dword [rsp - 0x34], ecx
mov word [rsp + rax*2 + 0x68], cx
mov rax, qword [rsp + 0x20]
inc rax
mov dword [rsp - 0x18], ecx
mov qword [rsp + 0x20], rax
xchg rbp, rax
mov rbp, qword [rsp + 0x20]
xchg rbp, rax
cmp rax, 0xa
jb 0x1400856d4
xchg rcx, rcx
mov edi, 0x2ea0a0f9
add edi, 0x422dabd0
xor edi, 0x261a496b
xor edi, 0x56d405a3
mov word [rsp + 0x7c], r12w
lea rdx, [rsp + 0x68]
mov rcx, r14
mov r11, r11
lea r8d, [rdi + 9]
call fcn.140099430
test eax, eax
je 0x140085944
mov dword [rsp - 0x20], ecx
mov dword [rsp + 0x3e], 0x41d854e6
xor dword [rsp + 0x3e], 0x79922a54
sub dword [rsp + 0x3e], 0x16a66320
xor dword [rsp + 0x3e], 0xf751890
sub dword [rsp + 0x3e], 0x2ec0027f
mov dword [rsp + 0x42], 0x11de10e8
sub dword [rsp + 0x42], 0xcd87087
add dword [rsp + 0x42], 0x5b7b850a
xor dword [rsp + 0x42], 0xe499ec8
sub dword [rsp + 0x42], 0x6ea9bb2c
mov dword [rsp + 0x46], 0x77d99b7f
xor dword [rsp + 0x46], 0x36e132b2
xor dword [rsp + 0x46], 0x2f5ba777
sub dword [rsp + 0x46], 0x3632bec2
xor dword [rsp + 0x46], 0x382a4f73
mov dword [rsp + 0x4a], 0x1cba1966
xor dword [rsp + 0x4a], 0x10b7f9fb
add dword [rsp + 0x4a], 0x67ccefaf
xor dword [rsp + 0x4a], 0x68231898
xor dword [rsp + 0x4a], 0x1bbcc8fa
mov dword [rsp + 0x4e], 0x64ea6a2f
xor dword [rsp + 0x4e], 0x5257efce
add dword [rsp + 0x4e], 0x477b4a47
xor dword [rsp + 0x4e], 0x7e3fd0a7
xchg rcx, r12
mov qword [rsp + 0x20], rcx
xchg r12, rcx
mov rax, qword [rsp + 0x20]
mov dword [rsp - 0x38], 0x23de8d4e
nop word [rax + rax]
xchg rbp, rcx
mov rbp, qword [rsp + 0x20]
xchg rcx, rbp
mov rax, qword [rsp + 0x20]
mov dword [rsp - 0x1c], ecx
and cl, 3
shl cl, 2
shl cl, 1
movzx edx, word [rsp + rax*2 + 0x3e]
mov dword [rsp - 0x2c], ecx
mov eax, 0x6ca23666
sub eax, 0x1d4cb0ef
sub eax, 0x4675d054
xor eax, 0x3adcdcc5
shr eax, cl
mov rsp, rsp
movzx ecx, al
mov rax, qword [rsp + 0x20]
xor cx, dx
xchg rbx, rbx
mov word [rsp + rax*2 + 0x52], cx
xchg rdx, rax
mov rdx, qword [rsp + 0x20]
xchg rdx, rax
inc rax
mov dword [rsp - 0x30], 0xa0145cd
mov qword [rsp + 0x20], rax
xchg rbp, rax
mov rbp, qword [rsp + 0x20]
xchg rbp, rax
cmp rax, 0xa
xchg rdx, rdx
jb 0x14008586c
mov edi, 0x741322b1
sub edi, 0x18168410
xor edi, 0x7bdea2d9
xor edi, 0x20223c7b
mov word [rsp + 0x66], r12w
lea rdx, [rsp + 0x52]
xchg r14, r14
xchg r14, r9
mov rcx, r9
xchg r14, r9
lea r8d, [rdi + 7]
mov r15, r15
call fcn.140099430
test eax, eax
je 0x140085944
xchg r15, r15
mov dl, 0x47
xor dl, 0x47
xor dl, 0xe
add dl, 8
sub dl, 0x15
jmp 0x140085954
xor dl, dl
mov dword [rsp - 0x44], esp
test dil, 2
je 0x14008597e
lea rdi, [rsp + 0x52]
mov dword [rsp - 0x3c], esi
xor eax, eax
mov ecx, 0x2baa61d7
add ecx, 0x4e5309d1
xor ecx, 0x68beae52
xor ecx, 0x716abc4
sub ecx, 0x16556e34
rep stosb byte [rdi], al
xor eax, eax
mov r13, r13
lea rdi, [rsp + 0x68]
mov ecx, 0xa91a828
add ecx, 0x6a351fb5
sub ecx, 0x66cc94d1
add ecx, 0x38b998d5
sub ecx, 0x46b3cbd7
rep stosb byte [rdi], al
mov dword [rsp - 0x28], ebx
test dl, dl
jne 0x140085b3d
xchg rdx, rax
mov rdx, qword [rsi + 0x78]
xchg rdx, rax
cmp rax, 0x78
mov dword [rsp - 0x3c], esi
jbe 0x1400859d7
xchg rcx, rdi
mov rdi, qword [rsi]
xchg rdi, rcx
jmp 0x1400859e7
test rax, rax
xchg rcx, r12
mov r12, rcx
xchg rcx, r12
cmovne rcx, rsi
mov rax, qword [rcx]
lea r8, [rbp]
xchg rsi, rsi
mov r9d, 0x38da7555
xor r9d, 0x6444d7de
sub r9d, 0x2690a9b
xor r9d, 0x3f9e224e
sub r9d, 0x65abb266
xchg rbp, r15
mov rdx, rbp
xchg r15, rbp
call qword [rax + 8]
xchg r14, r14
test al, al
je 0x140085b3d
xchg rdi, r13
mov r13, qword [rbp + 0x68]
xchg rdi, r13
test rdi, rdi
je 0x140085b3d
mov eax, dword [rbp + 0x118]
mov rbp, rbp
cmp eax, 6
jne 0x140085b32
mov eax, dword [rbp + 0x11c]
mov dword [rsp - 0x38], esp
sub eax, 1
je 0x140085afd
sub eax, 1
xchg r14, r14
je 0x140085afd
sub eax, 1
je 0x140085ac5
cmp eax, 1
mov dword [rsp - 0x20], edx
jne 0x140085b3d
xchg rdx, rsi
mov rsi, rdx
xchg rsi, rdx
lea rcx, [rbp - 0x80]
xchg r10, r10
call fcn.140085ce0
xchg rbp, r9
mov rbp, r14
xchg rbp, r9
xchg r8, rbp
mov rbp, rdi
xchg rbp, r8
xchg rbp, rax
mov rdx, rbp
xchg rbp, rax
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.14008b0c0
jmp 0x140085b6b
xchg rdi, rsi
mov rdx, rdi
xchg rdi, rsi
lea rcx, [rbp - 0x80]
mov r12, r12
call fcn.140085ce0
mov r9, r14
xchg r8, rsi
mov rsi, rdi
xchg r8, rsi
xchg rcx, rax
mov rdx, rcx
xchg rcx, rax
mov rcx, rbx
call fcn.14008c6e0
xchg r9, r9
jmp 0x140085b6b
xchg rsi, r9
mov rdx, r9
xchg rsi, r9
lea rcx, [rbp - 0x80]
call fcn.140085ce0
mov rcx, rcx
mov r9, r14
xchg r8, rbp
mov rbp, rdi
xchg rbp, r8
mov rdx, rax
mov dword [rsp - 0xc], ebp
mov rcx, rbx
call fcn.14008bb90
jmp 0x140085b6b
cmp eax, 0xa
mov r9, r9
jmp 0x140085a7e
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
xchg rcx, rcx
mov qword [rbx + 0x18], 0x648a6631
sub qword [rbx + 0x18], 0x49f0b10e
add qword [rbx + 0x18], 0x40049435
xor qword [rbx + 0x18], 0x5a9e4959
mov rcx, rsi
mov dword [rsp - 0x28], ebp
call fcn.140086330
lea r11, [rsp + 0x460]
xchg rsp, rbx
mov rax, rsp
xchg rsp, rbx
mov rbx, qword [r11 + 0x30]
xchg rbp, rsi
mov rbp, qword [r11 + 0x38]
xchg rbp, rsi
xchg rdi, rsp
mov rsp, qword [r11 + 0x40]
xchg rdi, rsp
xchg rdi, r11
mov rsp, rdi
xchg rdi, r11
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
mov r14, qword [rsp]
add rsp, 8
pop r13
mov dword [rsp - 0x24], 0x6eb52611
pop r12
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret