Function at 0x180150650
Capabilities:
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rdi, rcx
lea rdx, [rbp + 7]
add rcx, 0x98
call fcn.180119460
nop
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.1800e9ff0
nop
lea rdx, [rbp + 0x77]
mov rcx, rax
call fcn.1800d6610
nop
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
lea r15, [0x1802bccb0]
or rsi, 0xffffffffffffffff
cmp rcx, r15
je 0x1801506d0
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jne 0x1801506d0
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 7]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801506ef
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801506ef
call fcn.1800a0c6c
mov rax, qword [rbp + 0x77]
cmp byte [rax], 0
je 0x18015092e
lea rcx, [rdi + 0x98]
call fcn.18016fce0
lea ebx, [rax - 1]
xor r12d, r12d
mov qword [rbp - 0x21], r12
mov dword [rbp - 0x19], r12d
mov dword [rbp - 0x11], r12d
mov qword [rbp - 0x79], r12
mov dword [rbp - 0x71], r12d
mov dword [rbp - 0x69], r12d
lea r14, [rdi - 0xe0]
mov rax, qword [r14]
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x21]
mov rcx, r14
call qword [rax + 0x168]
lea rdx, [0x180416eb8]
mov rcx, qword [rbp - 0x79]
mov r8d, dword [rbp - 0x69]
cmp ebx, r8d
jae 0x18015075e
movsxd rax, ebx
lea rax, [rcx + rax*8]
jmp 0x180150761
mov rax, rdx
mov rax, qword [rax]
cmp byte [rax], 0
je 0x180150799
cmp ebx, r8d
jae 0x180150775
movsxd rax, ebx
lea rdx, [rcx + rax*8]
lea rcx, [rbp + 0x7f]
call fcn.1800e7430
nop
lea rdx, [rbp + 0x7f]
mov rcx, r14
call fcn.180151830
nop
mov rcx, qword [rbp + 0x7f]
add rcx, 0xfffffffffffffff0
jmp 0x1801508f0
lea rdx, [rbp + 0x77]
lea rcx, [rbp + 0x67]
call fcn.1800e7430
nop
lea r13, [0x1802bcf68]
mov rbx, qword [rbp + 0x67]
cmp byte [rbx], 0
jne 0x1801507c0
mov rdi, r13
mov qword [rbp - 0x31], r13
jmp 0x180150823
mov qword [rbp - 0x51], rbx
lea rcx, [rbp - 0x51]
call fcn.18001b380
mov rdi, rsi
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1801507d0
add rdi, 4
mov ecx, 0xfffffffc
and rdi, rcx
mov qword [rbp - 9], rbx
lea r8, [rax + 3]
add r8, rdi
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
call fcn.180012500
mov rbx, qword [rax]
mov qword [rbp + 0x67], rbx
movsxd rdi, edi
add rdi, rbx
mov qword [rbp - 1], rdi
mov qword [rbp - 0x41], rbx
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 1]
call fcn.18001c460
mov qword [rbp - 0x31], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x180150839
cmp eax, 0xffffffff
jne 0x1801508dc
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x67]
call fcn.1800e6c30
mov rcx, qword [rax]
cmp rcx, rbx
jne 0x180150853
mov eax, r12d
jmp 0x180150868
mov qword [rbp - 0x61], rbx
mov qword [rbp - 0x59], rcx
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x59]
call fcn.180019ca0
test eax, eax
sete dil
mov rcx, qword [rbp - 0x49]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x180150891
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18015088d
call fcn.1800a0c6c
mov rbx, qword [rbp + 0x67]
test dil, dil
jne 0x1801508ec
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.1800e6c30
mov rcx, rbx
mov rbx, qword [rax]
mov qword [rbp + 0x67], rbx
mov qword [rax], rcx
mov rcx, qword [rbp - 0x39]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801507b2
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801507ae
call fcn.1800a0c6c
jmp 0x1801507ae
lea rdx, [rbp + 0x67]
mov rcx, r14
call fcn.180151830
mov rbx, qword [rbp + 0x67]
lea rcx, [rbx - 0x10]
cmp rcx, r15
je 0x180150908
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180150908
call fcn.1800a0c6c
nop
lea rcx, [rbp - 0x79]
call fcn.18000a800
mov rcx, qword [rbp - 0x79]
call fcn.1800a09c8
nop
lea rcx, [rbp - 0x21]
call fcn.18000a800
mov rcx, qword [rbp - 0x21]
call fcn.1800a09c8
nop
mov rcx, qword [rbp + 0x77]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x18015094c
lock xadd dword [rcx], esi
lea eax, [rsi - 1]
cmp eax, 0xffffffff
jne 0x18015094c
call fcn.1800a0c6c
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret