Function at 0x404ae0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x78], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x68], 0
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.00404960
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x404bad
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x0040f3f0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x404da5
mov eax, dword [rsp + 0x60]
and eax, 7
test eax, eax
jne 0x404bc5
mov dword [rsp + 0x8c], 0
jmp 0x404bd0
mov dword [rsp + 0x8c], 1
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x60]
and eax, 7
test eax, eax
jne 0x404bfe
mov dword [rsp + 0x90], 0
jmp 0x404c09
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
add eax, 2
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x88]
lea rax, [rax + rcx*8]
mov r8d, 0x20
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.0040ceb0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
dec ecx
mov dword [rsp + 0x20], ecx
test eax, eax
je 0x404cbf
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + rax*8 + 0x38]
xor rax, rcx
mov ecx, dword [rsp + 0x20]
mov qword [rsp + rcx*8 + 0x38], rax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x88]
add ecx, eax
mov eax, ecx
movzx edx, al
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0xb0]
call qword [rax + 0x110]
mov qword [rsp + 0x28], rax
jmp 0x404c67
lea rax, [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xb8]
add rax, 0x68
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.00409450
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
dec ecx
mov dword [rsp + 0x20], ecx
test eax, eax
je 0x404d56
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + rax*8 + 0x38]
xor rax, rcx
mov ecx, dword [rsp + 0x20]
mov qword [rsp + rcx*8 + 0x38], rax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x88]
add ecx, eax
mov eax, ecx
movzx edx, al
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0xb0]
call qword [rax + 0x110]
mov qword [rsp + 0x28], rax
jmp 0x404cfe
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x88]
lea rax, [rax + rcx*8]
mov r8d, 0x20
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.0040ceb0
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x0040f3b0]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0xa0
pop rdi
ret