Function at 0x1400c6774
Capabilities:
Get file attributes

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1cda0
call fcn.1400fe810
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1cdd8], rbx
mov qword [rsp + 0x1cde0], rbp
mov qword [rsp + 0x1cde8], rsi
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1cd90], rax
mov rbx, rcx
xor esi, esi
mov word [0x14018e610], si
mov word [0x14018d610], si
mov word [0x14018c610], si
mov byte [0x14018c431], sil
mov eax, dword [0x140192d00]
lea r13, [0x1401922d0]
lea r12, [0x140192388]
lea rdi, [0x140192440]
lea ebp, [rsi + 1]
test bpl, al
jne 0x1400c6832
or eax, ebp
mov dword [0x140192d00], eax
mov rcx, r13
call fcn.14006634c
nop
mov rcx, r12
call fcn.14006634c
nop
mov rcx, rdi
call fcn.14006634c
nop
lea rcx, [0x140107640]
call fcn.1400ee7f4
nop
mov qword [0x14018f610], r13
mov rcx, r13
call fcn.14006617c
mov rcx, r12
call fcn.14006617c
mov rcx, rdi
call fcn.14006617c
mov dl, byte [0x1401561a5]
mov byte [0x140192cff], dl
cmp rbx, rsi
jne 0x1400c6892
mov qword [rsp + 0x20], r13
lea r9, [0x1400c124c]
mov r8, qword [0x140158330]
lea rdx, str.FINDFILES
mov rcx, qword [0x140149ef8]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, rsi
je 0x1400c7237
lea r9, [0x1400c2014]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 8]
call fcn.1400b99d4
lea rcx, str.HELPSearchResults
call fcn.1400b7718
cmp byte [0x140192cfb], sil
je 0x1400c68c3
mov cl, bpl
call fcn.140097084
mov r14d, 0x800
mov r15d, 2
cmp rbx, rsi
je 0x1400c6972
mov rcx, rsi
lea rax, [0x140172f0c]
movzx eax, word [rcx + rax]
mov word [rsp + rcx + 0x8570], ax
add rcx, r15
cmp ax, si
jne 0x1400c68db
mov byte [0x140192cfa], bpl
mov byte [0x140192cf9], bpl
mov byte [0x140192cf8], sil
lea rdx, [0x14010be18]
mov rcx, rdi
call fcn.1400661a4
lea rdi, [0x140174f30]
mov rcx, rdi
call fcn.140066134
mov r8, r14
lea rdx, [rsp + 0x8d90]
mov rcx, rdi
call fcn.140066384
cmp al, sil
je 0x1400c6a3e
lea rdx, [rsp + 0x8d90]
mov rcx, r13
call fcn.1400661a4
mov r8, r14
lea rdx, [rsp + 0x8d90]
mov rcx, rdi
call fcn.140066384
cmp al, sil
jne 0x1400c6945
jmp 0x1400c6a3e
mov word [rsp + 0x8570], si
cmp word [0x1401924f8], si
je 0x1400c6a3e
or rdx, 0xffffffffffffffff
cmp byte [0x140192cfc], sil
je 0x1400c69af
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
mov eax, dword [0x140116df0]
mov dword [rdi], eax
cmp byte [0x140192cfd], sil
je 0x1400c69d3
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
mov eax, dword [0x140116dec]
mov dword [rdi], eax
cmp byte [0x140192cfe], sil
je 0x1400c69f7
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
mov eax, dword [0x140116de8]
mov dword [rdi], eax
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
mov eax, dword [0x140112140]
mov dword [rdi], eax
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
lea rdx, [0x1401924f8]
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r15
test ax, ax
jne 0x1400c6a2e
lea r14, [0x140164e50]
cmp byte [0x1401561a5], sil
je 0x1400c6a64
mov r8d, 0x800
lea rdx, [rsp + 0xad90]
mov rcx, r14
call fcn.140078514
mov dword [0x14018c46c], esi
mov byte [0x14018c432], sil
mov byte [0x14018c433], bpl
cmp byte [0x140192cf8], sil
je 0x1400c6a8f
cmp byte [0x140192cff], sil
jne 0x1400c6a8f
mov r8d, r15d
jmp 0x1400c6a92
mov r8d, esi
cmp rbx, rsi
cmove rbx, r12
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov rdx, rbx
lea rcx, [rsp + 0x33c0]
call fcn.140062290
nop
mov qword [rsp + 0x1060], rsi
mov qword [rsp + 0x1068], rsi
mov qword [rsp + 0x1070], rsi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x33c0]
call fcn.140063080
cmp eax, esi
jne 0x1400c70ff
or r12d, 0xffffffff
mov al, byte [0x140157281]
cmp al, sil
jne 0x1400c7105
call fcn.140096a14
mov edx, dword [0x14018c46c]
cmp edx, esi
je 0x1400c6b22
mov r8b, byte [0x140192cff]
mov rcx, qword [0x1401561a8]
call fcn.1400c0b4c
mov dword [0x14018c46c], esi
cmp word [rsp + 0x50], 0x2e
jne 0x1400c6b39
cmp word [rsp + 0x52], 0x5c
jne 0x1400c6b39
lea rcx, [rsp + 0x54]
jmp 0x1400c6b3e
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0xbd90]
movzx eax, word [rcx]
mov word [rdx], ax
add rcx, r15
add rdx, r15
cmp ax, si
jne 0x1400c6b46
mov edx, 0x50
lea rcx, [rsp + 0xbd90]
call fcn.140096aac
mov rdi, rax
mov ecx, 0x523
call fcn.14005fad0
mov r8, rax
mov r9, rdi
mov edx, 0x800
lea rcx, [rsp + 0x9d90]
call fcn.140057264
lea r8, [rsp + 0x9d90]
mov edx, 0x9b
mov rcx, qword [0x1401561a8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x140192cfa], sil
je 0x1400c6f75
cmp byte [rsp + 0x105c], sil
jne 0x1400c6f75
lea rbx, [0x140192440]
mov rcx, rbx
call fcn.140066134
mov rcx, rbx
call fcn.140066464
mov rdi, rax
cmp rax, rsi
je 0x1400c6f75
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140045970
cmp al, sil
jne 0x1400c6c10
mov rcx, rbx
call fcn.140066464
mov rdi, rax
cmp rax, rsi
jne 0x1400c6be6
jmp 0x1400c6f75
mov bl, bpl
cmp word [rdi], 0x2a
jne 0x1400c6c57
cmp word [rdi + 2], si
jne 0x1400c6c57
mov al, byte [0x140192cff]
cmp al, sil
jne 0x1400c6c5d
mov byte [rsp + 0x30], bpl
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x20], sil
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140079108
mov bl, al
cmp al, sil
je 0x1400c6f75
mov al, byte [0x140192cff]
mov qword [0x140157260], r15
movzx ecx, byte [0x140165484]
cmp al, sil
cmovne ecx, ebp
mov byte [0x140165484], cl
cmp word [rsp + 0x8570], si
setne r8b
mov r9d, ebp
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140079aac
cmp eax, r15d
jne 0x1400c6cab
call fcn.14009706c
cmp al, sil
je 0x1400c70ff
jmp 0x1400c70e5
cmp eax, ebp
jne 0x1400c6f75
mov word [rsp + 0x8d90], si
mov byte [rsp + 0x30], bpl
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x20], sil
xor r9d, r9d
lea r8, [rsp + 0x8d90]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140079108
lea rdx, [rsp + 0x8d90]
lea rcx, [rsp + 0x50]
call fcn.140068ca4
cmp eax, esi
je 0x1400c6da2
lea rcx, [rsp + 0x8d90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, r12d
jne 0x1400c70e5
mov edi, 0x800
mov r8, rdi
lea rdx, [0x14010bf28]
lea rcx, [rsp + 0x8d90]
call fcn.140051728
lea rdx, [rsp + 0x8d90]
lea rcx, [rsp + 0x50]
call fcn.140068ca4
cmp eax, esi
je 0x1400c6d5c
lea rcx, [rsp + 0x8d90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, r12d
jne 0x1400c70e5
mov r8, rdi
lea rdx, [0x14010bf30]
lea rcx, [rsp + 0x8d90]
call fcn.140051728
lea rdx, [rsp + 0x8d90]
lea rcx, [rsp + 0x50]
call fcn.140068ca4
cmp eax, esi
je 0x1400c6da7
lea rcx, [rsp + 0x8d90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx ebx, bl
cmp eax, r12d
cmovne ebx, esi
jmp 0x1400c6da7
mov edi, 0x800
cmp bl, sil
je 0x1400c70e5
cmp word [rsp + 0x8570], si
jne 0x1400c6e86
mov edi, esi
mov qword [rsp + 0x2330], rsi
mov r8b, bpl
lea rdx, [rsp + 0x12a0]
mov rcx, r14
call fcn.140078228
cmp al, sil
je 0x1400c70e5
cmp byte [0x140157281], sil
jne 0x1400c70e5
add edi, ebp
test dil, 0x1f
jne 0x1400c6dfe
call fcn.140096a14
mov rcx, r13
call fcn.140066134
mov rcx, r13
call fcn.140066464
cmp rax, rsi
je 0x1400c6e65
mov r8d, 4
lea rdx, [rsp + 0x12a0]
mov rcx, rax
call fcn.140045970
cmp al, sil
jne 0x1400c6e3d
mov rcx, r13
call fcn.140066464
cmp rax, rsi
jne 0x1400c6e13
jmp 0x1400c6e65
mov ecx, dword [rsp + 0x2338]
call fcn.140041fa0
mov r8b, al
lea r9, [0x140109870]
lea rdx, [rsp + 0x12a0]
lea rcx, [rsp + 0x50]
call fcn.1400bd0b4
mov r8b, bpl
lea rdx, [rsp + 0x12a0]
mov rcx, r14
call fcn.140078228
cmp al, sil
jne 0x1400c6de4
jmp 0x1400c70e5
lea rdx, [rsp + 0x10a0]
mov rcx, r14
call fcn.140078550
mov rcx, r14
call fcn.140078804
bt rax, 0xa
jae 0x1400c6ec3
mov ecx, 0x3ac
call fcn.14005fad0
mov rdx, rax
lea rcx, [0x140173f2a]
call fcn.1400c5d9c
jmp 0x1400c70e5
xor ecx, ecx
call fcn.1400b1468
mov r8, rdi
lea rdx, [0x140173f2a]
mov rcx, r14
call fcn.140078534
mov edx, dword [rsp + 0x11e8]
mov dword [0x140170ec8], edx
lea rdi, [0x140174f30]
mov rcx, rdi
call fcn.14006617c
mov rcx, r13
call fcn.140066134
mov rcx, r13
call fcn.140066464
cmp rax, rsi
je 0x1400c6f25
mov rdx, rax
mov rcx, rdi
call fcn.1400661a4
mov rcx, r13
call fcn.140066464
cmp rax, rsi
jne 0x1400c6f0d
mov byte [0x14016ede9], bpl
mov qword [0x14016edc8], rsi
mov qword [0x14016edd0], rsi
lea r9, [rsp + 0x8570]
lea r8, [0x140116de0]
mov edx, 0x810
lea rcx, [0x140172f0a]
call fcn.140057264
mov byte [0x140172ef0], bpl
mov qword [0x140157260], r15
mov rcx, r14
call fcn.140078088
jmp 0x1400c70e5
cmp byte [0x140192cf9], sil
je 0x1400c70e5
cmp byte [rsp + 0x105c], sil
je 0x1400c6f9a
cmp word [rsp + 0x8570], si
jne 0x1400c70e5
mov rcx, r13
call fcn.140066134
mov rcx, r13
call fcn.140066464
cmp rax, rsi
je 0x1400c70e5
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140045970
cmp al, sil
jne 0x1400c6fdd
mov rcx, r13
call fcn.140066464
cmp rax, rsi
jne 0x1400c6fb3
jmp 0x1400c70e5
cmp word [rsp + 0x8570], si
jne 0x1400c7024
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x8570]
xor edx, edx
xor ecx, ecx
call fcn.1400443e8
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xcd90]
call fcn.1400443e8
jmp 0x1400c70e5
lea rcx, [rsp + 0x2390]
call fcn.140041020
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2390]
call fcn.1400410a4
cmp al, sil
jne 0x1400c7061
lea rcx, [rsp + 0x2390]
call fcn.1400417e8
jmp 0x1400c70e5
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x8570]
xor edx, edx
xor ecx, ecx
call fcn.1400443e8
mov r8d, 0x10000
lea rdx, [rsp + 0xcd90]
lea rcx, [rsp + 0x2390]
call fcn.140041aa8
cmp eax, esi
je 0x1400c70d8
movsxd rdx, eax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0xcd90]
call fcn.1400443e8
mov r8d, 0x10000
lea rdx, [rsp + 0xcd90]
lea rcx, [rsp + 0x2390]
call fcn.140041aa8
cmp eax, esi
jne 0x1400c709e
lea rcx, [rsp + 0x2390]
call fcn.1400417e8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x33c0]
call fcn.140063080
cmp eax, esi
je 0x1400c6aeb
mov al, byte [0x140157281]
mov byte [0x14018c433], sil
cmp al, sil
je 0x1400c7124
movzx eax, al
cmp byte [0x14018c431], sil
cmovne eax, esi
mov byte [0x140157281], al
mov edx, dword [0x14018c46c]
cmp edx, esi
je 0x1400c7147
mov r8b, byte [0x140192cff]
mov rcx, qword [0x1401561a8]
call fcn.1400c0b4c
mov dword [0x14018c46c], esi
mov byte [0x14018c432], sil
mov ecx, 0x270
call fcn.14005fad0
mov r8, rax
mov edx, 0x9b
mov rcx, qword [0x1401561a8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x140157281], sil
je 0x1400c7185
mov rcx, qword [0x1401561a8]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1400c718a
call fcn.1400b7234
cmp word [0x14018d610], si
je 0x1400c71d5
lea rdx, [0x14018d610]
lea rdi, [0x140162bc0]
mov rcx, rdi
call fcn.1400947bc
cmp word [0x14018e610], si
je 0x1400c71c4
mov r8b, bpl
lea rdx, [0x14018e610]
mov rcx, rdi
call fcn.140094900
lea rdx, [0x14018c610]
mov rcx, rdi
call fcn.140092d68
jmp 0x1400c722a
cmp word [0x14018e610], si
je 0x1400c7210
lea rdi, [0x140162bc0]
mov rcx, rdi
call fcn.1400914ac
mov r8b, bpl
lea rdx, [0x14018e610]
mov rcx, rdi
call fcn.140094900
lea rdx, [0x14018c610]
mov rcx, rdi
call fcn.140092d68
jmp 0x1400c722a
cmp byte [0x1401561a5], sil
je 0x1400c722a
lea rdx, [rsp + 0xad90]
mov rcx, r14
call fcn.1400783f4
nop
lea rcx, [rsp + 0x33c0]
call fcn.140062354
mov rcx, qword [rsp + 0x1cd90]
xor rcx, rsp
call fcn.1400e9d00
lea r11, [rsp + 0x1cda0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret