Function at 0x140031970
Capabilities:
Encode data using xor

Disassembly:
xchg rcx, r15
mov qword [rsp + 8], r15
xchg rcx, r15
push rbx
push rsi
push rdi
nop
mov qword [rsp - 8], r12
sub rsp, 8
push r13
nop
sub rsp, 8
mov qword [rsp], r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
sub rsp, 0x40
xchg r14, r8
mov rbx, r14
xchg r8, r14
xchg rsi, rdx
mov rdx, rsi
xchg rsi, rdx
xchg rcx, rdi
mov r13, rdi
xchg rdi, rcx
xchg rdx, rbp
mov rbp, qword [rcx]
xchg rdx, rbp
mov r15, rsi
sub r15, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 3
sar rax, 1
movabs r14, 0xfffffff0c5eb7a9
add r14, 0x4236e13c
xor r14, 0x1e196754
xor r14, 0x65c2bd3f
add r14, 0x7a22cfa
sub r14, 0x3974fc1c
add r14, 0x15a6ce5
add r14, 0x7fffffff
add r14, 0x7b2a1faf
cmp rax, r14
je 0x140031cc2
lea r8, [rax + 1]
mov qword [rsp + 0x28], r8
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 1
sar rcx, 2
sar rcx, 1
xchg rdi, rdx
mov rdi, rcx
xchg rdx, rdi
shr rdx, 1
mov rax, r14
sub rax, rdx
cmp rcx, rax
ja 0x140031a64
lea r14, [rdx + rcx]
cmp r14, r8
cmovb r14, r8
mov qword [rsp + 0x20], r14
xchg rdx, r14
mov r14, rdx
xchg rdx, r14
xchg rbp, rcx
mov rbp, r13
xchg rbp, rcx
call fcn.1400538b0
xchg r8, r12
mov r8, rax
xchg r12, r8
xchg rcx, rax
mov qword [rsp + 0x38], rcx
xchg rcx, rax
and r15, 0xfffffffffffffff0
add rax, r15
mov qword [rsp + 0x88], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 0x30], rcx
mov byte [rax], 0x55
sub byte [rax], 4
xor byte [rax], 0x7e
add byte [rax], 0x16
add byte [rax], 0x20
sub byte [rax], 0x44
add byte [rax], 0x22
add byte [rax], 0x2a
sub byte [rax], 0x6d
lea rdi, [rax + 8]
xor ecx, ecx
xchg rcx, r9
mov qword [rdi], r9
xchg r9, rcx
mov rbx, qword [rbx]
movzx edx, byte [rax]
mov rcx, rdi
call fcn.140054290
nop
xchg rbx, rax
mov rbx, qword [rsp + 0x88]
xchg rbx, rax
mov byte [rax], 0x5e
xor byte [rax], 0xb
xor byte [rax], 0x6a
xor byte [rax], 0x73
add byte [rax], 0x18
add byte [rax], 0x17
sub byte [rax], 0x40
add byte [rax], 0x27
sub byte [rax], 0x5d
mov qword [rdi], rbx
xchg r8, rax
mov qword [rsp + 0x98], r8
xchg r8, rax
mov r9, qword [r13 + 8]
xchg r10, rax
mov r10, qword [r13]
xchg r10, rax
mov rdx, r12
cmp rsi, r9
jne 0x140031b82
cmp rax, r9
je 0x140031c43
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx], cl
xchg rcx, rdx
mov rdx, qword [rax + 8]
xchg rdx, rcx
mov qword [rdx + 8], rcx
mov byte [rax], r8b
xchg r8, rcx
mov qword [rax + 8], rcx
xchg rcx, r8
lea rdx, [rdx + 0x10]
sub rax, 0xfffffffffffffff0
cmp rax, r9
jne 0x140031b4c
jmp 0x140031c43
xor r8d, r8d
cmp rax, rsi
je 0x140031bca
nop dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx], cl
xchg rdx, rcx
mov rdx, qword [rax + 8]
xchg rcx, rdx
xchg rcx, rbp
mov qword [rdx + 8], rbp
xchg rbp, rcx
mov byte [rax], r8b
mov qword [rax + 8], r8
lea rdx, [rdx + 0x10]
neg rax
add rax, 0xfffffffffffffff0
neg rax
cmp rax, rsi
jne 0x140031b93
mov qword [rsp + 0x98], r12
xchg rdx, r8
mov r8, qword [r13 + 8]
xchg r8, rdx
cmp rsi, rdx
je 0x140031c43
lea rcx, [rsi + 8]
sub r15, rsi
lea r9, [r15 + r12]
lea r10, [r15 + r12]
movzx eax, byte [rcx - 8]
mov byte [r10 + rcx + 8], al
xchg rbx, rax
mov rbx, qword [rcx]
xchg rbx, rax
xchg r13, rax
mov qword [r9 + rcx + 0x10], r13
xchg r13, rax
mov byte [rcx - 8], 0x59
sub byte [rcx - 8], 0x1f
add byte [rcx - 8], 0x33
xor byte [rcx - 8], 0x36
sub byte [rcx - 8], 0x37
add byte [rcx - 8], 0x24
sub byte [rcx - 8], 0x48
xchg r8, rdi
mov qword [rcx], rdi
xchg r8, rdi
lea rcx, [rcx + 0x10]
lea rax, [rcx - 8]
cmp rax, rdx
jne 0x140031bf4
xchg r9, r14
mov r14, r9
xchg r9, r14
mov r8, qword [rsp + 0x28]
xchg rdx, r12
mov r12, rdx
xchg rdx, r12
mov rcx, r13
call fcn.140052a00
mov rax, qword [rsp + 0x88]
add rsp, 0x40
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
add rsp, 8
xchg qword [rsp - 8], r14
nop
mov r13, qword [rsp]
add rsp, 8
nop
xchg qword [rsp], r12
add rsp, 8
push rax
push rcx
push rax
push rbx
push rdx
xchg qword [rsp + 0x28], rdi
pop rdx
pop rbx
pop rax
pop rcx
pop rax
add rsp, 8
nop
mov rsi, qword [rsp]
add rsp, 8
nop
xchg qword [rsp], rbx
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]
call fcn.14002f850
int3