Function at 0x140057b30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140057d38
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140239e7c], eax
jle 0x140057c28
lea rcx, [0x140239e7c]
call fcn.14007ff28
cmp dword [0x140239e7c], 0xffffffff
jne 0x140057c28
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov r8d, 0x1f
lea rdx, str.RtlLookupElementGenericTableAvl
lea rcx, [rbp + 0x17]
call fcn.140061c70
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140236b98]
mov rcx, rdi
call fcn.140056990
mov qword [0x140239e10], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140057c1c
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057c16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080070
nop
lea rcx, [0x140239e7c]
call fcn.14007febc
mov r8, qword [0x140239e10]
test r8, r8
jne 0x140057d59
mov dword [rbp - 0x59], 0xd725d758
mov dword [rbp - 0x55], 0xd726d758
mov dword [rbp - 0x51], 0xd769d741
mov dword [rbp - 0x4d], 0xd766d760
mov dword [rbp - 0x49], 0xd768d76e
mov dword [rbp - 0x45], 0xd77ad72d
mov dword [rbp - 0x41], 0xd730d760
mov dword [rbp - 0x3d], 0xd77bd777
mov dword [rbp - 0x39], 0xd770d77d
mov dword [rbp - 0x35], 0xd744d735
mov dword [rbp - 0x31], 0xd774d763
mov dword [rbp - 0x2d], 0xd775d755
mov dword [rbp - 0x29], 0xd777d774
mov dword [rbp - 0x25], 0xd76ed768
mov dword [rbp - 0x21], 0xd74cd75a
mov dword [rbp - 0x1d], 0xd74fd744
mov dword [rbp - 0x19], 0xd74ad746
mov dword [rbp - 0x15], 0xd761d751
mov dword [rbp - 0x11], 0xd746d742
mov dword [rbp - 0xd], 0xd758d74c
mov dword [rbp - 9], 0xd74fd742
mov dword [rbp - 5], 0xd74fd779
mov dword [rbp - 1], 0xd75cd74d
mov dword [rbp + 3], 0xd773d754
mov dword [rbp + 7], 0xd758d745
xor eax, eax
mov word [rbp + 0xb], ax
mov byte [rbp + 0xd], 1
mov edx, 0x28fd
nop word [rax + rax]
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x59], cx
inc rax
cmp rax, 0x32
jb 0x140057d00
mov byte [rbp + 0xd], 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.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 eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14007fe60
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.140060fb0
test al, al
je 0x140057d38
mov rax, qword [rbp + 0x37]
jmp 0x140057d3a