Function at 0x1400cfb54
Capabilities:
Get file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xccd0]
mov eax, 0xcdd0
call fcn.1400ec1b0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xce08], rbx
mov qword [rsp + 0xce10], rsi
mov qword [rsp + 0xce18], rdi
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0xccc0], rax
mov rbx, rcx
xor esi, esi
mov word [0x1401a0e00], si
mov word [0x1401a1e00], si
mov word [0x1401a2e00], si
mov byte [0x1401a0df6], sil
mov edx, dword [0x1401d8dd0]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rcx, qword [rax + rdx*8]
lea r13, [0x1401a4000]
lea rdi, [0x1401a40c0]
mov eax, dword [r8 + rcx]
cmp dword [0x1401a4a48], eax
jle 0x1400cfc46
lea rcx, [0x1401a4a48]
call fcn.1400ec950
cmp dword [0x1401a4a48], 0xffffffff
jne 0x1400cfc46
mov rcx, r13
call fcn.14008c830
nop
mov rcx, rdi
call fcn.14008c830
nop
lea rcx, [0x1401a4180]
call fcn.14008c830
nop
lea rcx, [0x140108ccc]
call fcn.1400ec760
nop
lea rcx, [0x1401a4a48]
call fcn.1400ec8f0
mov qword [0x1401a0de8], r13
mov rcx, r13
call fcn.14008ca28
mov rcx, rdi
call fcn.14008ca28
lea rcx, [0x1401a4180]
call fcn.14008ca28
mov al, byte [0x140142c44]
mov byte [0x1401a4a47], al
test rbx, rbx
jne 0x1400cfcaa
mov qword [rsp + 0x20], r13
lea r9, [0x1400d05a8]
mov r8, qword [0x140142ba0]
lea rdx, str.FINDFILES
mov rcx, qword [0x1401790a0]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x1400d0578
lea r9, [0x1400d1390]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 9]
call fcn.1400c535c
lea rcx, str.HELPSearchResults
call fcn.1400c67ac
mov r15d, 1
cmp byte [0x1401a4a43], sil
je 0x1400cfce1
mov cl, r15b
call fcn.140049828
mov r12d, 0x800
mov r14d, 2
test rbx, rbx
je 0x1400cfd6f
mov rcx, rsi
lea rax, [0x140158a44]
movzx eax, word [rcx + rax]
mov word [rbp + rcx + 0x84a0], ax
add rcx, r14
test ax, ax
jne 0x1400cfcf5
mov word [0x1401a4a41], 0x101
mov byte [0x1401a4a40], sil
lea rdx, [0x14010a4a8]
lea rcx, [0x1401a4180]
call fcn.14008c86c
lea rcx, [0x14015aa68]
call fcn.14008ca70
jmp 0x1400cfd50
lea rdx, [rbp + 0x8cc0]
mov rcx, r13
call fcn.14008c86c
mov r8, r12
lea rdx, [rbp + 0x8cc0]
lea rcx, [0x14015aa68]
call fcn.14008c940
test al, al
jne 0x1400cfd41
jmp 0x1400cfe32
mov word [rbp + 0x84a0], si
cmp word [0x1401a4240], si
je 0x1400cfe32
cmp byte [0x1401a4a44], sil
je 0x1400cfda6
lea rcx, [rbp + 0x84a0]
sub rcx, r14
add rcx, r14
cmp word [rcx], si
jne 0x1400cfd96
mov eax, dword [0x140117f2c]
mov dword [rcx], eax
cmp byte [0x1401a4a45], sil
je 0x1400cfdc9
lea rcx, [rbp + 0x84a0]
sub rcx, r14
add rcx, r14
cmp word [rcx], si
jne 0x1400cfdb9
mov eax, dword [0x140117f30]
mov dword [rcx], eax
cmp byte [0x1401a4a46], sil
je 0x1400cfdec
lea rcx, [rbp + 0x84a0]
sub rcx, r14
add rcx, r14
cmp word [rcx], si
jne 0x1400cfddc
mov eax, dword [0x140117f34]
mov dword [rcx], eax
lea rcx, [rbp + 0x84a0]
sub rcx, r14
add rcx, r14
cmp word [rcx], si
jne 0x1400cfdf6
mov eax, dword [0x140113d98]
mov dword [rcx], eax
lea rcx, [rbp + 0x84a0]
sub rcx, r14
add rcx, r14
cmp word [rcx], si
jne 0x1400cfe10
lea r8, [0x1401a4240]
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x1400cfe21
lea r12, [0x140165250]
cmp byte [0x140142c44], sil
je 0x1400cfe57
mov r8d, 0x800
lea rdx, [rbp + 0xbcc0]
mov rcx, r12
call fcn.140005234
mov dword [0x1401a0df0], esi
mov byte [0x1401a0df5], sil
mov byte [0x1401a0df4], r15b
cmp byte [0x1401a4a40], sil
je 0x1400cfe80
cmp byte [0x1401a4a47], sil
mov r8d, r14d
je 0x1400cfe83
mov r8d, esi
test rbx, rbx
cmove rbx, rdi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov rdx, rbx
lea rcx, [rbp + 0x32d0]
call fcn.140088d64
nop
mov qword [rbp + 0xf60], rsi
mov qword [rbp + 0xf68], rsi
mov qword [rbp + 0xf70], rsi
jmp 0x1400d044b
mov al, byte [0x140142c46]
test al, al
jne 0x1400d046a
call fcn.140045d24
mov edx, dword [0x1401a0df0]
test edx, edx
je 0x1400cfef5
mov r8b, byte [0x1401a4a47]
mov rcx, qword [0x140142bb8]
call fcn.1400d3790
mov dword [0x1401a0df0], esi
cmp word [rsp + 0x50], 0x2e
jne 0x1400cff0a
cmp word [rsp + 0x52], 0x5c
lea rcx, [rsp + 0x54]
je 0x1400cff0f
lea rcx, [rsp + 0x50]
lea rdx, [rbp + 0x9cc0]
sub rdx, rcx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, r14
test ax, ax
jne 0x1400cff19
mov edx, 0x50
lea rcx, [rbp + 0x9cc0]
call fcn.140045dc4
mov rbx, rax
mov ecx, 0x523
call fcn.1400868b8
mov r8, rax
mov r9, rbx
mov edx, 0x800
lea rcx, [rbp + 0xacc0]
call fcn.1400026d0
lea r8, [rbp + 0xacc0]
mov edx, 0x9b
mov rcx, qword [0x140142bb8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x1401a4a42], sil
je 0x1400d0302
cmp byte [rbp + 0xf5c], sil
jne 0x1400d0302
lea rdi, [0x1401a4180]
mov rcx, rdi
call fcn.14008ca70
jmp 0x1400cffb5
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14006c5d8
test al, al
jne 0x1400cffca
mov rcx, rdi
call fcn.14008c8e0
test rax, rax
mov rbx, rax
jne 0x1400cffa1
jmp 0x1400d0302
mov dil, r15b
cmp word [rbx], 0x2a
jne 0x1400d0015
cmp word [rbx + 2], si
jne 0x1400d0015
mov al, byte [0x1401a4a47]
test al, al
jne 0x1400d001b
mov byte [rsp + 0x38], r15b
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.1400056c4
mov dil, al
test al, al
je 0x1400d0302
mov al, byte [0x1401a4a47]
mov qword [0x140143d30], r14
movzx ecx, byte [0x1401657d4]
test al, al
cmovne ecx, r15d
mov byte [0x1401657d4], cl
cmp word [rbp + 0x84a0], si
setne r8b
mov r9d, r15d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140005a94
cmp eax, r14d
jne 0x1400d0067
call fcn.1400474ec
test al, al
je 0x1400d0464
jmp 0x1400d044b
cmp eax, r15d
jne 0x1400d0302
mov word [rbp + 0x8cc0], si
mov byte [rsp + 0x38], r15b
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rsi
mov r9d, 0x800
lea r8, [rbp + 0x8cc0]
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.1400056c4
lea rdx, [rbp + 0x8cc0]
lea rcx, [rsp + 0x50]
call fcn.14008f8d8
test eax, eax
je 0x1400d015d
lea rcx, [rbp + 0x8cc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x1400d044b
mov r8d, 0x800
lea rdx, [0x14010a4b8]
lea rcx, [rbp + 0x8cc0]
call fcn.140078e08
lea rdx, [rbp + 0x8cc0]
lea rcx, [rsp + 0x50]
call fcn.14008f8d8
test eax, eax
je 0x1400d0119
lea rcx, [rbp + 0x8cc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x1400d044b
mov r8d, 0x800
lea rdx, [0x14010a4b0]
lea rcx, [rbp + 0x8cc0]
call fcn.140078e08
lea rdx, [rbp + 0x8cc0]
lea rcx, [rsp + 0x50]
call fcn.14008f8d8
test eax, eax
je 0x1400d015d
lea rcx, [rbp + 0x8cc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx edi, dil
cmp eax, ebx
cmovne edi, esi
test dil, dil
je 0x1400d044b
mov rcx, r12
cmp word [rbp + 0x84a0], si
jne 0x1400d0220
mov ebx, esi
mov qword [rbp + 0x3260], rsi
mov qword [rbp + 0x3268], rsi
mov qword [rbp + 0x3270], rsi
jmp 0x1400d0204
cmp byte [0x140142c46], sil
jne 0x1400d044b
add ebx, r15d
test bl, 0x1f
jne 0x1400d01a9
call fcn.140045d24
mov rcx, r13
call fcn.14008ca70
jmp 0x1400d01cc
mov r8d, 4
lea rdx, [rbp + 0x21d0]
mov rcx, rax
call fcn.14006c5d8
test al, al
jne 0x1400d01db
mov rcx, r13
call fcn.14008c8e0
test rax, rax
jne 0x1400d01b3
jmp 0x1400d0201
mov ecx, dword [rbp + 0x3278]
call fcn.140068c14
mov r8b, al
lea r9, [0x14010c464]
lea rdx, [rbp + 0x21d0]
lea rcx, [rsp + 0x50]
call fcn.1400d5964
mov rcx, r12
mov r8b, r15b
lea rdx, [rbp + 0x21d0]
call fcn.1400052b0
test al, al
jne 0x1400d018f
jmp 0x1400d044b
lea rdx, [rbp + 0xfa0]
call fcn.140005254
mov rcx, r12
call fcn.140004f60
bt rax, 0xa
jae 0x1400d0259
mov ecx, 0x3ac
call fcn.1400868b8
mov rdx, rax
lea rcx, [0x140159a62]
call fcn.1400d2d44
jmp 0x1400d044b
xor ecx, ecx
call fcn.1400bdf24
mov r8d, 0x800
lea rdx, [0x140159a62]
mov rcx, r12
call fcn.140004e60
mov eax, dword [rbp + 0x10e8]
mov dword [0x140156a00], eax
lea rcx, [0x14015aa68]
call fcn.14008ca28
mov rcx, r13
call fcn.14008ca70
jmp 0x1400d02a6
mov rdx, rax
lea rcx, [0x14015aa68]
call fcn.14008c86c
mov rcx, r13
call fcn.14008c8e0
test rax, rax
jne 0x1400d0297
mov byte [0x140154921], r15b
mov qword [0x140154900], rsi
mov qword [0x140154908], rsi
lea r9, [rbp + 0x84a0]
lea r8, [0x140117f38]
mov edx, 0x810
lea rcx, [0x140158a42]
call fcn.1400026d0
mov byte [0x140158a28], r15b
mov qword [0x140143d30], r14
mov rcx, r12
call fcn.140006a8c
jmp 0x1400d044b
cmp byte [0x1401a4a41], sil
je 0x1400d044b
cmp byte [rbp + 0xf5c], sil
je 0x1400d0325
cmp word [rbp + 0x84a0], si
jne 0x1400d044b
mov rcx, r13
call fcn.14008ca70
jmp 0x1400d0346
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14006c5d8
test al, al
jne 0x1400d0358
mov rcx, r13
call fcn.14008c8e0
test rax, rax
jne 0x1400d032f
jmp 0x1400d044b
mov ecx, 0x10000
call fcn.1400f3030
mov rbx, rax
test rax, rax
jne 0x1400d037b
lea rcx, [0x140179130]
call fcn.140062b84
jmp 0x1400d044b
cmp word [rbp + 0x84a0], si
jne 0x1400d03bb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x84a0]
xor edx, edx
xor ecx, ecx
call fcn.14006a5d0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14006a5d0
jmp 0x1400d0443
lea rcx, [rbp + 0x11a0]
call fcn.140067424
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x11a0]
call fcn.1400679d4
test al, al
jne 0x1400d03f1
lea rcx, [rbp + 0x11a0]
call fcn.140067460
jmp 0x1400d044b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x84a0]
xor edx, edx
xor ecx, ecx
jmp 0x1400d0416
movsxd rdx, eax
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rbx
xor r9d, r9d
call fcn.14006a5d0
mov r8d, 0x10000
mov rdx, rbx
lea rcx, [rbp + 0x11a0]
call fcn.140067c38
test eax, eax
jne 0x1400d0408
lea rcx, [rbp + 0x11a0]
call fcn.140067460
mov rcx, rbx
call fcn.1400f3028
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x32d0]
call fcn.140089920
test eax, eax
je 0x1400cfebf
mov al, byte [0x140142c46]
mov byte [0x1401a0df4], sil
test al, al
je 0x1400d0488
movzx eax, al
cmp byte [0x1401a0df6], sil
cmovne eax, esi
mov byte [0x140142c46], al
mov edx, dword [0x1401a0df0]
test edx, edx
je 0x1400d04ab
mov r8b, byte [0x1401a4a47]
mov rcx, qword [0x140142bb8]
call fcn.1400d3790
mov dword [0x1401a0df0], esi
mov byte [0x1401a0df5], sil
mov ecx, 0x270
call fcn.1400868b8
mov r8, rax
mov edx, 0x9b
mov rcx, qword [0x140142bb8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x140142c46], sil
je 0x1400d04e9
mov rcx, qword [0x140142bb8]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1400d04ee
call fcn.1400c67c4
cmp word [0x1401a1e00], si
je 0x1400d0518
lea rdx, [0x1401a1e00]
lea rbx, [0x140168030]
mov rcx, rbx
call fcn.140040cd0
cmp word [0x1401a0e00], si
je 0x1400d0542
jmp 0x1400d0530
cmp word [0x1401a0e00], si
je 0x1400d0553
lea rbx, [0x140168030]
mov rcx, rbx
call fcn.14003e918
mov r8b, r15b
lea rdx, [0x1401a0e00]
mov rcx, rbx
call fcn.14003e3d0
lea rdx, [0x1401a2e00]
mov rcx, rbx
call fcn.1400401d0
jmp 0x1400d056c
cmp byte [0x140142c44], sil
je 0x1400d056c
lea rdx, [rbp + 0xbcc0]
mov rcx, r12
call fcn.140006ac4
nop
lea rcx, [rbp + 0x32d0]
call fcn.140088e34
mov rcx, qword [rbp + 0xccc0]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0xcdd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret