Function at 0x140005470
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov byte [rsp + 8], cl
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x14001b050]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x38]
call fcn.140002200
call fcn.140002210
mov r8d, dword [0x1400245a0]
mov edx, eax
lea rcx, [0x1400152f0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x88]
mov edx, eax
lea rcx, [0x140015330]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
movzx edx, byte [rsp + 0x80]
mov r8d, dword [rcx + rax]
lea rcx, [0x140015370]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
cmp dword [rcx + rax], 0
jne 0x1400055fc
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x10
movzx ecx, byte [rsp + 0x80]
imul rcx, rcx, 0x18
lea rdx, [0x14001e420]
mov r8, qword [rsp + 0x3a]
movzx eax, word [r8 + rax + 2]
mov word [rdx + rcx + 8], ax
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x3a]
movzx eax, word [rcx + rax]
movzx ecx, byte [rsp + 0x80]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x3a]
movzx ecx, word [rdx + rcx + 6]
shl ecx, 0x10
add eax, ecx
movzx ecx, byte [rsp + 0x80]
imul rcx, rcx, 0x18
lea rdx, [0x14001e420]
cdqe
mov qword [rdx + rcx + 0x10], rax
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
movzx edx, byte [rsp + 0x80]
imul rdx, rdx, 0x10
mov r8, qword [rsp + 0x3a]
mov edx, dword [r8 + rdx + 8]
shl rdx, 0x20
mov rax, qword [rcx + rax + 0x10]
or rax, rdx
movzx ecx, byte [rsp + 0x80]
imul rcx, rcx, 0x18
lea rdx, [0x14001e420]
mov qword [rdx + rcx + 0x10], rax
cmp qword [rsp + 0x98], 0
je 0x14000564e
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
mov rdx, qword [rsp + 0x98]
movzx eax, word [rcx + rax + 8]
mov word [rdx + 8], ax
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
mov rdx, qword [rsp + 0x98]
mov rax, qword [rcx + rax + 0x10]
mov qword [rdx], rax
mov edx, dword [0x1400245a0]
lea rcx, [0x140015390]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [0x1400245a0], 0
je 0x14000573f
movzx eax, byte [rsp + 0x80]
cmp eax, 1
je 0x140005698
movzx eax, byte [rsp + 0x80]
cmp eax, 3
je 0x140005698
movzx eax, byte [rsp + 0x80]
cmp eax, 0xe
jne 0x14000573f
lea rcx, [0x1400153a0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x30], al
cmp byte [rsp + 0x30], 1
je 0x1400056c7
cmp byte [rsp + 0x30], 3
je 0x1400056e5
cmp byte [rsp + 0x30], 0xe
je 0x140005703
jmp 0x14000571f
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov ecx, 1
call fcn.1400117e0
jmp 0x14000571f
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov ecx, 1
call fcn.140011950
jmp 0x14000571f
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov ecx, 1
call fcn.1400118a0
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
mov dword [rcx + rax + 4], 1
jmp 0x140005841
movzx eax, byte [rsp + 0x80]
cmp eax, 0x20
jge 0x14000575f
lea rcx, [0x1400153b0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x140005860
mov edx, 0x10
lea rcx, [0x140015420]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x90]
shr rax, 0x10
mov word [rsp + 0x4e], ax
movzx eax, word [rsp + 0x90]
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x88]
mov word [rsp + 0x4a], ax
mov byte [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x3a]
movzx eax, byte [rcx + rax + 5]
mov byte [rsp + 0x4d], al
mov rax, qword [rsp + 0x90]
shr rax, 0x20
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
call fcn.140002280
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x3a]
lea rdx, [rsp + 0x48]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
call fcn.140002290
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
mov dword [rcx + rax + 4], 0
movzx eax, byte [rsp + 0x80]
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x88]
mov edx, eax
lea rcx, [0x140015440]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x80]
imul rax, rax, 0x18
lea rcx, [0x14001e420]
mov dword [rcx + rax], 1
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140014730
add rsp, 0x68
pop rdi
pop rsi
ret