Function at 0x407f90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov word [rsp + 0x60], 0
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
mov word [rsp + 0x40], 0
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
mov edx, 0x2e
mov rcx, qword [rsp + 0xb0]
call sub.ntoskrnl.exe_strchr
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x408322
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x408322
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
call fcn.0040a4e0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x4080ce
mov dword [rsp + 0x88], 1
jmp 0x408101
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea r9, [0x0040c880]
mov r8d, 0x356
lea rdx, [0x0040c870]
lea rcx, [0x0040bf10]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x88], 0
cmp dword [rsp + 0x88], 0
je 0x408315
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.00407c50
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x408136
mov dword [rsp + 0x8c], 1
jmp 0x408169
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea r9, [0x0040c880]
mov r8d, 0x35b
lea rdx, [0x0040c870]
lea rcx, [0x0040bf10]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x8c], 0
cmp dword [rsp + 0x8c], 0
je 0x40820f
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x23
je 0x4081c4
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x30]
call fcn.00408330
mov qword [rsp + 0x50], rax
jmp 0x40820a
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlCharToInteger]
test eax, eax
jl 0x40820a
mov r8d, dword [rsp + 0x70]
xor edx, edx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x30]
call fcn.00408330
mov qword [rsp + 0x50], rax
jmp 0x40830a
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.00407d20
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x408236
mov dword [rsp + 0x90], 1
jmp 0x408269
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea r9, [0x0040c880]
mov r8d, 0x378
lea rdx, [0x0040c870]
lea rcx, [0x0040bf10]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x90], 0
cmp dword [rsp + 0x90], 0
je 0x40830a
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x23
je 0x4082c4
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x30]
call fcn.00408330
mov qword [rsp + 0x50], rax
jmp 0x40830a
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlCharToInteger]
test eax, eax
jl 0x40830a
mov r8d, dword [rsp + 0x70]
xor edx, edx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x30]
call fcn.00408330
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x50]
add rsp, 0xa0
pop rdi
ret