Function at 0x140072214
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x10], edx
push r12
push r14
push r15
sub rsp, 0xe0
mov rsi, r9
mov r14, r8
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
mov dword [rax + 0x10], 0x60
or r12, 0xffffffffffffffff
mov qword [rax - 0x80], r12
mov qword [rsp + 0x70], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rax - 0x68]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
nop dword [rax + rax]
test al, al
jne 0x1400722a6
lea ecx, [r15 + 3]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rax, r12
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov dword [rsp + 0xa8], 0x30
mov qword [rsp + 0xb0], r15
mov dword [rsp + 0xc0], 0x40
lea rax, [rsp + 0x90]
mov qword [rsp + 0xb8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], 0x200020
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa8]
mov edx, 0x100080
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov edx, eax
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x14007251e
mov rdi, qword [rsp + 0x78]
mov rcx, qword gs:[0x60]
lea r8d, [rax + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400723c1
mov qword [rax], rdi
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
lea rcx, [rax + 0x28]
call qword [sym.imp.ntdll.dll_RtlInitializeCriticalSection]
nop dword [rax + rax]
test eax, eax
jns 0x1400723c1
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rbx, r15
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x140072515
mov qword [rsp + 0x78], r15
cmp qword [rsp + 0x68], r15
je 0x1400723fb
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
movsxd r8, dword [rsp + 0x108]
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140072515
mov dword [rsp + 0x20], 0x2e
mov r9d, dword [rsp + 0x108]
mov r8, rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rbx]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov edx, eax
mov dword [rsp + 0x60], eax
mov eax, dword [rdi]
mov dword [rsp + 0x108], eax
cmp edx, 0x80000005
je 0x1400723d4
test edx, edx
jne 0x14007251e
cmp qword [rsp + 0x88], r15
jne 0x140072490
mov edx, 0xc0000011
jmp 0x14007251a
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x88]
mov dword [rbx + 0x18], eax
mov rax, qword [rsp + 0x88]
mov dword [rbx + 0x1c], eax
mov qword [rsp + 0x68], r15
mov rdi, qword [rbx + 8]
lea r8, [rsp + 0x68]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rbx]
call fcn.140072098
mov edx, eax
mov dword [rsp + 0x60], eax
test eax, eax
js 0x14007251e
mov r9, rsi
mov r8, r14
lea rdx, [rdi + 8]
mov rcx, qword [rsp + 0x68]
call fcn.140071fe4
mov edx, eax
mov dword [rsp + 0x60], eax
test eax, eax
js 0x14007251e
mov rcx, qword [rbx + 8]
cmp dword [rdi + 8], r15d
jbe 0x14007250b
mov eax, dword [rdi + 8]
add rcx, 8
add rcx, rax
mov qword [rbx + 0x10], rcx
jmp 0x14007251e
mov rax, qword [rsp + 0x88]
jmp 0x140072502
mov edx, 0xc000009a
mov dword [rsp + 0x60], edx
cmp word [rsp + 0x90], r15w
je 0x140072550
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x98]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov edx, dword [rsp + 0x60]
cmp qword [rsp + 0x68], r15
je 0x14007257b
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x1400725cf
mov ecx, edx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
cmp rcx, r12
je 0x1400725b1
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400725ca
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov qword [rsp + 0x70], r12
mov rax, qword [rsp + 0x70]
jmp 0x140072287