Function at 0x14000b300
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
call fcn.14000b180
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000b32c
xor eax, eax
jmp 0x14000b6f6
cmp qword [rsp + 0x90], 0
jne 0x14000b33e
xor eax, eax
jmp 0x14000b6f6
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
jae 0x14000b6d9
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
ja 0x14000b6d9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
movabs rax, 0xffffffffffff
mov rcx, qword [rsp + 0x20]
and rcx, rax
mov rax, rcx
shr rax, 0xc
movsxd rcx, dword [0x140024ff8]
imul rax, rcx
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xffffffffffff
mov rcx, qword [rsp + 0x48]
and rcx, rax
mov rax, rcx
shr rax, 0xc
movsxd rcx, dword [0x140024ff8]
imul rax, rcx
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
movabs rax, 0xffffffffffff
mov rcx, qword [rsp + 0x38]
and rcx, rax
mov rax, rcx
shr rax, 0xc
movsxd rcx, dword [0x140024ff8]
imul rax, rcx
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
movabs rax, 0xffffffffffff
mov rcx, qword [rsp + 0x28]
and rcx, rax
mov rax, rcx
shr rax, 0xc
movsxd rcx, dword [0x140024ff8]
imul rax, rcx
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmp dword [0x140024ff8], 8
jne 0x14000b47d
movabs rax, 0xffffffffffff
mov rcx, qword [rsp + 0x38]
and rcx, rax
mov rax, rcx
shr rax, 0xc
movsxd rcx, dword [0x140024ff8]
imul rax, rcx
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
jmp 0x14000b486
mov qword [rsp + 0x28], 0
movabs rax, 0xffffffffffff
mov rcx, qword [rsp + 0x28]
and rcx, rax
mov rax, rcx
shr rax, 0xc
movsxd rcx, dword [0x140024ff8]
imul rax, rcx
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000b503
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000b503
movabs rax, 0xffffff8000000000
mov rcx, qword [rsp + 0x20]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x8000000000
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14000b35f
cmp qword [rsp + 0x28], 0
je 0x14000b53e
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000b53e
mov rax, qword [rsp + 0x20]
and rax, 0xffffffffc0000000
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rax, 0x40000000
mov qword [rsp + 0x20], rax
jmp 0x14000b35f
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
shr eax, 7
and eax, 1
test eax, eax
je 0x14000b5a5
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140016640]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x20]
add rax, 0x3fffffff
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x58], rcx
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x58]
call qword [0x1400193c8]
mov rax, qword [rsp + 0x20]
add rax, 0x40000000
mov qword [rsp + 0x20], rax
jmp 0x14000b35f
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000b5fe
cmp qword [0x140024ff0], 0x200000
jne 0x14000b5d2
mov rax, qword [rsp + 0x20]
and rax, 0xffffffffffe00000
mov qword [rsp + 0x20], rax
jmp 0x14000b5e2
mov rax, qword [rsp + 0x20]
and rax, 0xffffffffffc00000
mov qword [rsp + 0x20], rax
mov rax, qword [0x140024ff0]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14000b35f
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
shr eax, 7
and eax, 1
test eax, eax
je 0x14000b661
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x140024ff0]
lea rax, [rax + rcx - 1]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x60], rcx
mov r8, qword [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x60]
call qword [0x1400193c8]
mov rax, qword [0x140024ff0]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14000b35f
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000b694
mov rax, qword [rsp + 0x20]
and rax, 0xfffffffffffff000
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rax, 0x1000
mov qword [rsp + 0x20], rax
jmp 0x14000b35f
mov rax, qword [rsp + 0x20]
add rax, 0xfff
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x68], rcx
mov r8, qword [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x68]
call qword [0x1400193c8]
mov rax, qword [rsp + 0x20]
add rax, 0x1000
mov qword [rsp + 0x20], rax
jmp 0x14000b35f
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x14000b6f1
mov eax, 1
add rsp, 0x78
ret