Function at 0x14005c844
Capabilities:
Allocate or change rwx memory
Check for software breakpoints

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rbx, rcx
lea r12, [rcx + 8]
mov r8, r12
mov edx, dword [rcx]
mov ecx, dword [rcx + 4]
call fcn.1400d55e0
test eax, eax
jne 0x14005ca8a
and dword [rbp - 0x39], eax
call sub.MSVCP140.dll__Query_perf_frequency
call sub.MSVCP140.dll__Query_perf_counter
mov rdi, qword [rbx + 0x18]
mov rsi, qword [rbx + 0x20]
mov qword [rbp + 0x27], rsi
cmp rdi, rsi
je 0x14005ca4d
mov r14, qword [rdi]
mov qword [rbp - 0x31], r14
mov r15d, dword [r14 + 0xc]
add r15, qword [rbx + 0x10]
mov edx, dword [r14 + 0x10]
lea r9, [rbp - 0x39]
mov r8d, 0x40
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14005ca49
mov r8d, dword [r14 + 0x10]
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r9, r15
mov rdx, r15
mov rcx, qword [r12]
call fcn.1400d5d90
mov qword [rbp - 1], rax
xor r12d, r12d
test rax, rax
je 0x14005ca09
xor r14d, r14d
mov rsi, qword [rbp + 7]
mov ecx, dword [r14 + rsi]
sub ecx, 0xde
cmp ecx, 1
ja 0x14005c9ee
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
xor edx, edx
mov qword [rbp - 9], rdx
mov rsi, qword [r14 + rsi + 8]
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x1d], r12d
xor ecx, ecx
mov dword [rbp - 0x21], ecx
mov r13b, 1
mov rax, qword [rbp - 0x11]
cmp byte [rsi], 0xcc
je 0x14005c95b
cmp byte [rsi], 0xf1
je 0x14005c95b
xor r13b, r13b
jmp 0x14005c996
mov qword [rbp + 0xf], rsi
cmp rax, rdx
je 0x14005c976
movups xmm0, xmmword [rbp + 0xf]
movdqu xmmword [rax], xmm0
add rax, 0x10
mov qword [rbp - 0x11], rax
jmp 0x14005c991
lea r8, [rbp + 0xf]
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14001d258
mov rdx, qword [rbp - 9]
mov rax, qword [rbp - 0x11]
mov ecx, dword [rbp - 0x21]
inc ecx
mov dword [rbp - 0x21], ecx
inc rsi
test r13b, r13b
jne 0x14005c94c
cmp ecx, 1
jbe 0x14005c9b4
lea rcx, [rbx + 0x48]
lea rdx, [rbp - 0x29]
call fcn.14001c2d0
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14005c9ea
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c9e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ca42
call fcn.140213ea4
mov rax, qword [rbp - 1]
inc r12
add r14, 0xf0
cmp r12, rax
jb 0x14005c907
mov rsi, qword [rbp + 0x27]
mov r14, qword [rbp - 0x31]
mov rdx, rax
mov rcx, qword [rbp + 7]
call fcn.1400d6550
mov edx, dword [r14 + 0x10]
lea r9, [rbp - 0x39]
mov r8d, 0x20
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14005ca70
add rdi, 0x20
cmp rdi, rsi
je 0x14005ca4d
lea r12, [rbx + 8]
jmp 0x14005c8a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
jmp 0x14005ca4f
mov al, 1
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp + 0xf]
call fcn.14002cc20
lea rdx, [0x14047ee10]
lea rcx, [rbp + 0xf]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp + 0xf]
call fcn.14002cc20
lea rdx, [0x14047ee10]
lea rcx, [rbp + 0xf]
call sub.VCRUNTIME140.dll__CxxThrowException
int3