Function at 0x14001ea50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x480
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x378], rax
mov edi, 0x120
mov ecx, edi
call fcn.1400b7b4c
mov rbx, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1400ba120
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140035cb4
mov rsi, rax
xor r14d, r14d
test rax, rax
je 0x14001eeb7
lock inc dword [rax + 8]
or r15, 0xffffffffffffffff
mov eax, r15d
lock xadd dword [rsi + 8], eax
add eax, r15d
jne 0x14001eaf3
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x14001eae6
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
jmp 0x14001eaf3
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov dword [rsp + 0x68], 0x373b57f2
mov dword [rsp + 0x6c], 0x1f0b7b5e
mov dword [rsp + 0x70], 0x7fcdbf7d
mov dword [rsp + 0x74], 0x96e51b
mov dword [rsp + 0x78], 0x373457e7
mov ebx, 0x7b37
mov word [rsp + 0x7c], bx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401608d4], eax
jle 0x14001eb92
lea rcx, [0x1401608d4]
call fcn.1400b77a0
cmp dword [0x1401608d4], r15d
jne 0x14001eb92
mov byte [0x14016080e], 1
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [0x1401607f8], xmm0
mov eax, dword [rsp + 0x78]
mov dword [0x140160808], eax
mov word [0x14016080c], bx
lea rcx, [0x1400ff76c]
call fcn.1400b7e90
lea rcx, [0x1401608d4]
call fcn.1400b7740
lea r9, [0x1401607f8]
cmp byte [0x14016080e], r14b
je 0x14001ebcf
mov rdx, r14
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0xe57fbf1f7b375791
shr rax, cl
xor word [r9 + rdx*2], ax
inc rdx
cmp rdx, 0xb
jb 0x14001eba5
mov byte [0x14016080e], r14b
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov r8, r15
inc r8
cmp word [r9 + r8*2], r14w
jne 0x14001ebe1
mov rdx, r9
lea rcx, [rbp - 0x78]
call fcn.14002a4e0
nop
call fcn.140006284
mov rcx, rax
test rax, rax
je 0x14001eec2
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x80], rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
mov edx, 0x1008
sub eax, edx
or ecx, eax
jge 0x14001ec3a
lea rcx, [rbp - 0x80]
call fcn.1400261ac
mov rbx, qword [rbp - 0x80]
mov r8d, 0x1000
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400be2e4
test eax, eax
js 0x14001eeac
cmp eax, dword [rbx - 0xc]
jg 0x14001eeac
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov r8, r15
inc r8
cmp word [rbx + r8*2], r14w
jne 0x14001ec87
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14002a4e0
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x78]
call fcn.14001e6f4
mov dil, al
lea rcx, [rsp + 0x28]
call fcn.1400253a8
test dil, dil
jne 0x14001ed02
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8, r15
inc r8
cmp word [rbx + r8*2], r14w
jne 0x14001ecd3
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14002a4e0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.14001e8f8
lea rcx, [rsp + 0x48]
call fcn.1400253a8
xor edx, edx
mov r8d, 0x3d0
lea rcx, [rbp - 0x58]
call fcn.1400ba120
lea rcx, [rbp - 0x58]
call fcn.140005c6c
lea rax, vtable.CMainFrameWindow.0
mov qword [rbp - 0x58], rax
mov edi, 0x20
mov edx, edi
lea rcx, [rbp + 0xd0]
call fcn.140041730
lea rax, vtable.Concurrency::concurrent_queue_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____.0
mov qword [rbp + 0xd0], rax
mov edx, edi
lea rcx, [rbp + 0xf8]
call fcn.140041730
lea rax, vtable.Concurrency::concurrent_queue_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____.0
mov qword [rbp + 0xf8], rax
lea edx, [rdi - 0x1e]
lea rcx, [rbp + 0x120]
call fcn.14003c824
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
je 0x14001ee92
mov byte [rbp + 0x198], r14b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], r14
mov qword [rbp + 0x1c0], r14
lea ecx, [rdi - 0x10]
call fcn.1400b7b4c
mov qword [rax + 8], r14
mov qword [rbp + 0x1a0], rax
lea rcx, [rbp + 0x1a0]
mov qword [rax], rcx
lea rcx, [rbp + 0x1c8]
call fcn.1400064f0
mov word [rbp + 0x368], 0x101
mov qword [rbp + 0x370], r14
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
call fcn.14000d250
lea rcx, [rbp - 0x58]
call fcn.140014148
mov edi, eax
lea rcx, [rbp - 0x58]
call fcn.140013f5c
lea rdx, [rbx - 0x18]
mov ecx, r15d
lock xadd dword [rdx + 0x10], ecx
add ecx, r15d
test ecx, ecx
jg 0x14001ee2b
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rioctlsocket + 8]
lea rcx, [rbp - 0x78]
call fcn.1400253a8
mov eax, r15d
lock xadd dword [rsi + 8], eax
add eax, r15d
jne 0x14001ee64
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x14001ee57
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
jmp 0x14001ee64
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov eax, edi
mov rcx, qword [rbp + 0x378]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.1400020e0
int3
mov ecx, 0x80070057
call fcn.1400020e0
int3
mov ecx, 4
call fcn.140016620
nop
mov ecx, 0x80004005
call fcn.1400020e0
int3