Function at 0x1400574a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x14005769a
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140239e88], eax
jle 0x140057598
lea rcx, [0x140239e88]
call fcn.14007ff28
cmp dword [0x140239e88], 0xffffffff
jne 0x140057598
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
mov r8d, 0x1e
lea rdx, str.ExAcquireResourceExclusiveLite
lea rcx, [rbp + 0x27]
call fcn.140061c70
nop
lea r8, [rbp + 0x27]
mov rdx, qword [0x140236b98]
mov rcx, rdi
call fcn.140056990
mov qword [0x140239e90], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14005758c
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057586
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057586
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080070
nop
lea rcx, [0x140239e88]
call fcn.14007febc
mov r8, qword [0x140239e90]
test r8, r8
jne 0x1400576bd
mov dword [rbp - 0x49], 0xd725d758
mov dword [rbp - 0x45], 0xd726d758
mov dword [rbp - 0x41], 0xd769d741
mov dword [rbp - 0x3d], 0xd766d760
mov dword [rbp - 0x39], 0xd768d76e
mov dword [rbp - 0x35], 0xd77ad72d
mov dword [rbp - 0x31], 0xd730d760
mov dword [rbp - 0x2d], 0xd77bd777
mov dword [rbp - 0x29], 0xd770d77d
mov dword [rbp - 0x25], 0xd753d735
mov dword [rbp - 0x21], 0xd759d76f
mov dword [rbp - 0x1d], 0xd76bd77a
mov dword [rbp - 0x19], 0xd775d76e
mov dword [rbp - 0x15], 0xd77bd76f
mov dword [rbp - 0x11], 0xd745d74d
mov dword [rbp - 0xd], 0xd74dd752
mov dword [rbp - 9], 0xd756d756
mov dword [rbp - 5], 0xd743d746
mov dword [rbp - 1], 0xd750d762
mov dword [rbp + 3], 0xd746d74a
mov dword [rbp + 7], 0xd75fd75e
mov dword [rbp + 0xb], 0xd758d744
mov dword [rbp + 0xf], 0xd77cd74a
mov dword [rbp + 0x13], 0xd746d758
mov dword [rbp + 0x17], 0xd756
xor eax, eax
mov byte [rbp + 0x1b], 1
mov edx, 0x28fd
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x49], cx
inc rax
cmp rax, 0x31
jb 0x140057662
mov byte [rbp + 0x1b], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14005d060
lea rdx, [0x14005d240]
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 + 0x4f]
xor rcx, rsp
call fcn.14007fe60
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov byte [rsp + 0x20], 1
mov r9, rbx
lea rdx, [rbp + 0x47]
mov rcx, rdi
call fcn.14005fb70
test al, al
je 0x14005769a
cmp byte [rbp + 0x47], 0
je 0x14005769a
mov al, 1
jmp 0x14005769c