Function at 0x140042e00
Capabilities:
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x3a0], rbx
mov rax, qword [0x1400d73a8]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x30], rsi
xor eax, eax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp + 0x50]
call fcn.140086940
mov dword [rsp + 0x20], 9
mov r9d, 0x20c
lea r8, [rbp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
je 0x140042ea8
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], sil
xor r8d, r8d
lea rdx, [0x1400aa958]
mov rcx, rdi
call fcn.140003e20
jmp 0x140043098
lea rcx, [rbp - 0x60]
call fcn.14003fe60
nop
lea r8, [rbp + 0x54]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140042dc0
nop
lea rcx, [rbp + 0x20]
call fcn.14003c2e0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14002c1c0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140042f5c
cmp qword [rsp + 0x68], 0x10
jb 0x140042f00
mov rcx, qword [rsp + 0x50]
call fcn.140085df8
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
cmp qword [rbx + 0x18], 0x10
jae 0x140042f30
mov r8, qword [rbx + 0x10]
inc r8
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140085e10
jmp 0x140042f3b
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rbx], rsi
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x68], rax
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov byte [rbx], 0
cmp qword [rbp - 0x70], 0x10
jb 0x140042f6d
mov rcx, qword [rsp + 0x78]
call fcn.140085df8
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x78], 0
cmp qword [rbp + 0x38], 0x10
jb 0x140042f8e
mov rcx, qword [rbp + 0x20]
call fcn.140085df8
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], 0
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x14004301c
cmp qword [rdi + 0x18], 0x10
jb 0x140042fb6
mov rcx, qword [rdi]
call fcn.140085df8
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], 0
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jae 0x140042fec
mov r8, qword [rsp + 0x60]
inc r8
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140085e10
mov rcx, qword [rsp + 0x68]
jmp 0x140042ff9
mov rax, qword [rsp + 0x50]
mov qword [rdi], rax
mov qword [rsp + 0x50], rsi
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rcx
mov eax, 0xf
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
jmp 0x140043021
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x140043031
mov rcx, qword [rsp + 0x50]
call fcn.140085df8
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp - 0x60], rax
cmp qword [rbp - 8], 8
jb 0x14004305f
mov rcx, qword [rbp - 0x20]
call fcn.140085df8
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
cmp qword [rbp - 0x30], 0x10
jb 0x14004307f
mov rcx, qword [rbp - 0x48]
call fcn.140085df8
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], 0
lea rcx, [rbp - 0x50]
call fcn.140001060
mov rax, rdi
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140086bc0
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret