Function at 0x140010210
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rsi, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.140010d74
mov edi, eax
mov r15d, 2
lea r13d, [r15 + 0x5a]
xor r12d, r12d
test eax, eax
js 0x14001042f
lea r8d, [rdi + 1]
cmp word [rsi + r8*2], r12w
je 0x14001042f
lea rdx, [rsi + rdi*2]
lea rcx, [rbp - 0x48]
call fcn.14000e180
nop
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.14000e180
nop
cmp edi, dword [rbp - 0x50]
jae 0x14001029a
mov dword [rbp - 0x50], edi
mov rax, qword [rbp - 0x58]
mov word [rax + rdi*2], r12w
cmp dword [rbp - 0x40], 6
jbe 0x1400102bf
mov ecx, dword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
add rax, 0xfffffffffffffff4
lea rcx, [rax + rcx*2]
lea rdx, str.:_DATA
call fcn.14000ed84
test al, al
jne 0x1400102cf
lea rdx, str.:_DATA
lea rcx, [rbp - 0x48]
call fcn.14000e4b0
mov rcx, qword [rbp - 0x58]
call fcn.1400112d4
mov rdx, qword [rbp - 0x58]
test al, al
je 0x140010328
cmp edi, r15d
je 0x1400102f1
cmp edi, 3
jne 0x140010328
cmp word [rdx + 4], r13w
jne 0x140010328
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov dword [rbx + 0x20], r12d
mov word [rbx + 0x24], r12w
lea rcx, [rbx + 0x28]
mov dword [rcx + 8], r12d
mov rax, qword [rcx]
mov word [rax], r12w
cmp edi, r15d
jne 0x140010338
lea rdx, [rbp - 0x58]
call fcn.14000e210
jmp 0x140010338
mov rcx, rbx
call fcn.140010210
test al, al
je 0x14001041c
and dword [rbx + 0x20], 0xfffffbef
mov qword [rbx], r12
or qword [rbp - 0x20], 0xffffffffffffffff
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x18]
call fcn.14000e0d4
nop
lea rcx, [rbp - 0x38]
call fcn.14000e1d8
jmp 0x14001038a
cmp byte [rbp + 0x40], r12b
je 0x1400103db
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x38]
call fcn.14000ecd8
test al, al
jne 0x1400103a1
mov rcx, qword [rbp - 0x38]
call fcn.140027aa8
lea rcx, [rbp - 0x38]
call fcn.14000e1d8
nop
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.140010950
test al, al
jne 0x140010360
jmp 0x1400103e4
mov eax, dword [rbp - 0x30]
cmp eax, 7
jbe 0x1400103bc
lea ecx, [rax - 6]
cmp ecx, eax
jae 0x1400103bc
mov dword [rbp - 0x30], ecx
mov rax, qword [rbp - 0x38]
mov word [rax + rcx*2], r12w
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x38]
call fcn.14000e464
mov rax, qword [rbp - 0x28]
mov qword [rbx], rax
mov edi, 1
mov byte [rbx + 0x24], dil
jmp 0x1400103e7
mov ecx, r15d
call qword [0x14004c190]
mov dil, r12b
mov rcx, qword [rbp - 0x38]
call fcn.140027aa8
nop
mov rcx, qword [rbp - 0x18]
call fcn.140027aa8
lea rcx, [rbp - 0x20]
call fcn.140010108
nop
mov rcx, qword [rbp - 0x58]
call fcn.140027aa8
nop
mov rcx, qword [rbp - 0x48]
call fcn.140027aa8
jmp 0x14001064a
mov rcx, qword [rbp - 0x58]
call fcn.140027aa8
nop
mov rcx, qword [rbp - 0x48]
call fcn.140027aa8
or qword [rbp + 0x40], 0xffffffffffffffff
mov rcx, rsi
call fcn.140011378
mov edi, r12d
mov ecx, 4
test al, al
cmovne edi, ecx
lea r14, [rsi + rdi*2]
mov rcx, r14
call fcn.1400112f8
test al, al
je 0x1400104c8
lea eax, [rdi + 3]
cmp word [rsi + rax*2], r12w
jne 0x1400104c8
mov rcx, rsi
call qword [0x14004c1e0]
or ecx, 0xffffffff
mov r8d, ecx
cmp eax, ecx
cmovne r8d, eax
cmp r8d, ecx
je 0x14001062f
mov eax, 0x10
test al, r8b
je 0x14001062f
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov word [rbx + 0x24], r12w
mov dword [rbx + 0x20], r8d
mov rdx, r14
lea rcx, [rbx + 0x28]
call fcn.14000e358
cmp dword [rbx + 0x30], r15d
jbe 0x14001052e
mov dword [rbx + 0x30], r15d
mov rax, qword [rbx + 0x28]
mov word [rax + 4], r12w
jmp 0x14001052e
cmp word [rsi], r13w
je 0x1400104d8
cmp word [rsi], 0x2f
jne 0x14001062f
mov rcx, rsi
cmp word [rsi + 2], r12w
jne 0x140010538
call qword [0x14004c1e0]
or ecx, 0xffffffff
mov edx, ecx
cmp eax, ecx
cmovne edx, eax
cmp edx, ecx
je 0x14001062f
mov eax, 0x10
test al, dl
je 0x14001062f
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov dword [rbx + 0x20], r12d
mov word [rbx + 0x24], r12w
mov dword [rbx + 0x30], r12d
mov rax, qword [rbx + 0x28]
mov word [rax], r12w
mov dword [rbx + 0x20], edx
mov edi, 1
jmp 0x140010641
call fcn.140011110
test eax, eax
je 0x14001062f
mov eax, eax
lea r15, [rsi + rax*2]
cmp word [r15], r12w
je 0x14001062f
mov rcx, r15
call fcn.140010dd0
test eax, eax
jns 0x14001062f
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.14000e180
nop
mov edx, dword [rbp - 0x50]
cmp dword [rbp - 0x4c], edx
jne 0x140010586
lea rcx, [rbp - 0x58]
call fcn.14000e708
mov edx, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov eax, edx
mov word [rcx + rax*2], r13w
mov edi, 1
add edx, edi
mov word [rcx + rdx*2], r12w
mov dword [rbp - 0x50], edx
cmp dword [rbp - 0x4c], edx
jne 0x1400105b1
lea rcx, [rbp - 0x58]
call fcn.14000e708
mov edx, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov eax, edx
mov r8d, 0x2a
mov word [rcx + rax*2], r8w
add edx, edi
mov word [rcx + rdx*2], r12w
mov dword [rbp - 0x50], edx
mov r14b, r12b
mov r8, rbx
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x40]
call fcn.1400106a8
test al, al
je 0x140010601
lea r14, [rbx + 0x28]
lea rdx, [0x14004e1f0]
mov rcx, qword [r14]
call fcn.14002c074
test eax, eax
je 0x14001068e
mov r14b, dil
mov rcx, rsi
call qword [0x14004c1e0]
or ecx, 0xffffffff
mov edx, ecx
cmp eax, ecx
cmovne edx, eax
mov eax, 0x10
test r14b, r14b
jne 0x14001066e
cmp edx, ecx
je 0x140010626
test al, dl
jne 0x14001066e
mov rcx, qword [rbp - 0x58]
call fcn.140027aa8
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.1400106a8
mov dil, al
lea rcx, [rbp + 0x40]
call fcn.140010108
mov al, dil
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov word [rbx + 0x24], r12w
cmp edx, ecx
cmovne eax, edx
mov dword [rbx + 0x20], eax
lea r14, [rbx + 0x28]
mov rdx, r15
mov rcx, r14
call fcn.14000e358
mov rcx, qword [rbp - 0x58]
call fcn.140027aa8
jmp 0x140010641