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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x70
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18000c338], eax
je 0x180006b8a
mov eax, 0x10dd
add rsp, 0x70
pop rdi
ret
mov eax, dword [0x18000c33c]
test eax, eax
jne 0x180006ec9
mov qword [rsp + 0x58], r12
mov r12, qword [0x18000c228]
test r12, r12
jne 0x180006bd1
lea rcx, [0x18000c228]
lea eax, [r12 + 6]
mov r12, qword [rsp + 0x58]
mov qword [0x18000c340], rcx
mov dword [0x18000c33c], 6
add rsp, 0x70
pop rdi
ret
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], r13
lea rax, [0x180002050]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
mov rsi, rdi
mov r13, rdi
cmp rax, r12
jne 0x180006c15
cmp dword [0x18000c330], esi
jne 0x180006e93
jmp 0x180006e67
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
lea r8d, [rdx + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
jne 0x180006c3d
lea edi, [rax + 8]
jmp 0x180006e67
mov rcx, r12
call fcn.180006260
mov rsi, rax
test rax, rax
jne 0x180006c55
lea edi, [rax + 8]
jmp 0x180006e67
xor r8d, r8d
lea r15, [rax + 0x38]
lea edx, [r8 + 8]
mov rcx, r15
call fcn.1800049b0
mov r11, r12
mov r14, rsi
mov dword [rsp + 0x90], edi
lea rcx, [0x1800089c0]
nop dword [rax]
lea rax, [rsp + 0x98]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], edi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x98], edi
movzx eax, byte [r11]
mov r9, r11
mov r8, r14
shl rax, 4
mov rbp, r11
add rax, rcx
lea rcx, [rsp + 0x20]
mov rdx, rax
call qword [rax + 8]
inc r15
mov r11, rax
movsxd rax, dword [rsp + 0x98]
sub rax, rbp
mov ebx, r11d
add rax, r11
sub ebx, r12d
add r14, rax
movzx eax, bl
and al, 7
movzx ecx, r14b
sub cl, sil
shl cl, 3
xor cl, al
mov byte [r15 - 1], cl
mov ecx, dword [rsp + 0x90]
movzx eax, byte [rbp]
inc ecx
mov dword [rsp + 0x90], ecx
cmp al, 0xeb
je 0x180006d5c
cmp al, 0xe9
je 0x180006d5c
cmp al, 0xe0
je 0x180006d5c
cmp al, 0xc2
je 0x180006d5c
cmp al, 0xc3
je 0x180006d5c
cmp al, 0xcc
je 0x180006d5c
cmp al, 0xff
jne 0x180006d27
cmp byte [rbp + 1], 0x25
je 0x180006d5c
cmp al, 0x26
je 0x180006d3f
cmp al, 0x2e
je 0x180006d3f
cmp al, 0x36
je 0x180006d3f
cmp al, 0xe3
je 0x180006d3f
cmp al, 0x64
je 0x180006d3f
cmp al, 0x65
jne 0x180006d4b
cmp byte [rbp + 1], 0xff
jne 0x180006d4b
cmp byte [rbp + 2], 0x25
je 0x180006d5c
cmp ebx, 5
jae 0x180006d80
lea rcx, [0x1800089c0]
jmp 0x180006c80
cmp ebx, 5
jae 0x180006d80
cmp byte [r11], 0x90
jne 0x180006d77
inc r11
mov ebx, r11d
sub ebx, r12d
cmp ebx, 5
jb 0x180006d61
jmp 0x180006d80
cmp ebx, 5
jb 0x180006e59
cmp ecx, 8
ja 0x180006e59
lea rcx, [rsi + 0x20]
sub r14b, sil
mov r8d, ebx
mov rdx, r12
mov byte [rsi + 0x36], bl
mov byte [rsi + 0x1e], r14b
call fcn.1800048d0
cmp rbx, 0x19
jbe 0x180006db2
mov edi, 6
jmp 0x180006e67
movzx r8d, byte [rsi + 0x1e]
lea rax, [rbx + r12]
lea rdx, [rsi + 0x1e]
mov qword [rsi + 0x40], rax
add r8, rsi
lea rax, [0x180002050]
mov qword [rsi + 0x48], rax
lea rcx, [r8 + 6]
mov byte [r8], 0xff
mov eax, esi
mov byte [r8 + 1], 0x25
sub eax, ecx
lea rcx, [r8 + 6]
add eax, 0x40
mov dword [r8 + 2], eax
call fcn.180006040
lea r9, [rsp + 0xa0]
mov r8d, 0x40
mov rdx, rbx
mov rcx, r12
mov dword [rsp + 0xa0], edi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180006e21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x180006e67
lea rcx, [0x18000c228]
mov dword [r13 + 8], edi
mov qword [r13 + 0x20], rsi
mov qword [r13 + 0x10], rcx
mov qword [r13 + 0x18], r12
mov eax, dword [rsp + 0xa0]
mov dword [r13 + 0x28], eax
mov rax, qword [0x18000c350]
mov qword [0x18000c350], r13
mov qword [r13], rax
xor eax, eax
jmp 0x180006ea3
cmp dword [0x18000c330], 0
mov edi, 9
jne 0x180006e6d
mov dword [0x18000c33c], edi
test rsi, rsi
je 0x180006e7a
mov rcx, rsi
call fcn.180006470
test r13, r13
je 0x180006e93
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [0x18000c228]
mov eax, edi
mov qword [0x18000c340], rcx
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
add rsp, 0x70
pop rdi
ret