Function at 0x1400a3250
Capabilities:
Encode data using xor

Disassembly:
push r15
xor eax, eax
push r14
push r13
push r12
mov r12, rcx
push rbp
push rdi
mov edi, eax
push rsi
push rbx
sub rsp, 0x38
xchg dword [rcx + 0x1ac], edi
xchg dword [rcx + 0x1a8], eax
mov rdx, rcx
xor ecx, ecx
call fcn.1401c6480
mov rsi, qword [0x1403f12c8]
test rsi, rsi
je 0x1400a3679
mov rdi, qword [r12 + 8]
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov r8, rdi
mov rbx, rax
cmp eax, 0xb
jbe 0x1400a379a
mov r9d, eax
mov r11d, 0x9e3779b9
mov r10d, 0x9e3779b9
mov ecx, 0xfeedbeef
nop dword [rax]
movzx edx, byte [r8 + 5]
movzx eax, byte [r8 + 6]
shl edx, 8
shl eax, 0x10
add edx, eax
movzx eax, byte [r8 + 4]
add edx, eax
movzx eax, byte [r8 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r8 + 9]
add edx, r11d
movzx r11d, byte [r8 + 0xa]
shl eax, 8
shl r11d, 0x10
add eax, r11d
movzx r11d, byte [r8 + 8]
add eax, r11d
movzx r11d, byte [r8 + 0xb]
shl r11d, 0x18
add eax, r11d
movzx r11d, byte [r8 + 2]
add eax, ecx
movzx ecx, byte [r8 + 1]
shl r11d, 0x10
mov r13d, eax
shl ecx, 8
shr r13d, 0xd
add ecx, r11d
movzx r11d, byte [r8]
add ecx, r11d
movzx r11d, byte [r8 + 3]
shl r11d, 0x18
add ecx, r11d
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, r10d
xor r13d, ecx
mov r11d, r13d
sub edx, r13d
sub eax, r13d
shl r11d, 8
xor r11d, edx
mov r10d, r11d
sub eax, r11d
shr r10d, 0xd
xor r10d, eax
sub r13d, r11d
sub r9d, 0xc
add r8, 0xc
mov ecx, r10d
sub r13d, r10d
sub r11d, r10d
shr ecx, 0xc
xor ecx, r13d
mov edx, ecx
sub r11d, ecx
sub r10d, ecx
shl edx, 0x10
xor edx, r11d
mov eax, edx
sub r10d, edx
sub ecx, edx
shr eax, 5
xor eax, r10d
mov r10d, eax
sub ecx, eax
sub edx, eax
shr r10d, 3
xor r10d, ecx
mov r11d, r10d
sub edx, r10d
sub eax, r10d
shl r11d, 0xa
xor r11d, edx
mov ecx, r11d
sub eax, r11d
shr ecx, 0xf
xor ecx, eax
cmp r9d, 0xb
ja 0x1400a32c0
add ecx, ebx
cmp r9d, 0xb
ja case.0x1400a33e5.0
lea rdx, [0x140288678]
movsxd rax, dword [rdx + r9*4]
add rax, rdx
jmp rax
movzx eax, byte [r8 + 0xa]
shl eax, 0x18
add ecx, eax
movzx eax, byte [r8 + 9]
shl eax, 0x10
add ecx, eax
movzx eax, byte [r8 + 8]
shl eax, 8
add ecx, eax
movzx eax, byte [r8 + 7]
shl eax, 0x18
add r11d, eax
movzx eax, byte [r8 + 6]
shl eax, 0x10
add r11d, eax
movzx eax, byte [r8 + 5]
shl eax, 8
add r11d, eax
movzx eax, byte [r8 + 4]
add r11d, eax
movzx eax, byte [r8 + 3]
shl eax, 0x18
add r10d, eax
movzx eax, byte [r8 + 2]
shl eax, 0x10
add r10d, eax
movzx eax, byte [r8 + 1]
shl eax, 8
add r10d, eax
movzx eax, byte [r8]
add r10d, eax
lea eax, [rcx + r11]
mov edx, ecx
sub r11d, ecx
mov r14, qword [rsi + 0x30]
sub r10d, eax
shr edx, 0xd
xor edx, r10d
mov eax, edx
sub r11d, edx
sub ecx, edx
shl eax, 8
xor eax, r11d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xd
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shr r8d, 0xc
xor r8d, edx
mov edx, r8d
sub eax, r8d
sub ecx, r8d
shl edx, 0x10
xor edx, eax
mov eax, edx
sub ecx, edx
sub r8d, edx
shr eax, 5
xor eax, ecx
mov ecx, eax
sub r8d, eax
sub edx, eax
shr ecx, 3
xor ecx, r8d
mov r15d, ecx
sub edx, ecx
sub eax, ecx
shl r15d, 0xa
xor r15d, edx
mov rdx, qword [r14]
sub eax, r15d
shr r15d, 0xf
xor r15d, eax
mov eax, dword [r14 + 8]
mov qword [rsp + 0x28], rdx
sub eax, 1
and eax, r15d
shl rax, 4
mov r13, qword [rdx + rax]
test r13, r13
je 0x1400a3679
mov rax, qword [r14 + 0x20]
mov rbp, rax
mov qword [rsp + 0x20], rax
sub r13, rax
neg rbp
jmp 0x1400a3520
mov r13, qword [r13 + 0x50]
test r13, r13
je 0x1400a3679
add r13, rbp
cmp dword [r13 + 0x64], r15d
jne 0x1400a3510
mov eax, dword [r13 + 0x60]
cmp rbx, rax
jne 0x1400a3510
mov rcx, qword [r13 + 0x58]
mov r8, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400a3510
mov rdx, qword [r13 + 0x38]
lea rcx, [r13 + 0x30]
test rdx, rdx
je 0x1400a36e0
cmp rcx, qword [r14 + 0x18]
je 0x1400a3740
mov rax, qword [r13 + 0x40]
mov rdi, qword [rsp + 0x20]
mov qword [rdx + rdi + 0x10], rax
test rax, rax
je 0x1400a3581
mov rdx, qword [rsi + 0x30]
mov r8, qword [r13 + 0x38]
mov rdx, qword [rdx + 0x20]
mov qword [rax + rdx + 8], r8
mov rdx, qword [rsi + 0x30]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, dword [r13 + 0x64]
shl rax, 4
add rax, qword [rdx]
sub dword [rax + 8], 1
cmp qword [rax], rcx
je 0x1400a3730
mov rax, qword [r13 + 0x48]
test rax, rax
je 0x1400a35b4
mov rdx, qword [r13 + 0x50]
mov qword [rax + 0x20], rdx
mov rax, qword [r13 + 0x50]
test rax, rax
je 0x1400a35c5
mov rdx, qword [r13 + 0x48]
mov qword [rax + 0x18], rdx
mov rax, qword [rsi + 0x30]
sub dword [rax + 0x10], 1
mov rbx, qword [0x1403f12c0]
mov rdx, qword [r13 + 0x70]
lea r8, [r13 + 0x68]
mov rcx, qword [rbx + 0x68]
test rdx, rdx
je 0x1400a3708
cmp qword [rcx + 0x18], r8
je 0x1400a3780
mov rax, qword [r13 + 0x78]
mov rcx, qword [rcx + 0x20]
mov qword [rdx + rcx + 0x10], rax
test rax, rax
je 0x1400a3616
mov rdx, qword [rbx + 0x68]
mov rcx, qword [r13 + 0x70]
mov rdx, qword [rdx + 0x20]
mov qword [rax + rdx + 8], rcx
mov rdx, qword [rbx + 0x68]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, dword [r13 + 0x9c]
shl rax, 4
add rax, qword [rdx]
sub dword [rax + 8], 1
cmp qword [rax], r8
je 0x1400a3768
mov rax, qword [r13 + 0x80]
test rax, rax
je 0x1400a3652
mov rdx, qword [r13 + 0x88]
mov qword [rax + 0x20], rdx
mov rax, qword [r13 + 0x88]
test rax, rax
je 0x1400a3669
mov rdx, qword [r13 + 0x80]
mov qword [rax + 0x18], rdx
mov rax, qword [rbx + 0x68]
sub dword [rax + 0x10], 1
mov rcx, r13
call sub.msvcrt.dll_free
mov rcx, qword [r12 + 0x1b8]
test rcx, rcx
je 0x1400a368b
call fcn.1400dea30
mov rcx, qword [r12 + 0x100]
test rcx, rcx
je 0x1400a36a9
call sub.msvcrt.dll_free
mov qword [r12 + 0x100], 0
mov rcx, qword [r12 + 0x40]
mov edx, 1
call fcn.1400e4010
mov rcx, qword [r12 + 0x40]
call fcn.1400e3e70
add rsp, 0x38
mov rcx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_free
mov rax, qword [r13 + 0x40]
test rax, rax
je 0x1400a37c5
cmp rcx, qword [r14 + 0x18]
je 0x1400a3740
mov qword [0x1403f12c8], rax
mov rsi, rax
jmp 0x1400a356b
mov rax, qword [r13 + 0x78]
test rax, rax
je 0x1400a37e8
cmp qword [rcx + 0x18], r8
je 0x1400a3780
mov qword [0x1403f12c0], rax
mov rbx, rax
jmp 0x1400a3600
mov rdx, qword [r13 + 0x50]
mov qword [rax], rdx
jmp 0x1400a35a3
add rdx, qword [rsp + 0x20]
mov qword [r14 + 0x18], rdx
mov rdx, qword [r13 + 0x38]
test rdx, rdx
je 0x1400a37b3
mov rax, qword [rsi + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
jmp 0x1400a355d
mov rdx, qword [r13 + 0x88]
mov qword [rax], rdx
jmp 0x1400a363b
add rdx, qword [rcx + 0x20]
mov qword [rcx + 0x18], rdx
mov rdx, qword [r13 + 0x70]
test rdx, rdx
je 0x1400a37bc
mov rcx, qword [rbx + 0x68]
jmp 0x1400a35f3
mov r9d, eax
mov r11d, 0x9e3779b9
mov r10d, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x1400a33cf
mov rax, qword [r13 + 0x40]
jmp 0x1400a36f3
mov rax, qword [r13 + 0x78]
jmp 0x1400a371b
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov rcx, qword [rsi + 0x30]
call sub.msvcrt.dll_free
mov qword [0x1403f12c8], 0
jmp 0x1400a35cd
mov rcx, qword [rcx]
call sub.msvcrt.dll_free
mov rcx, qword [rbx + 0x68]
call sub.msvcrt.dll_free
mov qword [0x1403f12c0], 0
jmp 0x1400a3671