Function at 0x14003b2c4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r12, rdx
mov rdi, rcx
lea r15, [rcx + 0x40]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov qword [rsp + 0xa0], r15
xor r13b, r13b
mov bpl, 1
xor r14d, r14d
lock inc dword [rdi + 0x30]
lea rsi, [rdi + 0x38]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov rbx, qword [rsp + 0x90]
mov rax, rbx
sub rax, qword [rdi + 0x58]
imul rax, rax, 0x3e8
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400e6418]
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
comiss xmm1, dword [0x1400ba70c]
seta al
xor r11d, r11d
test al, al
je 0x14003b377
mov rcx, rdi
call fcn.14003b768
mov qword [rdi + 0x58], rbx
xor r11d, r11d
mov r9, qword [rdi + 0x20]
mov eax, dword [r9]
lea ecx, [rax*2 - 2]
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [r9], ecx
lea rbx, [rdi + 0x48]
mov r8, qword [rbx]
mov rcx, qword [r8]
cmp rcx, r8
je 0x14003b436
mov r10, qword [rcx + 0x40]
mov edx, dword [r10]
mov eax, edx
shr eax, 1
xor eax, dword [r9]
test al, 1
je 0x14003b3b6
int 0x2c
mov eax, edx
lock cmpxchg dword [r10], edx
cmp edx, eax
jne 0x14003b3a6
mov eax, dword [r9]
shr eax, 1
xor eax, edx
test al, 1
jne 0x14003b3da
test edx, 0xfffffffc
movzx ebp, bpl
cmova ebp, r11d
cmp byte [rcx + 0x19], r11b
jne 0x14003b423
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], r11b
jne 0x14003b407
mov rcx, rax
mov rdx, qword [rax]
cmp byte [rdx + 0x19], r11b
jne 0x14003b423
mov rcx, rdx
mov rax, qword [rdx]
mov rdx, rax
cmp byte [rax + 0x19], r11b
je 0x14003b3f6
jmp 0x14003b423
mov rax, qword [rcx + 8]
jmp 0x14003b41a
cmp rcx, qword [rax + 0x10]
jne 0x14003b420
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r11b
je 0x14003b40d
mov rcx, rax
cmp rcx, r8
jne 0x14003b3a2
test bpl, bpl
jne 0x14003b436
inc dword [rdi + 0x64]
jmp 0x14003b461
mov eax, dword [r9]
shr rax, 1
and eax, 1
imul rdx, rax, 0x100028
mov rcx, qword [rdi + 0x20]
lea r14, [rcx + 0x10]
add r14, rdx
mov eax, dword [rdi + 0x30]
mov dword [rdx + rcx + 8], eax
lock or dword [rsp], r11d
or dword [r9], 4
test rsi, rsi
je 0x14003b46f
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
test bpl, bpl
je 0x14003b5d1
call fcn.14001bc90
mov rcx, qword [rax + 8]
xor ebp, ebp
test rcx, rcx
je 0x14003b496
cmp dword [rcx], ebp
jbe 0x14003b496
call fcn.14001bc90
call fcn.14003c6b8
mov rax, qword [r12 + 8]
mov rcx, qword [rax + 0x98]
mov rax, qword [rcx]
mov r8d, 0x100000
mov rdx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x14009c17e.0]
mov rcx, qword [r12]
mov dword [rcx], eax
mov rcx, qword [r12 + 0x10]
mov eax, dword [r14 + 8]
mov dword [rcx], eax
mov rcx, qword [r12 + 8]
mov rcx, qword [rcx + 0x90]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
mov rcx, qword [rsp + 0x88]
test eax, eax
je 0x14003b73c
call fcn.14001bc90
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003b507
cmp dword [rcx], ebp
jbe 0x14003b507
call fcn.14001bc90
call fcn.14003c634
mov r13b, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov r11, qword [rdi + 0x20]
mov ecx, dword [r11]
and ecx, 0xfffffffb
mov dword [r11], ecx
shr rcx, 1
and ecx, 1
imul rdx, rcx, 0x100028
mov rcx, qword [rdi + 0x20]
mov eax, dword [rdi + 0x30]
mov dword [rdx + rcx + 0xc], eax
mov eax, dword [r11]
shr eax, 1
xor eax, dword [r11]
and eax, 1
xor dword [r11], eax
mov dword [rdi + 0x64], ebp
mov r9, qword [rbx]
mov r8, qword [r9]
jmp 0x14003b5bc
mov r10, qword [r8 + 0x40]
prefetchw byte [r10]
mov edx, dword [r10]
mov ecx, dword [r11]
add ecx, ecx
xor ecx, edx
and ecx, 2
xor ecx, edx
mov eax, edx
lock cmpxchg dword [r10], ecx
cmp edx, eax
jne 0x14003b559
cmp byte [r8 + 0x19], bpl
jne 0x14003b5bc
mov rax, qword [r8 + 0x10]
cmp byte [rax + 0x19], bpl
jne 0x14003b5a0
mov r8, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], bpl
jne 0x14003b5bc
mov r8, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], bpl
je 0x14003b58f
jmp 0x14003b5bc
mov rax, qword [r8 + 8]
jmp 0x14003b5b3
cmp r8, qword [rax + 0x10]
jne 0x14003b5b9
mov r8, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], bpl
je 0x14003b5a6
mov r8, rax
cmp r8, r9
jne 0x14003b551
test rsi, rsi
je 0x14003b5d3
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
jmp 0x14003b5d3
xor ebp, ebp
mov eax, dword [rdi + 0x60]
test eax, eax
je 0x14003b713
cmp dword [rdi + 0x64], eax
jl 0x14003b713
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov rcx, rbx
call fcn.140025644
mov edx, 0x200058
lea rcx, [rsp + 0x28]
call fcn.140068df0
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov rax, qword [rdi + 0x20]
mov edx, 0x4000
mov r8d, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x14003b61e
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14003b6b1
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x14003b74e
mov qword [rdi + 0x18], rbp
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x18], rax
mov qword [rsp + 0x38], rbp
mov qword [rdi + 0x20], rbx
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0x28], eax
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], 0x8000ffff
mov dword [rdi + 0x64], ebp
lea rcx, [rsp + 0x28]
call fcn.140068cec
test rsi, rsi
je 0x14003b6f2
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
jne 0x14003b705
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14009c17e.0]
nop
test r15, r15
je 0x14003b721
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov al, r13b
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400ae740]
mov edx, 0x874
call fcn.140003790
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000b984
int3