Function at 0x40c150
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 0x40c1e7
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
jae 0x40c246
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
jne 0x40c237
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.0040d590
movzx eax, al
test eax, eax
jne 0x40c244
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
jmp 0x40c1da
cmp qword [rsp + 0x60], 0
je 0x40c596
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntoskrnl.exe_ExAllocatePool
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x40c596
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.0040d220
mov qword [rsp + 0x30], 0
jmp 0x40c298
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
jae 0x40c341
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
jne 0x40c2ec
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.0040d590
movzx eax, al
test eax, eax
jne 0x40c33c
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.0040ceb0
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x40c28b
mov rax, qword [rsp + 0x60]
and rax, 1
test rax, rax
je 0x40c35d
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x40c58a
cmp qword [rsp + 0x98], 0
jne 0x40c381
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov qword [rsp + 0x40], rax
jmp 0x40c58a
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 0x40c581
mov qword [rsp + 0x30], 0
jmp 0x40c3cb
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x30], rax
jae 0x40c57f
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.0040d590
movzx eax, al
test eax, eax
jne 0x40c449
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.0040d590
movzx eax, al
test eax, eax
jne 0x40c449
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 0x40c57a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
je 0x40c56f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 1]
mov ecx, eax
call sub.ntoskrnl.exe_isxdigit
test eax, eax
je 0x40c56f
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.0040ceb0
lea r8, [rsp + 0x58]
mov edx, 0x10
lea rcx, [rsp + 0x48]
call sub.ntoskrnl.exe_RtlCharToInteger
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jl 0x40c4da
mov dword [rsp + 0x70], 1
jmp 0x40c50a
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
lea r9, [0x0040fee0]
mov r8d, 0x6a
lea rdx, [0x0040fed0]
lea rcx, [0x0040fe80]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x70], 0
cmp dword [rsp + 0x70], 0
je 0x40c562
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 0x40c549
mov dword [rsp + 0x74], 1
jmp 0x40c551
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 0x74]
mov byte [rax], cl
jmp 0x40c56d
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x40c57f
jmp 0x40c57a
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x40c57f
jmp 0x40c3bd
jmp 0x40c58a
mov qword [rsp + 0x40], 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_ExFreePoolWithTag
mov rax, qword [rsp + 0x40]
add rsp, 0x80
pop rdi
ret