Function at 0x180001ca8
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe0
mov rax, qword [0x18003f3c0]
xor rax, rsp
mov qword [rbp + 0xf], rax
xor edi, edi
mov qword [rsp + 0x28], rcx
mov rbx, rdx
mov rsi, rcx
mov r15d, edi
test rdx, rdx
jne 0x180001cef
lea eax, [rdx + 0x57]
jmp 0x180002261
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180043f2c], eax
je 0x180001d07
mov eax, 0x10dd
jmp 0x180002261
mov eax, dword [0x180043f28]
test eax, eax
jne 0x180002261
test rsi, rsi
jne 0x180001d24
mov eax, 6
jmp 0x180002261
mov rcx, qword [rsi]
test rcx, rcx
jne 0x180001d3f
mov dword [0x180043f28], 6
mov qword [0x180043f38], rsi
jmp 0x180001d1a
mov rsi, rdi
mov r14, rdi
call fcn.18000169c
mov rcx, rbx
mov r13, rax
call fcn.18000169c
mov qword [rsp + 0x30], rax
cmp rax, r13
jne 0x180001d74
xor r8d, r8d
cmp dword [0x180040570], r8d
jne 0x180002252
jmp 0x180002210
mov ecx, 0x30
call fcn.180031d00
mov rcx, r13
mov qword [rsp + 0x38], rax
mov r14, rax
call fcn.180001558
xor r8d, r8d
mov rsi, rax
lea r15d, [r8 + 8]
test rax, rax
je 0x180002210
xor eax, eax
mov dword [rsp + 0x20], r8d
mov qword [rsi + 0x40], rax
mov rbx, r13
mov r14, rsi
xor edx, edx
lea rcx, [rbp - 0x71]
mov r8d, 0x80
mov rdi, rbx
call sub.VCRUNTIME140.dll_memset
and qword [rbp - 0x39], 0
lea rax, [rbp - 0x39]
and dword [rsp + 0x40], 0
lea r8, [rbp - 0x31]
test r14, r14
mov qword [rbp - 0x51], rax
lea rax, [rsp + 0x40]
cmovne r8, r14
mov qword [rbp - 0x49], rax
test rbx, rbx
jne 0x180001e02
lea ecx, [rbx + 0xd]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r8d, r8d
mov ebx, r8d
jmp 0x180001e26
movzx edx, byte [rbx]
lea rax, [0x180049350]
shl rdx, 4
lea rcx, [rbp - 0x71]
add rdx, rax
mov r9, rbx
mov rax, qword [rdx + 8]
call rax
mov rbx, rax
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov r12d, ebx
movsxd rax, dword [rsp + 0x40]
sub r12d, r13d
sub rax, rdi
add rax, rbx
add r14, rax
mov al, r14b
sub al, sil
shl al, 3
mov cl, al
xor cl, r12b
and cl, 7
xor cl, al
mov byte [rdx + rsi + 0x40], cl
inc edx
mov dword [rsp + 0x20], edx
cmp edx, r15d
jae 0x180001ec0
cmp byte [rdi], 0xeb
je 0x180001ec0
mov al, byte [rdi]
add al, 0x3e
cmp al, 0x27
ja 0x180001e7d
movabs rcx, 0x8040000403
bt rcx, rax
jb 0x180001ec0
cmp byte [rdi], 0xf3
jne 0x180001f08
cmp byte [rdi + 1], 0xc3
je 0x180001ec0
cmp byte [rdi], 0x26
je 0x180001eaa
cmp byte [rdi], 0x2e
je 0x180001eaa
cmp byte [rdi], 0x36
je 0x180001eaa
cmp byte [rdi], 0x3e
je 0x180001eaa
cmp byte [rdi], 0x64
je 0x180001eaa
cmp byte [rdi], 0x65
jne 0x180001eb6
cmp byte [rdi + 1], 0xff
jne 0x180001eb6
cmp byte [rdi + 2], 0x25
je 0x180001ec0
cmp r12d, 5
jb 0x180001db2
mov qword [rsp + 0x20], r14
mov r11d, 9
mov r14, qword [rsp + 0x38]
cmp r12d, 5
jae 0x18000211c
mov dil, 0x66
mov r9b, 0xf
mov cl, 0x1f
mov r10b, 0x84
mov al, byte [rbx]
cmp al, 0x90
je 0x1800020f8
cmp al, dil
jne 0x180002054
cmp byte [rbx + 1], 0x90
jne 0x180001f17
mov eax, 2
jmp 0x1800020fd
cmp byte [rdi], 0xff
jne 0x180001e8c
cmp byte [rdi + 1], 0x25
jmp 0x180001eb4
cmp byte [rbx + 1], r9b
jne 0x180001f3e
cmp byte [rbx + 2], cl
jne 0x180001f3e
cmp byte [rbx + 3], 0x44
jne 0x180001f3e
cmp byte [rbx + 4], r8b
jne 0x180001f3e
cmp byte [rbx + 5], r8b
jne 0x180001f3e
mov eax, 6
jmp 0x1800020fd
mov al, byte [rbx + 1]
cmp al, r9b
jne 0x180001f93
cmp byte [rbx + 2], cl
jne 0x180002112
cmp byte [rbx + 3], r10b
jne 0x180002112
cmp byte [rbx + 4], r8b
jne 0x180002112
cmp byte [rbx + 5], r8b
jne 0x180002112
cmp byte [rbx + 6], r8b
jne 0x180002112
cmp byte [rbx + 7], r8b
jne 0x180002112
cmp byte [rbx + 8], r8b
jne 0x180002112
mov eax, r11d
jmp 0x1800020fd
cmp al, dil
jne 0x180002112
cmp byte [rbx + 2], r9b
jne 0x180001ff1
cmp byte [rbx + 3], cl
jne 0x180002112
cmp byte [rbx + 4], r10b
jne 0x180002112
cmp byte [rbx + 5], r8b
jne 0x180002112
cmp byte [rbx + 6], r8b
jne 0x180002112
cmp byte [rbx + 7], r8b
jne 0x180002112
cmp byte [rbx + 8], r8b
jne 0x180002112
cmp byte [rbx + 9], r8b
jne 0x180002112
mov eax, 0xa
jmp 0x1800020fd
cmp byte [rbx + 2], dil
jne 0x180002112
cmp byte [rbx + 3], r9b
jne 0x180002112
cmp byte [rbx + 4], cl
jne 0x180002112
cmp byte [rbx + 5], r10b
jne 0x180002112
cmp byte [rbx + 6], r8b
jne 0x180002112
cmp byte [rbx + 7], r8b
jne 0x180002112
cmp byte [rbx + 8], r8b
jne 0x180002112
cmp byte [rbx + 9], r8b
jne 0x180002112
cmp byte [rbx + 0xa], r8b
jne 0x180002112
mov eax, 0xb
jmp 0x1800020fd
cmp al, r9b
jne 0x1800020f4
cmp byte [rbx + 1], cl
jne 0x180002112
cmp byte [rbx + 2], r8b
jne 0x180002076
mov eax, 3
jmp 0x1800020fd
cmp byte [rbx + 2], 0x40
jne 0x18000208d
cmp byte [rbx + 3], r8b
jne 0x180002112
mov eax, 4
jmp 0x1800020fd
cmp byte [rbx + 2], 0x44
jne 0x1800020a6
cmp byte [rbx + 3], r8b
jne 0x180002112
cmp byte [rbx + 4], r8b
jne 0x180002112
mov eax, 5
jmp 0x1800020fd
cmp byte [rbx + 2], 0x80
jne 0x1800020cb
cmp byte [rbx + 3], r8b
jne 0x180002112
cmp byte [rbx + 4], r8b
jne 0x180002112
cmp byte [rbx + 5], r8b
jne 0x180002112
cmp byte [rbx + 6], r8b
jne 0x180002112
mov eax, 7
jmp 0x1800020fd
cmp byte [rbx + 2], r10b
jne 0x180002112
cmp byte [rbx + 3], r8b
jne 0x180002112
cmp byte [rbx + 4], r8b
jne 0x180002112
cmp byte [rbx + 5], r8b
jne 0x180002112
cmp byte [rbx + 6], r8b
jne 0x180002112
cmp byte [rbx + 7], r8b
jne 0x180002112
mov eax, r15d
jmp 0x1800020fd
cmp al, 0xcc
jne 0x180002112
mov eax, 1
cdqe
add rbx, rax
mov r12d, ebx
sub r12d, r13d
cmp r12d, 5
jb 0x180001ee5
cmp r12d, 5
jb 0x180002204
cmp edx, r15d
ja 0x180002204
mov rax, qword [rsp + 0x20]
lea rdi, [rsi + 0x1e]
cmp rax, rdi
jbe 0x180002134
int3
sub al, sil
mov r8d, r12d
lea rcx, [rsi + 0x20]
mov byte [rsi + 0x1e], al
mov rdx, r13
mov byte [rsi + 0x3e], r12b
call sub.VCRUNTIME140.dll_memcpy
cmp r12d, 0x19
jbe 0x18000215e
mov r15d, 6
jmp 0x180002210
movzx edx, byte [rsi + 0x1e]
lea rax, [r12 + r13]
add rdx, rsi
mov qword [rsi + 0x48], rax
mov rax, qword [rsp + 0x30]
mov r8, rdi
mov qword [rsi + 0x50], rax
mov ebx, 0
mov eax, esi
lea rcx, [rdx + 6]
mov word [rdx], 0x25ff
sub eax, ecx
lea rcx, [rdx + 6]
sub r8, rcx
add eax, 0x48
cmp rcx, rdi
mov dword [rdx + 2], eax
cmova r8, rbx
test r8, r8
je 0x1800021ab
mov dl, 0xcc
call sub.VCRUNTIME140.dll_memset
mov edx, r12d
lea r9, [rbp - 0x7d]
mov r8d, 0x40
mov dword [rbp - 0x7d], ebx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800021d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
jmp 0x180002210
mov rax, qword [rsp + 0x28]
mov qword [r14 + 0x10], rax
mov dword [r14 + 8], ebx
mov qword [r14 + 0x20], rsi
mov qword [r14 + 0x18], r13
mov eax, dword [rbp - 0x7d]
mov dword [r14 + 0x28], eax
mov rax, qword [0x180043f50]
mov qword [r14], rax
xor eax, eax
mov qword [0x180043f50], r14
jmp 0x180002261
cmp dword [0x180040570], r8d
mov r15d, r11d
jne 0x18000221c
mov dword [0x180043f28], r15d
test rsi, rsi
je 0x180002240
xor edx, edx
mov rbx, rsi
and rbx, 0xffffffffffff0000
mov rcx, rsi
lea r8d, [rdx + 0x60]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 0x10]
mov qword [rsi + 0x48], rax
mov qword [rbx + 0x10], rsi
test r14, r14
je 0x180002252
mov edx, 0x30
mov rcx, r14
call fcn.180031d3c
mov rax, qword [rsp + 0x28]
mov qword [0x180043f38], rax
mov eax, r15d
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.180031ce0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret