Function at 0x457c4
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov r12, rdx
mov r15, rcx
mov dword [rax + 0x18], 0x73505349
xor ebx, ebx
mov qword [rax + 0x20], rbx
mov qword [rax - 0xd0], rbx
mov dword [rsp + 0x70], ebx
mov r13, rbx
mov qword [rax - 0x98], rbx
mov qword [rax - 0xc0], rbx
mov qword [rax - 0xa8], rbx
mov qword [rax - 0xd8], rbx
mov qword [rax - 0xb8], rbx
mov qword [rax - 0xa0], rbx
mov r14d, 0xfffe
mov word [rax - 0xc6], r14w
mov esi, 0x73535349
mov edx, esi
lea rcx, [rax - 0xc8]
call fcn.00044f68
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45ccf
movzx eax, word [r15]
add rax, 2
mov word [rsp + 0xaa], ax
mov edx, esi
lea rcx, [rsp + 0xa8]
call fcn.00044f68
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45ccf
mov word [rsp + 0x7a], r14w
mov edx, esi
lea rcx, [rsp + 0x78]
call fcn.00044f68
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45ccf
mov r8d, esi
lea edx, [r14 + 0x60]
lea ecx, [rbx + 1]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r13, rax
mov qword [rsp + 0xc0], rax
cmp rax, rbx
je 0x45ccf
mov dword [rsp + 0xc8], 0x30
mov qword [rsp + 0xd0], rbx
mov dword [rsp + 0xe0], 0x200
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
mov byte [rsp + 0x20], bl
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov edx, 0x1f0003
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwCreateEvent]
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45ccf
mov rdx, r15
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov r12, qword [rsp + 0xb0]
lea edx, [rbx + 0x7e]
mov rcx, r12
call sub.ntoskrnl.exe_wcschr
cmp rax, rbx
jne 0x45975
mov edi, 0xc0000225
mov dword [rsp + 0x70], edi
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r9, rax
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0xa0]
mov rcx, r12
call fcn.000453e0
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45cc7
mov r14, qword [rsp + 0xa0]
mov r8, r14
sub r8, r12
sar r8, 1
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.00014d8c
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45cbd
lea rdx, [0x00033d50]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x90]
call fcn.00014f58
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45cb3
mov dword [rsp + 0xc8], 0x30
mov qword [rsp + 0xd0], rbx
mov dword [rsp + 0xe0], 0x240
lea rax, [rsp + 0x90]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
mov dword [rsp + 0x68], 0x100
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x108]
lea r8, [rsp + 0xc8]
mov edx, 0x100001
lea rcx, [rsp + 0x178]
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45c77
cmp qword [rsp + 0x178], rbx
je 0x45c6d
mov r12, qword [rsp + 0xb8]
cmp r12, rbx
je 0x45aeb
mov word [r12], bx
mov rdx, r14
lea rcx, [rsp + 0xf8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r11d, 0x5c
mov word [r12], r11w
jmp 0x45afc
mov rdx, r14
lea rcx, [rsp + 0xf8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov byte [rsp + 0x50], 1
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 0x1005e
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ntoskrnl.exe_ZwQueryDirectoryFile]
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, 0x103
jne 0x45b73
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
jmp 0x45b7b
cmp eax, ebx
jl 0x45ca9
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45c9f
mov qword [rsp + 0x178], rbx
mov r8d, dword [r13 + 0x3c]
lea rdx, [r13 + 0x5e]
lea rcx, [rsp + 0x78]
call fcn.00015170
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45c95
cmp r12, rbx
je 0x45c8b
lea rdx, [0x0004c220]
lea rcx, [rsp + 0x78]
call fcn.00014e74
mov edx, 0x7e
mov rcx, r12
call sub.ntoskrnl.exe_wcschr
cmp rax, rbx
jne 0x45bf6
mov edi, 0xc0000225
mov dword [rsp + 0x70], edi
jmp 0x45c19
mov r9, rax
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0xa0]
mov rcx, r12
call fcn.000453e0
mov dword [rsp + 0x70], eax
cmp eax, ebx
jge 0x45c3b
lea rdx, [r12 + 2]
lea rcx, [rsp + 0x78]
call fcn.00014e74
mov edi, eax
mov dword [rsp + 0x70], eax
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r14, qword [rsp + 0xa0]
mov r8, r14
sub r8, r12
sar r8, 1
dec r8
lea rdx, [r12 + 2]
lea rcx, [rsp + 0x78]
call fcn.00015088
mov edi, eax
mov dword [rsp + 0x70], eax
cmp eax, ebx
jl 0x45c81
jmp 0x459ca
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
jmp 0x45ccf
mov r12, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x178]
cmp rcx, rbx
je 0x45ce2
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x88]
cmp rcx, rbx
je 0x45cf5
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp r13, rbx
je 0x45d05
mov edx, esi
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [rsp + 0x80], rbx
je 0x45d38
cmp edi, ebx
jl 0x45d2c
mov r8d, 0x73505349
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.00045008
mov edi, eax
mov dword [rsp + 0x70], eax
mov edx, esi
lea rcx, [rsp + 0x78]
call fcn.00044fd0
cmp qword [rsp + 0xb0], rbx
je 0x45d51
mov edx, esi
lea rcx, [rsp + 0xa8]
call fcn.00044fd0
cmp qword [rsp + 0x98], rbx
je 0x45d6a
mov edx, esi
lea rcx, [rsp + 0x90]
call fcn.00044fd0
jmp 0x45d9d
cmp edi, ebx
jl 0x45dd1
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x156
lea r9, [0x0004a1b0]
lea r8, [0x0004c290]
xor edx, edx
lea ecx, [rdx + 0x65]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x45dfb
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x15a
lea r9, [0x0004a1b0]
lea r8, [0x0004c2e0]
xor edx, edx
lea ecx, [rdx + 0x65]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, edi
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret