Function at 0x409b80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x90]
call sub.ntoskrnl.exe_strlen
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], 0
jmp 0x409c17
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
jae 0x409c76
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
jne 0x409c67
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov dl, 0x3f
movzx ecx, byte [rax]
call fcn.0040ab50
movzx eax, al
test eax, eax
jne 0x409c74
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
jmp 0x409c0a
cmp qword [rsp + 0x60], 0
je 0x409fc9
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x409fc9
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.0040a880
mov qword [rsp + 0x30], 0
jmp 0x409cc9
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
jae 0x409d72
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
jne 0x409d1d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov dl, 0x3f
movzx ecx, byte [rax]
call fcn.0040ab50
movzx eax, al
test eax, eax
jne 0x409d6d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_strlen
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov r8d, 2
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
mov rcx, rax
call fcn.0040a4e0
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x409cbc
mov rax, qword [rsp + 0x60]
and rax, 1
test rax, rax
je 0x409d8e
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x409fbc
cmp qword [rsp + 0x98], 0
jne 0x409db2
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov qword [rsp + 0x40], rax
jmp 0x409fbc
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov qword [rsp + 0x40], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
cmp qword [rsp + 0xa0], rax
jb 0x409fb3
mov qword [rsp + 0x30], 0
jmp 0x409dfc
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x30], rax
jae 0x409fb1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov dl, 0x3f
movzx ecx, byte [rax]
call fcn.0040ab50
movzx eax, al
test eax, eax
jne 0x409e7a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov dl, 0x3f
movzx ecx, byte [rax + 1]
call fcn.0040ab50
movzx eax, al
test eax, eax
jne 0x409e7a
xor edx, edx
mov rax, qword [rsp + 0x30]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0x3f
mov rax, qword [rsp + 0xa8]
mov byte [rax], 1
jmp 0x409fac
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
je 0x409fa1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax + 1]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
je 0x409fa1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.0040a4e0
lea r8, [rsp + 0x58]
mov edx, 0x10
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlCharToInteger]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jl 0x409f0c
mov dword [rsp + 0x70], 1
jmp 0x409f3c
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
lea r9, [0x0040ca40]
mov r8d, 0x73
lea rdx, [0x0040ca30]
lea rcx, [0x0040bf10]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x70], 0
cmp dword [rsp + 0x70], 0
je 0x409f94
xor edx, edx
mov rax, qword [rsp + 0x30]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x58]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax]
test eax, eax
je 0x409f7b
mov dword [rsp + 0x74], 1
jmp 0x409f83
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 0x74]
mov byte [rax], cl
jmp 0x409f9f
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x409fb1
jmp 0x409fac
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x409fb1
jmp 0x409dee
jmp 0x409fbc
mov qword [rsp + 0x40], 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x40]
add rsp, 0x80
pop rdi
ret