Function at 0x140002164
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
lea rbp, [rcx + 0x378]
mov rsi, rcx
mov rcx, rbp
mov qword [rsp + 0x28], rbp
xor edx, edx
mov r8d, 0x118
call fcn.140009c00
mov r13, qword [rsi + 0xd8]
mov qword [rsp + 0x20], r13
test r13, r13
je 0x140002477
xor ecx, ecx
lea rbx, [r13 + 0x25]
mov dword [rsp + 0x88], ecx
cmp byte [r13 + 0x24], cl
jbe 0x140002477
lea r9d, [rcx + 2]
lea r10d, [rcx + 1]
mov al, byte [rbx + 4]
xor edi, edi
mov r8d, dword [rbx + 0x13]
mov dword [rsp + 0x98], r8d
cmp al, r9b
jne 0x1400021f2
lea rdi, [rsi + 0x420]
lea r15, [rbx + 0x11]
jmp 0x1400022a2
cmp al, 3
jne 0x140002455
mov edx, dword [rsi + 0x128]
mov eax, edx
neg eax
sbb cl, cl
and cl, 5
cmp edx, r9d
movzx eax, cl
mov dl, byte [rbx + 0x12]
sete cl
cmove eax, r10d
add cl, r10b
cmp dl, al
jne 0x14000227c
lea r15, [rbx + 0x11]
cmp byte [r15], dil
jne 0x14000222e
mov rdi, rbp
jmp 0x14000229b
cmp r8d, r9d
jb 0x140002445
mov al, byte [rbx + 0x18]
cmp al, 3
jne 0x14000226a
mov al, byte [rsi + 0x382]
cmp byte [rbx + 0x17], al
jne 0x140002252
lea rdi, [rsi + 0x3b0]
jmp 0x14000229b
lea rcx, [0x14000a100]
call sub.ntoskrnl.exe_DbgPrint
mov r9d, 2
lea r10d, [r9 - 1]
jmp 0x14000229b
cmp al, r10b
jne 0x140002445
lea rdi, [rsi + 0x420]
jmp 0x14000229b
cmp dl, cl
jne 0x140002445
lea r15, [rbx + 0x11]
cmp byte [r15], dil
lea rdi, [rsi + 0x3e8]
je 0x14000229b
lea rdi, [rsi + 0x458]
mov ecx, dword [rsp + 0x88]
test rdi, rdi
je 0x140002455
mov r12d, dword [rbx + 0x13]
and dword [rsp + 0x90], 0
lea rbp, [r12 + 0x18]
add rbp, rbx
cmp byte [r12 + rbx + 0x17], 0
jbe 0x14000244e
mov esi, dword [rsp + 0x98]
mov al, byte [rbx + 4]
cmp al, 3
jne 0x1400023f9
cmp byte [r15], r10b
jne 0x1400023fe
cmp esi, r9d
jb 0x1400023fe
mov al, byte [rbx + 0x18]
sub al, r10b
test al, 0xfd
jne 0x1400023fe
lea r14, [rbp + 2]
mov ecx, 0xfffd
movzx eax, word [r14]
sub ax, r9w
test cx, ax
jne 0x1400023fe
xor eax, eax
lea rcx, [rdi + 8]
mov dword [rcx], eax
mov word [rcx + 4], ax
mov byte [rcx + 6], al
mov eax, dword [rbx + 0x13]
mov r8d, eax
cmp eax, 7
jb 0x140002337
mov r8d, 7
lea rdx, [rbx + 0x17]
call fcn.140009e00
movzx eax, byte [rbx + 4]
mov r10d, 1
mov dword [rdi], eax
movzx eax, byte [rbx + 0x10]
mov dword [rdi + 4], eax
mov al, byte [r15]
mov byte [rdi + 0xf], al
mov al, byte [rbx + 0x12]
mov byte [rdi + 0x10], al
mov dword [rdi + 0x14], r10d
movzx ecx, word [r14]
mov word [rdi + 0x18], cx
mov eax, dword [rbp + 4]
mov dword [rdi + 0x1c], eax
movzx eax, word [rbp + 0xe]
mov word [rdi + 0x20], ax
lea rax, [rbp + 0x2c]
movzx edx, word [rbp + 0x12]
and dword [rdi + 0x24], 0
mov word [rdi + 0x22], dx
mov qword [rdi + 0x28], rax
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x30], eax
cmp byte [r15], r10b
jne 0x1400023a9
cmp esi, 2
jb 0x1400023a9
cmp byte [rbx + 0x18], 3
jne 0x1400023a9
cmp cx, 4
je 0x1400023de
cmp dx, 0x10
je 0x1400023de
mov eax, dword [rbp + 0x28]
mov r9d, 2
mov ecx, dword [rsp + 0x90]
add rbp, 0x2c
add rbp, rax
add ecx, r10d
movzx eax, byte [r12 + rbx + 0x17]
mov dword [rsp + 0x90], ecx
cmp ecx, eax
jl 0x1400022d2
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x88]
mov rbp, qword [rsp + 0x28]
jmp 0x140002455
cmp al, r9b
je 0x140002420
lea r14, [rbp + 2]
cmp word [r14], r9w
je 0x140002317
lea rcx, [0x14000a130]
call sub.ntoskrnl.exe_DbgPrint
mov r10d, 1
jmp 0x1400023af
lea r14, [rbp + 2]
movzx eax, word [r14]
cmp ax, r9w
je 0x140002317
cmp ax, 4
je 0x140002317
lea rcx, [0x14000a160]
jmp 0x140002413
mov ecx, dword [rsp + 0x88]
jmp 0x140002455
lea rbp, [rsi + 0x378]
mov eax, dword [rbx]
add ecx, r10d
add rbx, rax
mov dword [rsp + 0x88], ecx
movzx eax, byte [r13 + 0x24]
mov r9d, 2
cmp ecx, eax
jl 0x1400021cc
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret