Function at 0x14006d590
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov word [rsp + 0x9e], 0x972d
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x98], 0x64c49cd7
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rax
call fcn.140001c70
xor r8d, r8d
mov ecx, r8d
mov rax, qword [rax + 0x18]
mov rdx, rax
add rdx, 0x20
mov rax, qword [rax + 0x20]
mov r8d, dword [rsp + 0xac]
mov dword [rsp + 0xac], r8d
cmp rax, rdx
mov dword [rsp + 0x7c], r8d
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rcx
je 0x14006d66c
jmp 0x14006d636
xor eax, eax
mov dword [rsp + 0x5c], eax
jmp 0x14006d79a
mov rax, qword [rsp + 0x50]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x60], rax
jmp 0x14006d66c
mov rax, qword [rsp + 0x90]
cmp rax, 0
setne cl
mov rdx, qword [rsp + 0x68]
mov byte [rsp + 0x4f], cl
mov qword [rsp + 0x40], rdx
jmp 0x14006d71e
mov al, byte [rsp + 0x3f]
test al, 1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x60], rcx
jne 0x14006d66c
jmp 0x14006d69a
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
sub rcx, 0xf042d7f
mov qword [rsp + 0xa0], rcx
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor eax, eax
mov ecx, eax
mov eax, dword [rsp + 0x7c]
imul edx, eax, 0x17b42d03
mov dword [rsp + 0xac], edx
mov r8, qword [rsp + 0x80]
xor r8, 0xffffffffffffffff
mov r9, qword [rsp + 0x50]
mov r10, qword [r9]
mov qword [rsp + 0xa0], r8
mov r8, qword [rsp + 0x70]
cmp r10, r8
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x40], r10
je 0x14006d66c
jmp 0x14006d71e
mov ax, word [rsp + 0x9e]
xor ax, 0x972d
mov rcx, qword [rsp + 0x50]
mov dx, word [rcx + 0x48]
mov r8d, dword [rsp + 0x7c]
imul r8d, r8d
mov dword [rsp + 0xac], r8d
shr dx, 1
movzx r8d, dx
cmp dx, ax
mov dword [rsp + 0x2c], r8d
je 0x14006d69a
jmp 0x14006d61b
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x7c]
sub ecx, 0x65e759de
mov dword [rsp + 0xac], ecx
mov rdx, qword [rsp + 0x80]
xor rdx, 0xffffffffffffffff
mov r8, qword [rax + 0x50]
mov qword [rsp + 0xa0], rdx
mov r9w, word [rsp + 0xa8]
mov rdx, qword [rax + 0x20]
xor r9w, 0xffff
mov word [rsp + 0xa8], r9w
mov r10, qword [rsp + 0x90]
cmp rdx, r10
sete r11b
mov bl, byte [rsp + 0x4f]
and bl, r11b
test bl, 1
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x30], rdx
jne 0x14006d626
jmp 0x14006d6e1
mov eax, dword [rsp + 0x5c]
mov cx, 0x972d
mov byte [rsp + 0xab], 5
mov edx, dword [rsp + 0x98]
mov r8d, eax
mov r9d, r8d
sub cx, word [rsp + 0x9e]
add edx, 0x9b3b632a
mov r10, qword [rsp + 0x80]
sub r10, 0x2ea2a637
mov r11, qword [rsp + 0x20]
mov si, word [r11 + r9*2]
mov di, si
add di, 0xffbf
mov qword [rsp + 0xa0], r10
mov bl, byte [rsp + 0xab]
mov bp, si
add bp, 0x20
cmp di, 0x1a
cmovb si, bp
mov byte [rsp + 0xab], bl
mov r8d, dword [rsp + 0x7c]
mov dword [rsp + 0xac], r8d
mov r10, qword [rsp + 0x88]
cmp word [r10 + r9*2], si
sete bl
cmp si, cx
setne r14b
xor r8d, 0x63800b30
mov dword [rsp + 0xac], r8d
add eax, edx
mov edx, dword [rsp + 0x2c]
cmp eax, edx
setb r15b
mov r12b, bl
and r12b, r14b
and r12b, r15b
test r12b, 1
mov byte [rsp + 0x3f], bl
mov dword [rsp + 0x5c], eax
jne 0x14006d79a
jmp 0x14006d658