Function at 0x14004f3b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004f5b5
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x14009789c], eax
jle 0x14004f4ab
lea rcx, [0x14009789c]
call fcn.14006d0f0
cmp dword [0x14009789c], 0xffffffff
jne 0x14004f4ab
mov qword [rbp + 7], rbx
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], recv
mov byte [rbp + 7], bl
lea r8d, [rbx + 0x1f]
lea rdx, str.RtlDeleteElementGenericTableAvl
lea rcx, [rbp + 7]
call fcn.140054910
nop
lea r8, [rbp + 7]
mov rdx, qword [0x140094078]
mov rcx, rsi
call fcn.14004e500
mov qword [0x140097858], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004f49f
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f499
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f499
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cef0
nop
lea rcx, [0x14009789c]
call fcn.14006d090
mov r8, qword [0x140097858]
test r8, r8
jne 0x14004f5b9
mov dword [rbp - 0x69], 0x167f1606
mov dword [rbp - 0x65], 0x16401602
mov dword [rbp - 0x61], 0x16031627
mov dword [rbp - 0x5d], 0x1608160a
mov dword [rbp - 0x59], 0x16021600
mov dword [rbp - 0x55], 0x161c1647
mov dword [rbp - 0x51], 0x164a1606
mov dword [rbp - 0x4d], 0x1605160d
mov dword [rbp - 0x49], 0x160a1603
mov dword [rbp - 0x45], 0x1622164f
mov dword [rbp - 0x41], 0x161e1605
mov dword [rbp - 0x3d], 0x16111637
mov dword [rbp - 0x39], 0x16131619
mov dword [rbp - 0x35], 0x161d1603
mov dword [rbp - 0x31], 0x1616163c
mov dword [rbp - 0x2d], 0x1611161e
mov dword [rbp - 0x29], 0x16101618
mov dword [rbp - 0x25], 0x16c7160b
mov dword [rbp - 0x21], 0x16ec16e4
mov dword [rbp - 0x1d], 0x16f616e6
mov dword [rbp - 0x19], 0x16e516ec
mov dword [rbp - 0x15], 0x16e916d3
mov dword [rbp - 0x11], 0x16e616eb
mov dword [rbp - 0xd], 0x16cd16ee
mov dword [rbp - 9], 0x16e216fb
mov word [rbp - 5], bx
mov byte [rbp - 3], 1
mov ecx, 0x165d
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x32
jb 0x14004f580
mov byte [rbp - 3], 0
lea rdx, [rbp - 0x69]
mov rcx, qword [0x140070250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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
jmp 0x14004f5dd
mov qword [rsp + 0x20], r14
mov r9, rdi
lea rdx, [rbp + 0x27]
mov rcx, rsi
call fcn.140058300
test al, al
je 0x14004f5db
cmp byte [rbp + 0x27], 0
je 0x14004f5db
mov al, 1
jmp 0x14004f5dd
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006ce00
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret