Function at 0x406620
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov byte [rsp + 0x68], 0
mov rcx, qword [rsp + 0xc0]
call sub.ntoskrnl.exe_MmIsAddressValid
movzx eax, al
test eax, eax
je 0x406b5a
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0xb0], rax
jb 0x4066de
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0xb0], rax
jae 0x4066de
jmp 0x406b5a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
cmp dword [rax + 0x84], 0x47ba
jl 0x40675a
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
movzx edx, byte [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.004063a0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x406755
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 0x40]
lea rcx, [0x0040f4b0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x406b5a
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xc0]
add rax, 0xfe0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
add rax, 0x178
cmp qword [rsp + 0x78], rax
jne 0x40679e
jmp 0x406b5a
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x190]
mov rax, qword [rax + 0x18]
xor rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x406844
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x188]
cmp qword [rax + 0x10], rcx
jne 0x40683f
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x180]
cmp qword [rax + 8], rcx
jne 0x40683f
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x178]
cmp qword [rax], rcx
jne 0x40683f
mov rax, qword [rsp + 0x70]
sub rax, 0x100
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x0040f480]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x406b5a
jmp 0x406b3d
mov dword [rsp + 0x90], 0
mov dl, 0xb
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xb0]
call qword [rax + 0x110]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
xor rax, rcx
mov rcx, qword [rsp + 0xb0]
cmp rax, qword [rcx + 0x188]
jne 0x406b3d
mov eax, 0xb
sub eax, dword [rsp + 0x90]
movzx edx, al
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xb0]
call qword [rax + 0x110]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rax + 8]
xor rax, rcx
mov rcx, qword [rsp + 0xb0]
cmp rax, qword [rcx + 0x180]
jne 0x406b3d
mov eax, 0xb
sub eax, dword [rsp + 0x90]
movzx edx, al
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xb0]
call qword [rax + 0x110]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rax]
xor rax, rcx
mov rcx, qword [rsp + 0xb0]
cmp rax, qword [rcx + 0x178]
jne 0x406b3d
mov rax, qword [rsp + 0x70]
sub rax, 0x100
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x178]
mov rax, qword [rax]
xor rax, rcx
mov qword [rsp + 0x50], rax
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x0040f4b0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x130]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x108]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
movzx edx, byte [rsp + 0xb8]
mov cl, 1
call fcn.00404350
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x406b3b
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
inc al
mov rcx, qword [rsp + 0xb0]
mov byte [rcx + 8], al
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 9]
test eax, eax
je 0x406ab2
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb0]
call fcn.00404ae0
jmp 0x406b3b
jmp 0x406ac4
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0xb
jae 0x406af7
mov eax, 0xb
sub eax, dword [rsp + 0x90]
movzx edx, al
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xb0]
call qword [rax + 0x118]
mov qword [rsp + 0x50], rax
jmp 0x406ab4
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x38], rcx
mov rdx, qword [rsp + 0x50]
lea rcx, [0x0040f460]
call sub.ntoskrnl.exe_DbgPrint
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb0]
call fcn.00404620
jmp 0x406b5a
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x70], rax
jb 0x40677a
add rsp, 0xa8
ret