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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
lea r14, [rcx + 8]
mov r8, r14
mov edx, dword [rcx]
mov ecx, dword [rcx + 4]
call fcn.14016bfd0
test eax, eax
jne 0x1400053c1
mov dword [rbp + 0x27], eax
lea rcx, [rbp - 0x39]
call fcn.1400020f0
mov r13, qword [rsi + 0x18]
mov r15, qword [rsi + 0x20]
mov qword [rbp - 0x39], r15
cmp r13, r15
je 0x140005378
nop
mov rdi, qword [r13]
mov qword [rbp - 0x11], rdi
mov ebx, dword [rdi + 0xc]
add rbx, qword [rsi + 0x10]
mov qword [rbp - 0x19], rbx
mov edx, dword [rdi + 0x10]
lea r9, [rbp + 0x27]
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140005374
mov r8d, dword [rdi + 0x10]
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r9, rbx
mov rdx, rbx
mov rcx, qword [r14]
call fcn.14016c780
mov r12, rax
xor r14d, r14d
test rax, rax
je 0x140005335
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rbp + 0x1f]
mov ecx, dword [rbx + r15]
sub ecx, 0xde
cmp ecx, 1
ja 0x140005316
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov qword [rbp + 0x17], 0
mov rbx, qword [rbx + r15 + 8]
mov qword [rbp - 9], rbx
mov dword [rbp + 3], r14d
xor ecx, ecx
mov dword [rbp - 1], ecx
mov dil, 1
mov rdx, qword [rbp + 0xf]
movzx eax, byte [rbx]
cmp al, 0xcc
je 0x140005277
cmp al, 0xf1
je 0x140005277
xor dil, dil
jmp 0x1400052ab
mov qword [rbp - 0x31], rbx
cmp rdx, qword [rbp + 0x17]
je 0x140005292
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rdx], xmm0
add rdx, 0x10
mov qword [rbp + 0xf], rdx
jmp 0x1400052a6
lea r8, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.140024480
mov rdx, qword [rbp + 0xf]
mov ecx, dword [rbp - 1]
inc ecx
mov dword [rbp - 1], ecx
inc rbx
test dil, dil
jne 0x140005267
cmp ecx, 1
jbe 0x1400052dc
lea rcx, [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
lea r8, [rbp - 9]
cmp rdx, qword [rsi + 0x58]
je 0x1400052d6
call fcn.1400283a0
add qword [rsi + 0x50], 0x28
jmp 0x1400052dc
call fcn.1400240d0
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140005316
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005311
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000536d
call fcn.1400e9f30
inc r14
add r15, 0xf0
cmp r14, r12
jb 0x140005220
mov rbx, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x11]
mov r15, qword [rbp - 0x39]
mov rdx, r12
mov rcx, qword [rbp + 0x1f]
call fcn.14016cf40
mov edx, dword [rdi + 0x10]
lea r9, [rbp + 0x27]
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400053a7
add r13, 0x20
cmp r13, r15
je 0x140005378
lea r14, [rsi + 8]
jmp 0x1400051b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
jmp 0x14000537a
mov al, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e9c90
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 - 0x31]
call fcn.1400021d0
lea rdx, [0x14054ff78]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x31]
call fcn.1400021d0
lea rdx, [0x14054ff78]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3