Function at 0x1400405a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
nop
push r9
mov qword [rsp], rbp
nop
push 0x3af2ae3c
mov qword [rsp], rdi
lea rbp, [rax - 0xd8]
sub rsp, 0x70041e9f
add rsp, 0x70041cd7
xchg rdi, rbx
mov rbx, qword [rcx + 0xb48]
xchg rdi, rbx
lea rdx, [rsp + 0x20]
xchg rdx, rbx
mov qword [rax + 8], rdx
xchg rbx, rdx
xchg r12, rsi
mov qword [rax + 0x10], r12
xchg r12, rsi
mov rsi, qword [rcx + 0xb50]
mov qword [rax - 0x18], r13
mov dword [rsp - 0x1c], 0xdda3597
cmp rsi, rdi
xchg r14, r13
mov qword [rax - 0x20], r13
xchg r14, r13
xchg rsi, r14
mov rbx, r14
xchg rsi, r14
cmovae rbx, rdi
xchg rbp, rbp
xchg r14, rcx
mov rcx, r14
xchg r14, rcx
call fcn.140041270
xchg rsi, rsi
cmp rsi, rdi
lea rdx, [rsp + 0x60]
xchg r8, rbx
mov rbx, r8
xchg r8, rbx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
cmovbe rsi, rdi
sub rsi, rbx
xchg rdx, rdx
xchg r15, r9
mov r15, rsi
xchg r15, r9
call fcn.140059910
mov dword [rsp - 0x38], ebx
xchg r11, rcx
mov r11, qword [rsp + 0x20]
xchg rcx, r11
lea rax, [rsp + 0x28]
mov r8, r8
cmp rcx, rax
jne 0x140040416
lea rdi, [rsp + 0x28]
mov dword [rsp - 0x28], 0x50b8087d
xor eax, eax
mov ecx, 0x65f62098
xor ecx, 0x48cc604
xor ecx, 0x1db548b3
sub ecx, 0x7691e2d
sub ecx, 0x75668fd2
rep stosb byte [rdi], al
xchg r10, r10
jmp 0x14004041b
call fcn.140077cf0
xchg rsi, r14
mov rcx, rsi
xchg rsi, r14
call fcn.140034b40
mov dword [rsp - 0x1c], 0x24c0485a
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
xchg rbp, rdx
mov rbp, qword [rax]
xchg rdx, rbp
call qword [rdx + 0xb0]
mov dword [rsp - 0x3c], esp
mov rdx, qword [0x1400c9150]
movabs r13, 0x5073338f1e47ede2
sub r13, 0x5cf3a39
add r13, 0x5cd240a
xor r13, 0x4d65e573
xor rdx, r13
mov dword [rsp - 0x44], 0x9cedcff
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call rdx
test eax, eax
je 0x1400407cb
mov rcx, rcx
mov rax, qword [0x1400c9170]
xor rax, r13
call rax
mov r10, r10
xchg r15, rax
mov r15, qword [rbp - 0x68]
xchg r15, rax
mov ecx, 0x5adbaf11
add ecx, 0x19dd022b
xor ecx, 0x1e9d3dfe
sub ecx, 0x305efacf
xor ecx, 0x39c691f1
lea rdx, [rax*2 + 2]
mov rax, qword [0x1400c8b60]
mov dword [rsp - 0x1c], ecx
xor rax, r13
call rax
xchg r14, r13
mov r13, rax
xchg r14, r13
test rax, rax
xchg r12, r12
je 0x1400407b7
mov rdx, qword [0x1400c8b70]
xchg rcx, r13
mov r13, rax
xchg rcx, r13
xor rdx, r13
mov qword [rsp + 0x1f0], r12
mov dword [rsp - 0x28], edi
xchg rcx, r15
mov qword [rsp + 0x1b0], rcx
xchg r15, rcx
call rdx
xchg r12, rax
mov rax, r12
xchg r12, rax
lea rcx, [rbp - 0x58]
mov rsp, rsp
lea rax, [rbp - 0x58]
xor edx, edx
mov r8d, 0x165089b3
sub r8d, 0x3d718a6
xor r8d, 0xdfecefe
add r8d, 0x15c84a04
sub r8d, 0x355008f7
mov qword [rbp - 0x60], rax
call fcn.140078110
mov dword [rsp - 0x2c], 0x77076448
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x60]
mov qword [rbp + 0xa8], rdx
mov dword [rsp - 0x38], esp
inc rdx
call fcn.1400401a0
xchg r11, r15
mov r11, rax
xchg r11, r15
test rax, rax
je 0x1400406f4
mov dword [rsp - 0x34], 0x43977a2f
mov rsi, qword [rbp - 0x68]
lea rax, [rsp + 0x28]
xchg rbx, r14
mov r14, qword [rsp + 0x60]
xchg rbx, r14
lea rcx, [rsp + 0x20]
mov dword [rsp - 0x3c], 0x199e2ecb
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
xchg rsp, rbp
movups xmmword [rbp + 0x28], xmm0
xchg rbp, rsp
lea rdx, [rsi + 1]
xchg rsp, r12
movups xmmword [r12 + 0x38], xmm0
xchg rsp, r12
xchg rbp, rsp
movups xmmword [rbp + 0x48], xmm0
xchg rsp, rbp
call fcn.14001653c
mov dword [rsp - 0x24], esi
mov edx, 0x5c7d459d
add edx, 0xb845394
xor edx, 0x4fbeaae1
add edx, 0x2e5af6f1
sub edx, 0x3fb1dfe6
test rsi, rsi
mov dword [rsp - 0x44], esp
je 0x140040680
xchg rdi, rdx
mov rdx, rax
xchg rdx, rdi
sub rbx, rax
mov dword [rsp - 0x18], edx
xchg r11, rsi
mov r8, r11
xchg rsi, r11
mov r9d, 0x3319a3e8
xor r9d, 0x4d6e5c91
sub r9d, 0x1650b14f
sub r9d, 0x68274d2b
nop dword [rax]
movzx ecx, dx
xchg r8, r8
lea rdi, [rdi + 2]
and cx, r9w
ror edx, 5
ror edx, 1
ror edx, 1
ror edx, 1
xor cx, word [rbx + rdi - 2]
mov word [rdi - 2], cx
sub r8, 1
mov r10, r10
jne 0x140040653
xor ecx, ecx
mov word [rax + rsi*2], cx
mov dword [rsp - 0xc], edx
mov rcx, r15
mov rdx, qword [rbp + 0xa8]
mov r8, qword [rsp + 0x20]
xchg r15, r15
inc rdx
call fcn.1400789e0
mov rcx, qword [rsp + 0x20]
lea rax, [rsp + 0x28]
mov dword [rsp - 0x20], 0x3bff7c0f
cmp rcx, rax
jne 0x1400406e7
lea rdi, [rsp + 0x28]
xchg r13, r13
xor eax, eax
mov ecx, 0xbdb3d98
xor ecx, 0x183a69a2
add ecx, 0x677c2ba0
sub ecx, 0x7b5d7faa
rep stosb byte [rdi], al
jmp 0x1400406f4
call fcn.140077cf0
mov dword [rsp - 0x10], 0x6fb6de94
xchg rcx, rdx
mov rcx, qword [rbp - 0x68]
xchg rcx, rdx
xchg r12, rdi
mov rcx, rdi
xchg rdi, r12
mov r8, qword [rbp - 0x60]
inc rdx
xchg rbx, rbx
call fcn.1400789e0
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x58]
xchg rsi, r15
mov rsi, qword [rsp + 0x1b0]
xchg r15, rsi
mov r12, qword [rsp + 0x1f0]
cmp rcx, rax
mov dword [rsp - 0xc], 0x56c03d0e
jne 0x140040769
lea rdi, [rbp - 0x58]
xor eax, eax
mov ecx, 0x255bf9d1
sub ecx, 0x1009d2f3
add ecx, 0x42c2bbf8
xor ecx, 0x5814e3d6
rep stosb byte [rdi], al
jmp 0x14004076e
call fcn.140077cf0
mov rax, qword [0x1400c8b80]
xchg rdi, rdi
mov rcx, r14
xor rax, r13
call rax
mov dword [rsp - 0x18], 0x6e093b15
mov rax, qword [0x1400c9140]
xchg rdx, r14
mov r14, rdx
xchg r14, rdx
xor rax, r13
mov ecx, 0x57df6662
xor ecx, 0x3e609f8f
sub ecx, 0x6358cd22
xor ecx, 0x6672cc6
call rax
xchg rdi, rdi
mov rax, qword [0x1400c9160]
xor rax, r13
call rax
mov dword [rsp - 0x2c], 0x788a5ff5
xchg rcx, r8
mov r8, qword [rsp + 0x60]
xchg r8, rcx
lea rax, [rsp + 0x68]
mov dword [rsp - 0x24], ebp
mov r14, qword [rsp + 0x1b8]
mov r13, qword [rsp + 0x1c0]
xchg r15, rsi
mov r15, qword [rsp + 0x1e8]
xchg r15, rsi
mov rbx, qword [rsp + 0x1e0]
cmp rcx, rax
mov r13, r13
jne 0x140040859
lea rdi, [rsp + 0x68]
xor eax, eax
mov dword [rsp - 0x28], edx
mov ecx, 0x3945f101
add ecx, 0x2ba2800
sub ecx, 0xb619c38
sub ecx, 0x309e7c99
rep stosb byte [rdi], al
mov r13, r13
sub rsp, 0x4a5cf9a3
add rsp, 0x4a5cfb6b
nop
mov rdi, qword [rsp]
add rsp, 8
nop
mov rbp, qword [rsp]
add rsp, 8
ret
call fcn.140077cf0
add rsp, 0xef95633
sub rsp, 0xef9546b
pop rdi
mov r14, r14
nop
mov rbp, qword [rsp]
add rsp, 8
ret