Function at 0x1400d00d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x14016a080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400d0308
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x14059ed24], eax
jle 0x1400d01fe
lea rcx, [0x14059ed24]
call fcn.140143000
cmp dword [0x14059ed24], 0xffffffff
jne 0x1400d01fe
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], reloc.WS2_32.dll_ntohs
lea ecx, [rbx + 0x20]
call fcn.140143078
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x27], reloc.WLDAP32.dll_Ordinal_30
mov qword [rbp + 0x2f], Ordinal_35
movups xmm0, xmmword [str.ExAcquireResourceExclusiveLite]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140155368]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140155370]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x140155374]
mov word [rax + 0x1c], cx
mov byte [rax + 0x1e], bl
lea r8, [rbp + 0x17]
mov rdx, qword [0x14059e898]
mov rcx, rsi
call fcn.1400cf6b0
mov qword [0x14059ed28], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1400d01f2
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d01ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d01ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140142f50
nop
lea rcx, [0x14059ed24]
call fcn.140142f94
mov r8, qword [0x14059ed28]
test r8, r8
jne 0x1400d0329
mov dword [rbp - 0x59], 0xfc06fc7d
mov dword [rbp - 0x55], 0xfc09fc75
mov dword [rbp - 0x51], 0xfc4afc6c
mov dword [rbp - 0x4d], 0xfc41fc45
mov dword [rbp - 0x49], 0xfc4bfc4b
mov dword [rbp - 0x45], 0xfc45fc10
mov dword [rbp - 0x41], 0xfc13fc5d
mov dword [rbp - 0x3d], 0xfc5cfc52
mov dword [rbp - 0x39], 0xfc53fc58
mov dword [rbp - 0x35], 0xfc7cfc18
mov dword [rbp - 0x31], 0xfc7afc42
mov dword [rbp - 0x2d], 0xfc4cfc5f
mov dword [rbp - 0x29], 0xfc56fc4b
mov dword [rbp - 0x25], 0xfc24fc32
mov dword [rbp - 0x21], 0xfc26fc10
mov dword [rbp - 0x1d], 0xfc2afc37
mov dword [rbp - 0x19], 0xfc35fc33
mov dword [rbp - 0x15], 0xfc2cfc2b
mov dword [rbp - 0x11], 0xfc33fc0f
mov dword [rbp - 0xd], 0xfc21fc2f
mov dword [rbp - 9], 0xfc3cfc3b
mov dword [rbp - 5], 0xfc27fc39
mov dword [rbp - 1], 0xfc1ffc37
mov dword [rbp + 3], 0xfc21fc3d
mov dword [rbp + 7], 0xfc33
mov byte [rbp + 0xb], 1
mov ecx, 0x3da
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x31
jb 0x1400d02d0
mov byte [rbp + 0xb], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400d4d70
lea rdx, [0x1400d4f50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140142f30
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x20], 1
mov r9, rdi
lea rdx, [rbp + 0x37]
mov rcx, rsi
call fcn.1400d76f0
test al, al
je 0x1400d0308
cmp byte [rbp + 0x37], 0
je 0x1400d0308
mov al, 1
jmp 0x1400d030a