Function at 0x140001590
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [rsp + 0x130]
cmp dword [rax + 4], 0
jne 0x1400016d5
mov dword [rsp + 0x28], 0
jmp 0x1400015c2
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x100
jge 0x1400016d0
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x140013c68]
cmp qword [rcx + rax*8], 0
jne 0x1400016cb
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x140001604
mov rax, qword [rsp + 0x30]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x90], rax
mov r8d, 0x6864694e
mov rdx, qword [rsp + 0x90]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140001663
lea rcx, [0x14000d4c0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1400016d0
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xc8], rax
xor edx, edx
mov rax, qword [rsp + 0x90]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0xc8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call sub.ntoskrnl.exe_wcscpy_s
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x140013c68]
mov rdx, qword [rsp + 0x70]
mov qword [rcx + rax*8], rdx
mov eax, dword [0x140013c60]
inc eax
mov dword [0x140013c60], eax
mov al, 1
jmp 0x140001c34
jmp 0x1400015b8
jmp 0x140001c32
mov rax, qword [rsp + 0x130]
cmp dword [rax + 4], 2
jne 0x14000180e
mov dword [rsp + 0x2c], 0
jmp 0x1400016fb
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x140001809
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140015498]
cmp qword [rcx + rax*8], 0
jne 0x140001804
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x14000173d
mov rax, qword [rsp + 0x38]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x98], rax
mov r8d, 0x6864694e
mov rdx, qword [rsp + 0x98]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000179c
lea rcx, [0x14000d4c0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140001809
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xd8], rax
xor edx, edx
mov rax, qword [rsp + 0x98]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0xd8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call sub.ntoskrnl.exe_wcscpy_s
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140015498]
mov rdx, qword [rsp + 0x78]
mov qword [rcx + rax*8], rdx
mov eax, dword [0x140015490]
inc eax
mov dword [0x140015490], eax
mov al, 1
jmp 0x140001c34
jmp 0x1400016f1
jmp 0x140001c32
mov rax, qword [rsp + 0x130]
cmp dword [rax + 4], 1
jne 0x140001a24
mov dword [rsp + 0x20], 0
jmp 0x140001834
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jge 0x140001a1f
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x140014470]
cmp qword [rcx + rax*8], 0
jne 0x140001a1a
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x140001876
mov rax, qword [rsp + 0x40]
lea rax, [rax + rax + 2]
mov qword [rsp + 0xa0], rax
mov r8d, 0x6864694e
mov rdx, qword [rsp + 0xa0]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400018cc
jmp 0x140001a1f
mov rax, qword [rsp + 0x130]
add rax, 0x206
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x1400018eb
mov rax, qword [rsp + 0x48]
lea rax, [rax + rax + 2]
mov qword [rsp + 0xa8], rax
mov r8d, 0x6864694e
mov rdx, qword [rsp + 0xa8]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140001957
mov edx, 0x6864694e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001a1f
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xf0], rax
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0xf0]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_wcscpy_s
mov rax, qword [rsp + 0x130]
add rax, 0x206
mov qword [rsp + 0xf8], rax
xor edx, edx
mov rax, qword [rsp + 0xa8]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0xf8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call sub.ntoskrnl.exe_wcscpy_s
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x140014470]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x140014c70]
mov rdx, qword [rsp + 0x80]
mov qword [rcx + rax*8], rdx
mov eax, dword [0x140014468]
inc eax
mov dword [0x140014468], eax
mov al, 1
jmp 0x140001c34
jmp 0x14000182a
jmp 0x140001c32
mov rax, qword [rsp + 0x130]
cmp dword [rax + 4], 3
jne 0x140001c32
mov dword [rsp + 0x24], 0
jmp 0x140001a4a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100
jge 0x140001c32
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140015ca0]
cmp qword [rcx + rax*8], 0
jne 0x140001c2d
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x140001a8c
mov rax, qword [rsp + 0x58]
lea rax, [rax + rax + 2]
mov qword [rsp + 0xb0], rax
mov r8d, 0x6864694e
mov rdx, qword [rsp + 0xb0]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140001ae2
jmp 0x140001c32
mov rax, qword [rsp + 0x130]
add rax, 0x206
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x60]
cmp word [rax + rcx*2], 0
jne 0x140001b01
mov rax, qword [rsp + 0x60]
lea rax, [rax + rax + 2]
mov qword [rsp + 0xb8], rax
mov r8d, 0x6864694e
mov rdx, qword [rsp + 0xb8]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140001b6d
mov edx, 0x6864694e
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001c32
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0x110], rax
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x110]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call sub.ntoskrnl.exe_wcscpy_s
mov rax, qword [rsp + 0x130]
add rax, 0x206
mov qword [rsp + 0x118], rax
xor edx, edx
mov rax, qword [rsp + 0xb8]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x118]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call sub.ntoskrnl.exe_wcscpy_s
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140015ca0]
mov rdx, qword [rsp + 0x68]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400164a0]
mov rdx, qword [rsp + 0x88]
mov qword [rcx + rax*8], rdx
mov eax, dword [0x140015c98]
inc eax
mov dword [0x140015c98], eax
mov al, 1
jmp 0x140001c34
jmp 0x140001a40
xor al, al
add rsp, 0x128
ret