Function at 0x14001e16b
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [0x140085080]
xor rax, rsp
mov qword [rbp + 0x510], rax
xor r13d, r13d
mov qword [rbp + 0x4e0], r8
cmp byte [0x140085890], r13b
lea rax, str.ChangeToFileNameToBreakOn
mov r15d, edx
mov qword [rbp + 0x4f8], 0x32
mov rsi, rcx
mov qword [rbp + 0x500], 0x34
mov qword [rbp + 0x508], rax
je 0x14001e43a
cmp edx, 2
jne 0x14001e12c
mov rcx, qword [rcx]
movabs r12, 0x1f693a1c451ab30b
mov rax, qword [rsi + 8]
mov edi, r13d
sub rax, rcx
sar rax, 3
imul rax, r12
test rax, rax
je 0x14001e43a
mov r14d, 0x518
cmp qword [rcx + 0x508], r8
je 0x14001dfce
inc rdi
add rcx, r14
cmp rdi, rax
jb 0x14001dfb5
jmp 0x14001e43a
lea rbx, [rcx + 0xf4]
lea rcx, [0x1400857a0]
call fcn.14005fcc8
shr eax, 4
test al, 1
je 0x14001e04e
mov qword [rsp + 0x48], rbx
lea rax, [rbp + 0x4e0]
mov qword [rsp + 0x78], rax
lea r8, str._Closed_handle_0_on_file_1.
lea rax, [0x14002c850]
mov r9d, 2
mov qword [rsp + 0x40], rax
lea rdx, [0x1400857a0]
lea rax, [0x14006db88]
xor ecx, ecx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [0x14002c820]
mov qword [rsp + 0x28], rax
lea rax, str.0132
mov qword [rsp + 0x20], rax
call fcn.14000dc6c
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140058bf0
lea rbx, [rbp + 0x4f8]
mov rcx, qword [rbx]
mov byte [rsp + 0x70], r13b
cmp rcx, qword [rbp - 0x80]
ja 0x14001e0a5
mov rax, qword [rbp - 0x70]
lea r9, [rsp + 0x70]
sub rax, rcx
mov qword [rbp - 0x68], rcx
add rax, qword [rbp - 0x80]
lea r8, [fcn.140059d20]
mov qword [rbp - 0x60], rcx
mov rdx, rbx
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x58], rax
call fcn.14005935c
cmp byte [rsp + 0x70], r13b
jne 0x14001e0b7
add rbx, 0x18
lea rax, [rbp + 0x510]
cmp rbx, rax
je 0x14001e0b8
jmp 0x14001e061
int3
mov rax, qword [rsi]
imul rcx, rdi, 0x518
lea rdx, [rax + 0x518]
lea rbx, [rcx + rax]
sub rcx, rbx
add rdx, rcx
sar rdx, 3
imul rdx, r12
test rdx, rdx
je 0x14001e43a
mov rdi, qword [rsi + 8]
imul r15, rdx, 0x518
sub rdi, r15
jmp 0x14001e106
mov rcx, rbx
lea rdx, [r15 + rbx]
mov r8, r14
call sub.ntdll.dll_memcpy
add rbx, r14
cmp rbx, rdi
jne 0x14001e0f4
mov rax, qword [rsi + 8]
cmp rdi, rax
je 0x14001e43a
add rax, 0xfffffffffffffae8
cmp rax, rdi
jne 0x14001e118
mov qword [rsi + 8], rax
jmp 0x14001e43a
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x518
call sub.ntdll.dll_memset
xor eax, eax
lea rcx, [rbp + 0xb8]
xor edx, edx
mov qword [rbp + 0xb0], rax
mov r8d, 0x410
call sub.ntdll.dll_memset
lea r8, [rbp - 0x40]
mov qword [rbp + 0x4c8], r13
lea rdx, [rsp + 0x78]
mov word [rbp + 0x4d0], r13w
mov rcx, rsi
call fcn.14002a4d8
cmp dword [rax], r13d
jl 0x14001e43a
mov rcx, qword [rsi]
lea rdx, [rbp + 0x4e8]
mov rax, qword [rsi + 8]
movabs r12, 0x1f693a1c451ab30b
sub rax, rcx
mov dword [rsp + 0x20], 9
sar rax, 3
mov r9d, 0x418
lea rbx, [rcx - 0x518]
mov rcx, qword [rbp + 0x4e0]
imul rax, r12
imul rax, rax, 0x518
add rbx, rax
lea rdi, [rbx + 0xf0]
mov r8, rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
test eax, eax
jns 0x14001e218
movups xmm0, xmmword [str._get_failed_]
movups xmmword [rbx + 0xf4], xmm0
movsd xmm1, qword [0x140073490]
movsd qword [rbx + 0x104], xmm1
movzx eax, word [0x140073498]
mov word [rbx + 0x10c], ax
mov dword [rdi], 0x18
mov eax, dword [rdi]
xor r9d, r9d
shr rax, 1
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 0x1e]
mov word [rbx + rax*2 + 0xf6], r13w
call qword [sym.imp.ntdll.dll_RtlCaptureStackBackTrace]
nop dword [rax + rax]
lea r14, [rbx + 0xf4]
mov word [rbx + 0x510], ax
mov rcx, r14
lea rdx, [rbp - 0x80]
call fcn.140058bf0
lea rdi, [rbp + 0x4f8]
mov rcx, qword [rdi]
mov sil, r13b
mov byte [rsp + 0x70], r13b
cmp rcx, qword [rbp - 0x80]
ja 0x14001e2a9
mov rax, qword [rbp - 0x70]
lea r9, [rsp + 0x70]
sub rax, rcx
mov qword [rbp - 0x68], rcx
add rax, qword [rbp - 0x80]
lea r8, [fcn.140059d20]
mov qword [rbp - 0x60], rcx
mov rdx, rdi
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x58], rax
call fcn.14005935c
mov sil, byte [rsp + 0x70]
test sil, sil
jne 0x14001e2b9
add rdi, 0x18
lea rax, [rbp + 0x510]
cmp rdi, rax
jne 0x14001e25f
test r15d, r15d
jne 0x14001e358
mov rax, qword [rbp + 0x4e0]
cmp qword [0x140085898], rax
jne 0x14001e2d3
int3
lea rcx, [0x1400857a0]
call fcn.14005fcc8
shr eax, 4
test al, 1
je 0x14001e34c
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0x4e0]
mov qword [rsp + 0x78], rax
lea r8, str._Created_handle_0_from_file_1.
lea rax, [0x14002c850]
mov r9d, 2
mov qword [rsp + 0x40], rax
lea rdx, [0x1400857a0]
lea rax, [0x14006db88]
xor ecx, ecx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [0x14002c820]
mov qword [rsp + 0x28], rax
lea rax, str.0132
mov qword [rsp + 0x20], rax
call fcn.14000dc6c
mov rax, qword [rbp + 0x4e0]
jmp 0x14001e42d
cmp r15d, 1
jne 0x14001e434
mov rax, qword [0x140085898]
cmp rax, qword [rbp + 0x4e0]
jne 0x14001e373
int3
cmp rax, qword [rbp + 0x578]
jne 0x14001e37d
int3
lea rcx, [0x1400857a0]
call fcn.14005fcc8
shr eax, 4
test al, 1
je 0x14001e426
mov qword [rsp + 0x60], r14
lea rax, [rbp + 0x578]
mov qword [rsp + 0x78], rax
lea r8, str._Duplicated_handle_0_to_1_on_file_2.
lea rax, [rbp + 0x4e0]
mov r9d, 3
mov qword [rbp - 0x50], rax
lea rdx, [0x1400857a0]
lea rax, [0x14002c850]
xor ecx, ecx
mov qword [rsp + 0x58], rax
lea rax, [0x14006db90]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [0x14002c820]
mov qword [rsp + 0x40], rax
lea rax, [0x14006db88]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rax, [0x14002c820]
mov qword [rsp + 0x28], rax
lea rax, str.0132
mov qword [rsp + 0x20], rax
call fcn.14000dc6c
mov rax, qword [rbp + 0x578]
mov qword [rbx + 0x508], rax
test sil, sil
je 0x14001e43a
int3
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140063da0
mov rbx, qword [rsp + 0x668]
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret