Function at 0x14000a660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140087118]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, 0xffffffffffffffff
mov r15, r8
mov rax, rdi
mov r12, rdx
mov rsi, rcx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a6a0
xor ebx, ebx
test rax, rax
je 0x14000a6be
mov r9, rdi
inc r9
cmp byte [rcx + r9], bl
jne 0x14000a6b3
jmp 0x14000a6c1
mov r9, rbx
mov rax, rdi
inc rax
cmp byte [rcx + rax], bl
jne 0x14000a6c4
test rax, rax
je 0x14000a6eb
mov word [rbp - 0x20], reloc.WLDAP32.dll_Ordinal_46
lea rax, [rbp - 0x20]
mov byte [rbp - 0x1e], bl
mov rdx, rdi
inc rdx
cmp byte [rax + rdx], bl
jne 0x14000a6e1
jmp 0x14000a6ee
mov rdx, rbx
test r15, r15
je 0x14000a71b
mov word [rbp - 0x20], Ordinal_50
lea rax, [rbp - 0x20]
mov byte [rbp - 0x1e], bl
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x14000a703
mov r10, rdi
nop
inc r10
cmp byte [r15 + r10], bl
jne 0x14000a710
jmp 0x14000a721
mov r8, rbx
mov r10, rbx
mov dword [rbp - 0x18], 0xf0a0914
mov rcx, rbx
mov dword [rbp - 0x14], 0xacadbbf3
mov word [rbp - 0x10], 0x100
nop dword [rax + rax]
lea eax, [rcx + 0x7c]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 8
jb 0x14000a740
mov byte [rbp - 0xf], bl
mov rax, rdi
nop word [rax + rax]
cmp byte [r12 + rax + 1], bl
lea rax, [rax + 1]
jne 0x14000a760
lea r11, [rbp - 0x18]
mov rcx, rdi
inc rcx
cmp byte [r11 + rcx], bl
jne 0x14000a772
lea r13, [r10 + rax]
add r13, rcx
add r13, r8
add r13, rdx
add r13, r9
lea rcx, [r13 + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x14000a90c
mov dword [rbp - 0x18], 0xf0a0914
mov dword [rbp - 0x14], 0xacadbbf3
mov word [rbp - 0x10], 0x100
nop word [rax + rax]
lea eax, [rbx + 0x7c]
xor byte [rbp + rbx - 0x18], al
inc rbx
cmp rbx, 8
jb 0x14000a7c0
lea rax, [rbp - 0x18]
mov byte [rbp - 0xf], 0
mov rdx, r14
lea rcx, [rbp - 0x18]
sub rdx, rax
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14000a7e2
mov rax, rdi
inc rax
cmp byte [rsi + rax], 0
jne 0x14000a7f3
test rax, rax
je 0x14000a850
lea rcx, [r14 - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000a805
xor edx, edx
movzx eax, byte [rsi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000a811
mov word [rbp - 0x20], reloc.WLDAP32.dll_Ordinal_46
lea rcx, [r14 - 1]
mov byte [rbp - 0x1e], al
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000a830
lea r8, [rbp - 0x20]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000a840
lea rcx, [r14 - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000a854
xor edx, edx
movzx eax, byte [r12 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000a860
inc rdi
cmp byte [r15 + rdi], 0
jne 0x14000a870
test rdi, rdi
je 0x14000a8d2
mov word [rbp - 0x20], Ordinal_50
lea rcx, [r14 - 1]
mov byte [rbp - 0x1e], 0
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000a890
lea r8, [rbp - 0x20]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000a8a0
lea rdx, [r14 - 1]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x14000a8b4
xor r8d, r8d
movzx eax, byte [r15 + r8]
mov byte [rdx + r8], al
lea r8, [r8 + 1]
test al, al
jne 0x14000a8c1
lea rcx, [r13 + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x1400874d0], rax
mov rdx, r14
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x14000a8f0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000a93d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Memory_allocation_failed
call fcn.1400023d0
lea rdx, [0x140002820]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [0x140087611], 1
mov byte [0x1400877a1], 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140066950
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret