Function at 0x1800cc680
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5c0
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801dc960]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov ecx, 8
call fcn.1800f6bd4
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
xor r12d, r12d
test rax, rax
je 0x1800cc6e9
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x1800cc6ec
mov rax, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x20]
call fcn.1800cc430
mov r15d, r12d
xor r8d, r8d
lea rdx, [0x180152644]
lea rcx, [0x1801b1370]
call fcn.180003700
mov byte [rsp + 0x4a0], r15b
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x4a1]
call fcn.1800f4fb0
mov dword [rsp + 0x110], r12d
xor edx, edx
lea r8d, [rdx + 0x54]
lea rcx, [rsp + 0x114]
call fcn.1800f4fb0
lea rdx, [rsp + 0x4a0]
mov qword [rsp + 0x128], rdx
mov dword [rsp + 0x118], r12d
mov dword [rsp + 0x130], 0x104
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
mov rcx, qword [0x1802663e8]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [0x1802663e8]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rbx, rax
mov r9d, eax
mov r8d, edi
mov edx, 0xc4dc
lea rcx, str.line:_d__List
call fcn.18005cd20
test ebx, ebx
jle 0x1800ccda5
mov r13, r12
mov r14d, ebx
movabs rbp, 0x6666666666666667
nop word [rax + rax]
mov r9d, 2
mov r8, r13
mov edx, 0x102c
mov rcx, qword [0x1802663e8]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp rax, 2
jne 0x1800ccd98
lea r9, [rsp + 0x110]
mov r8, r13
mov edx, 0x102d
mov rcx, qword [0x1802663e8]
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x128]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x1800ccd98
lea r15d, [rax + 1]
mov byte [rsp + 0x280], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x281]
call fcn.1800f4fb0
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
mov rbx, qword [rsp + 0x38]
sub rcx, rbx
mov rax, rbp
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rbp, r12
test edx, edx
jle 0x1800ccd8e
movsxd r12, edx
xor edi, edi
nop word [rax + rax]
mov byte [rsp + 0x390], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x391]
call fcn.1800f4fb0
sub rsi, rbx
movabs rax, 0x6666666666666667
imul rsi
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800cc8fa
call fcn.1800f8c38
mov rbx, qword [rsp + 0x38]
cmp qword [rbx + rdi + 0x20], 0x10
jb 0x1800cc909
mov r9, qword [rbx + rdi + 8]
jmp 0x1800cc90e
lea r9, [rbx + rdi + 8]
lea r8, [0x180266400]
lea rdx, [0x180151a20]
lea rcx, [rsp + 0x390]
call fcn.1800f509c
lea rcx, [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x1800cc9a3
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
movabs rbx, 0x6666666666666667
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800cc975
call fcn.1800f8c38
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi + 0x20], 0x10
jb 0x1800cc984
mov rcx, qword [r8 + rdi + 8]
jmp 0x1800cc989
lea rcx, [r8 + rdi + 8]
mov rdx, qword [rsp + 0x128]
call fcn.18010b680
test eax, eax
je 0x1800ccaf0
jmp 0x1800ccad1
mov byte [rsp + 0x170], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x171]
call fcn.1800f4fb0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rdx, rcx
movabs rbx, 0x6666666666666667
mov rax, rbx
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800cc9fa
call fcn.1800f8c38
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + rdi + 0x20], 0x10
jb 0x1800cca09
mov rcx, qword [rcx + rdi + 8]
jmp 0x1800cca0e
lea rcx, [rcx + rdi + 8]
lea rdx, [rsp + 0x170]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x1800cca20
mov edx, 0x2e
lea rcx, [rsp + 0x170]
call fcn.1800f7ebc
test rax, rax
je 0x1800cca5b
mov edx, 0x2e
lea rcx, [rsp + 0x170]
call fcn.1800f7ebc
mov byte [rax], 0
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800cca8b
call fcn.1800f8c38
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi + 0x20], 0x10
jb 0x1800cca9a
mov rcx, qword [r8 + rdi + 8]
jmp 0x1800cca9f
lea rcx, [r8 + rdi + 8]
mov rdx, qword [rsp + 0x128]
call fcn.18010b680
test eax, eax
je 0x1800ccc51
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x170]
call fcn.18010b680
test eax, eax
je 0x1800ccc51
inc rbp
add rdi, 0x28
cmp rbp, r12
jge 0x1800ccc3f
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
jmp 0x1800cc8b0
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
sub rcx, rdi
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800ccb20
call fcn.1800f8c38
mov rdi, qword [rsp + 0x38]
lea rax, [rbp + rbp*4]
cmp qword [rdi + rax*8 + 0x20], 0x10
jb 0x1800ccb34
mov r9, qword [rdi + rax*8 + 8]
jmp 0x1800ccb39
lea r9, [rdi + rax*8 + 8]
lea r8, [0x180266400]
lea rdx, [0x180151a20]
lea rcx, [rsp + 0x280]
call fcn.1800f509c
lea r8, [rsp + 0x280]
lea rdx, [0x1801b1370]
lea rcx, [rsp + 0xc8]
call fcn.1800185f0
nop
lea r8, [0x18015284c]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800185f0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [0x1801b1370]
call fcn.1800035e0
nop
cmp qword [rsp + 0x98], 0x10
jb 0x1800ccbb5
mov rcx, qword [rsp + 0x80]
call fcn.1800f4b9c
mov qword [rsp + 0x98], 0xf
xor r12d, r12d
mov qword [rsp + 0x90], r12
mov byte [rsp + 0x80], r12b
cmp qword [rsp + 0xe8], 0x10
jb 0x1800ccbec
mov rcx, qword [rsp + 0xd0]
call fcn.1800f4b9c
mov qword [rsp + 0xe8], 0xf
mov qword [rsp + 0xe0], r12
mov byte [rsp + 0xd0], 0
lea r8, [0x1801b1378]
cmp qword [0x1801b1390], 0x10
cmovae r8, qword [0x1801b1378]
mov edx, 0xc4f7
lea rcx, [0x180167e08]
call fcn.18005cd20
movabs rbp, 0x6666666666666667
jmp 0x1800ccd98
movabs rbp, 0x6666666666666667
xor r12d, r12d
jmp 0x1800ccd98
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
sub rcx, rdi
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800ccc81
call fcn.1800f8c38
mov rdi, qword [rsp + 0x38]
lea rax, [rbp + rbp*4]
cmp qword [rdi + rax*8 + 0x20], 0x10
jb 0x1800ccc95
mov r9, qword [rdi + rax*8 + 8]
jmp 0x1800ccc9a
lea r9, [rdi + rax*8 + 8]
lea r8, [0x180266400]
lea rdx, [0x180151a20]
lea rcx, [rsp + 0x280]
call fcn.1800f509c
lea r8, [rsp + 0x280]
lea rdx, [0x1801b1370]
lea rcx, [rsp + 0x50]
call fcn.1800185f0
nop
lea r8, [0x18015284c]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1800185f0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [0x1801b1370]
call fcn.1800035e0
nop
cmp qword [rsp + 0xc0], 0x10
jb 0x1800ccd16
mov rcx, qword [rsp + 0xa8]
call fcn.1800f4b9c
mov qword [rsp + 0xc0], 0xf
xor r12d, r12d
mov qword [rsp + 0xb8], r12
mov byte [rsp + 0xa8], r12b
cmp qword [rsp + 0x70], 0x10
jb 0x1800ccd47
mov rcx, qword [rsp + 0x58]
call fcn.1800f4b9c
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], 0
lea r8, [0x1801b1378]
cmp qword [0x1801b1390], 0x10
cmovae r8, qword [0x1801b1378]
mov edx, 0xc50b
lea rcx, [0x180167e08]
call fcn.18005cd20
movabs rbp, 0x6666666666666667
jmp 0x1800ccd98
movabs rbp, 0x6666666666666667
inc r13
sub r14, 1
jne 0x1800cc7f0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1800ccdf5
mov rbx, qword [rsp + 0x40]
cmp rcx, rbx
je 0x1800ccdf0
lea rdi, [rcx + 0x20]
nop dword [rax]
cmp qword [rdi], 0x10
jb 0x1800ccdcf
mov rcx, qword [rdi - 0x18]
call fcn.1800f4b9c
mov qword [rdi], 0xf
mov qword [rdi - 8], r12
mov byte [rdi - 0x18], 0
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rbx
jne 0x1800ccdc0
mov rcx, qword [rsp + 0x38]
call fcn.1800f4b9c
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x20]
call fcn.1800f4b9c
mov eax, r15d
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.1800f4f80
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret