Function at 0x14004efc0
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 [0x140093010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004f1b9
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1400978d8], eax
jle 0x14004f0b9
lea rcx, [0x1400978d8]
call fcn.14006cdc0
cmp dword [0x1400978d8], 0xffffffff
jne 0x14004f0b9
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], recv
mov byte [rbp + 0x17], bl
lea r8d, [rbx + 0x1e]
lea rdx, str.ExAcquireResourceExclusiveLite
lea rcx, [rbp + 0x17]
call fcn.1400549b0
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140094078]
mov rcx, rsi
call fcn.14004e550
mov qword [0x1400978e0], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004f0ad
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f0a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f0a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cbc0
nop
lea rcx, [0x1400978d8]
call fcn.14006cd60
mov r8, qword [0x1400978e0]
test r8, r8
jne 0x14004f1da
mov dword [rbp - 0x59], 0xc5efc596
mov dword [rbp - 0x55], 0xc5f0c592
mov dword [rbp - 0x51], 0xc5b3c597
mov dword [rbp - 0x4d], 0xc5b8c5ba
mov dword [rbp - 0x49], 0xc5b2c5b0
mov dword [rbp - 0x45], 0xc5acc5f7
mov dword [rbp - 0x41], 0xc5fac5b6
mov dword [rbp - 0x3d], 0xc5b5c5bd
mov dword [rbp - 0x39], 0xc5bac5b3
mov dword [rbp - 0x35], 0xc5a5c5ff
mov dword [rbp - 0x31], 0xc5a3c599
mov dword [rbp - 0x2d], 0xc595c580
mov dword [rbp - 0x29], 0xc58fc590
mov dword [rbp - 0x25], 0xc58dc595
mov dword [rbp - 0x21], 0xc58fc5bb
mov dword [rbp - 0x1d], 0xc583c598
mov dword [rbp - 0x19], 0xc59cc598
mov dword [rbp - 0x15], 0xc595c58c
mov dword [rbp - 0x11], 0xc58ac5b4
mov dword [rbp - 0xd], 0xc598c590
mov dword [rbp - 9], 0xc585c580
mov dword [rbp - 5], 0xc58ec59e
mov dword [rbp - 1], 0xc5b6c59c
mov dword [rbp + 3], 0xc588c592
mov dword [rbp + 7], 0xc598
mov byte [rbp + 0xb], 1
mov ecx, 0x3a33
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x31
jb 0x14004f181
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.140054ba0
lea rdx, [0x140054d80]
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.14006cad0
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.1400576b0
test al, al
je 0x14004f1b9
cmp byte [rbp + 0x37], 0
je 0x14004f1b9
mov al, 1
jmp 0x14004f1bb