Function at 0x1400a51a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor esi, esi
mov dword [rbp + 0x30], esi
lea rdi, [rsi - 1]
mov rbx, qword [0x140167a98]
cmp byte [rbx + 0x1d0], sil
je 0x1400a53a2
mov dword [rbp + 0x30], 0x8c9e8e90
mov word [rbp + 0x34], 0x100
mov ecx, esi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x1400a51f0
mov byte [rbp + 0x35], sil
lea rcx, [rbp + 0x30]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x1400a5210
lea rcx, [rbx + 0x140]
cmp qword [rbx + 0x158], 0xf
jbe 0x1400a5231
mov rcx, qword [rbx + 0x140]
mov r8, qword [rbx + 0x150]
cmp r8, rax
jne 0x1400a524e
lea rdx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400a53a2
lea rcx, [rbp + 0x30]
call fcn.140005a00
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x30]
call fcn.14002dce0
mov rbx, qword [0x140167a98]
movzx eax, byte [0x140166a15]
test al, al
je 0x1400a5295
call fcn.14006cdd0
movzx eax, byte [0x140166a15]
mov rbx, qword [0x140167a98]
test al, al
jne 0x1400a5342
cmp byte [0x1401669e5], sil
jne 0x1400a533a
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 1
lea rdx, [0x14012f0ac]
lea rcx, [rbp - 0x60]
call fcn.14002c630
nop
mov rdx, qword [0x140167a98]
mov edx, dword [rdx + 0x1bc]
lea rcx, [rbp - 0x20]
call fcn.140005010
mov rbx, rax
mov rdx, qword [0x140167a98]
mov edx, dword [rdx + 0x1b8]
lea rcx, [rbp - 0x40]
call fcn.140005010
nop
lea r8, [rbp - 0x60]
mov rdx, rbx
mov rcx, rax
call fcn.14010a430
nop
lea rcx, [rbp - 0x40]
call fcn.14002b140
nop
lea rcx, [rbp - 0x20]
call fcn.14002b140
nop
lea rcx, [rbp - 0x60]
call fcn.14002b140
mov byte [0x1401669e5], 1
mov rbx, qword [0x140167a98]
movzx eax, byte [0x140166a15]
test al, al
je 0x1400a5469
mov edx, dword [rbx + 0x1bc]
lea rcx, [rbp - 0x40]
call fcn.140005010
mov rbx, rax
mov dword [rbp + 0x30], 1
mov rdx, qword [0x140167a98]
mov edx, dword [rdx + 0x1b8]
lea rcx, [rbp - 0x20]
call fcn.140005010
nop
mov esi, 3
mov dword [rbp + 0x30], esi
mov r8, qword [0x140167a98]
add r8, 0x140
mov rdx, rbx
mov rcx, rax
call fcn.14010a430
test al, al
je 0x1400a5469
mov bl, 1
jmp 0x1400a546b
movabs r15, 0x7ffffffffa0a1eff
movabs r14, 0x7fffffffffffffff
cmp byte [rbx + 0x1d0], sil
je 0x1400a5432
mov dword [rbp + 0x30], 0x8c9e8e90
mov word [rbp + 0x34], 0x100
mov rax, rsi
nop
lea ecx, [rax - 0x2b]
xor byte [rbp + rax + 0x30], cl
inc rax
cmp rax, 4
jb 0x1400a53d0
mov byte [rbp + 0x35], sil
lea rcx, [rbp + 0x30]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x1400a53f0
lea rcx, [rbx + 0x140]
cmp qword [rbx + 0x158], 0xf
jbe 0x1400a5411
mov rcx, qword [rbx + 0x140]
mov r8, qword [rbx + 0x150]
cmp r8, rax
jne 0x1400a526f
lea rdx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a526f
lea rcx, [rbp + 0x40]
call fcn.140005a00
mov rax, qword [rbp + 0x40]
cmp rax, r15
jge 0x1400a5450
add rax, 0x5f5e100
mov qword [rbp + 0x38], rax
jmp 0x1400a5454
mov qword [rbp + 0x38], r14
lea rcx, [rbp + 0x38]
call fcn.14002dce0
mov rbx, qword [0x140167a98]
jmp 0x1400a53b6
xor bl, bl
test sil, 2
je 0x1400a547e
and esi, 0xfffffffd
lea rcx, [rbp - 0x20]
call fcn.14002b140
nop
test sil, 1
je 0x1400a548d
lea rcx, [rbp - 0x40]
call fcn.14002b140
test bl, bl
je 0x1400a54dd
mov word [rbp + 0x30], 0x61
mov byte [rbp + 0x32], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp + 0x30]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400a54b0
mov r8, rdi
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14002c630
nop
lea rcx, [rbp - 0x60]
call fcn.14010ca30
nop
lea rcx, [rbp - 0x60]
call fcn.14002b140
cmp byte [0x140166a23], 0
jne 0x1400a5501
cmp byte [0x140166a21], 0
jne 0x1400a5501
cmp byte [0x140166a1d], 0
jne 0x1400a5501
cmp byte [0x140166a1c], 0
je 0x1400a5506
call fcn.14006b4b0
mov byte [0x1401669b6], 0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret