Function at 0x1400c677c
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 [0x14018e630], si
mov word [0x14018d630], si
mov word [0x14018c630], si
mov byte [0x14018c451], sil
mov eax, dword [0x140192d20]
lea r13, [0x1401922f0]
lea r12, [0x1401923a8]
lea rdi, [0x140192460]
lea ebp, [rsi + 1]
test bpl, al
jne 0x1400c683a
or eax, ebp
mov dword [0x140192d20], eax
mov rcx, r13
call fcn.140066320
nop
mov rcx, r12
call fcn.140066320
nop
mov rcx, rdi
call fcn.140066320
nop
lea rcx, [0x140107638]
call fcn.1400ee7f4
nop
mov qword [0x14018f630], r13
mov rcx, r13
call fcn.140066150
mov rcx, r12
call fcn.140066150
mov rcx, rdi
call fcn.140066150
mov dl, byte [0x1401561c5]
mov byte [0x140192d1f], dl
cmp rbx, rsi
jne 0x1400c689a
mov qword [rsp + 0x20], r13
lea r9, [0x1400c125c]
mov r8, qword [0x140158350]
lea rdx, str.FINDFILES
mov rcx, qword [0x140149f18]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, rsi
je 0x1400c723f
lea r9, [0x1400c2024]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 8]
call fcn.1400b9a04
lea rcx, str.HELPSearchResults
call fcn.1400b7748
cmp byte [0x140192d1b], sil
je 0x1400c68cb
mov cl, bpl
call fcn.1400970e8
mov r14d, 0x800
mov r15d, 2
cmp rbx, rsi
je 0x1400c697a
mov rcx, rsi
lea rax, [0x140172f2c]
movzx eax, word [rcx + rax]
mov word [rsp + rcx + 0x8570], ax
add rcx, r15
cmp ax, si
jne 0x1400c68e3
mov byte [0x140192d1a], bpl
mov byte [0x140192d19], bpl
mov byte [0x140192d18], sil
lea rdx, [0x14010be18]
mov rcx, rdi
call fcn.140066178
lea rdi, [0x140174f50]
mov rcx, rdi
call fcn.140066108
mov r8, r14
lea rdx, [rsp + 0x8d90]
mov rcx, rdi
call fcn.140066358
cmp al, sil
je 0x1400c6a46
lea rdx, [rsp + 0x8d90]
mov rcx, r13
call fcn.140066178
mov r8, r14
lea rdx, [rsp + 0x8d90]
mov rcx, rdi
call fcn.140066358
cmp al, sil
jne 0x1400c694d
jmp 0x1400c6a46
mov word [rsp + 0x8570], si
cmp word [0x140192518], si
je 0x1400c6a46
or rdx, 0xffffffffffffffff
cmp byte [0x140192d1c], sil
je 0x1400c69b7
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
mov eax, dword [0x140116dd0]
mov dword [rdi], eax
cmp byte [0x140192d1d], sil
je 0x1400c69db
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
mov eax, dword [0x140116dcc]
mov dword [rdi], eax
cmp byte [0x140192d1e], sil
je 0x1400c69ff
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
mov eax, dword [0x140116dc8]
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 [0x140112150]
mov dword [rdi], eax
lea rdi, [rsp + 0x8570]
xor eax, eax
mov rcx, rdx
repne scasw ax, word [rdi]
sub rdi, r15
lea rdx, [0x140192518]
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r15
test ax, ax
jne 0x1400c6a36
lea r14, [0x140164e70]
cmp byte [0x1401561c5], sil
je 0x1400c6a6c
mov r8d, 0x800
lea rdx, [rsp + 0xad90]
mov rcx, r14
call fcn.14007856c
mov dword [0x14018c48c], esi
mov byte [0x14018c452], sil
mov byte [0x14018c453], bpl
cmp byte [0x140192d18], sil
je 0x1400c6a97
cmp byte [0x140192d1f], sil
jne 0x1400c6a97
mov r8d, r15d
jmp 0x1400c6a9a
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.140062264
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.140063054
cmp eax, esi
jne 0x1400c7107
or r12d, 0xffffffff
mov al, byte [0x1401572a1]
cmp al, sil
jne 0x1400c710d
call fcn.140096a78
mov edx, dword [0x14018c48c]
cmp edx, esi
je 0x1400c6b2a
mov r8b, byte [0x140192d1f]
mov rcx, qword [0x1401561c8]
call fcn.1400c0b5c
mov dword [0x14018c48c], esi
cmp word [rsp + 0x50], 0x2e
jne 0x1400c6b41
cmp word [rsp + 0x52], 0x5c
jne 0x1400c6b41
lea rcx, [rsp + 0x54]
jmp 0x1400c6b46
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 0x1400c6b4e
mov edx, 0x50
lea rcx, [rsp + 0xbd90]
call fcn.140096b10
mov rdi, rax
mov ecx, 0x523
call fcn.14005fad8
mov r8, rax
mov r9, rdi
mov edx, 0x800
lea rcx, [rsp + 0x9d90]
call fcn.1400e0c0c
lea r8, [rsp + 0x9d90]
mov edx, 0x9b
mov rcx, qword [0x1401561c8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x140192d1a], sil
je 0x1400c6f7d
cmp byte [rsp + 0x105c], sil
jne 0x1400c6f7d
lea rbx, [0x140192460]
mov rcx, rbx
call fcn.140066108
mov rcx, rbx
call fcn.140066438
mov rdi, rax
cmp rax, rsi
je 0x1400c6f7d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140045978
cmp al, sil
jne 0x1400c6c18
mov rcx, rbx
call fcn.140066438
mov rdi, rax
cmp rax, rsi
jne 0x1400c6bee
jmp 0x1400c6f7d
mov bl, bpl
cmp word [rdi], 0x2a
jne 0x1400c6c5f
cmp word [rdi + 2], si
jne 0x1400c6c5f
mov al, byte [0x140192d1f]
cmp al, sil
jne 0x1400c6c65
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.140079160
mov bl, al
cmp al, sil
je 0x1400c6f7d
mov al, byte [0x140192d1f]
mov qword [0x140157280], r15
movzx ecx, byte [0x1401654a4]
cmp al, sil
cmovne ecx, ebp
mov byte [0x1401654a4], cl
cmp word [rsp + 0x8570], si
setne r8b
mov r9d, ebp
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140079b04
cmp eax, r15d
jne 0x1400c6cb3
call fcn.1400970d0
cmp al, sil
je 0x1400c7107
jmp 0x1400c70ed
cmp eax, ebp
jne 0x1400c6f7d
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.140079160
lea rdx, [rsp + 0x8d90]
lea rcx, [rsp + 0x50]
call fcn.140068d30
cmp eax, esi
je 0x1400c6daa
lea rcx, [rsp + 0x8d90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, r12d
jne 0x1400c70ed
mov edi, 0x800
mov r8, rdi
lea rdx, [0x14010bf28]
lea rcx, [rsp + 0x8d90]
call fcn.140051730
lea rdx, [rsp + 0x8d90]
lea rcx, [rsp + 0x50]
call fcn.140068d30
cmp eax, esi
je 0x1400c6d64
lea rcx, [rsp + 0x8d90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, r12d
jne 0x1400c70ed
mov r8, rdi
lea rdx, [0x14010bf30]
lea rcx, [rsp + 0x8d90]
call fcn.140051730
lea rdx, [rsp + 0x8d90]
lea rcx, [rsp + 0x50]
call fcn.140068d30
cmp eax, esi
je 0x1400c6daf
lea rcx, [rsp + 0x8d90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx ebx, bl
cmp eax, r12d
cmovne ebx, esi
jmp 0x1400c6daf
mov edi, 0x800
cmp bl, sil
je 0x1400c70ed
cmp word [rsp + 0x8570], si
jne 0x1400c6e8e
mov edi, esi
mov qword [rsp + 0x2330], rsi
mov r8b, bpl
lea rdx, [rsp + 0x12a0]
mov rcx, r14
call fcn.140078280
cmp al, sil
je 0x1400c70ed
cmp byte [0x1401572a1], sil
jne 0x1400c70ed
add edi, ebp
test dil, 0x1f
jne 0x1400c6e06
call fcn.140096a78
mov rcx, r13
call fcn.140066108
mov rcx, r13
call fcn.140066438
cmp rax, rsi
je 0x1400c6e6d
mov r8d, 4
lea rdx, [rsp + 0x12a0]
mov rcx, rax
call fcn.140045978
cmp al, sil
jne 0x1400c6e45
mov rcx, r13
call fcn.140066438
cmp rax, rsi
jne 0x1400c6e1b
jmp 0x1400c6e6d
mov ecx, dword [rsp + 0x2338]
call fcn.140041fa8
mov r8b, al
lea r9, [0x1401096e8]
lea rdx, [rsp + 0x12a0]
lea rcx, [rsp + 0x50]
call fcn.1400bd0d0
mov r8b, bpl
lea rdx, [rsp + 0x12a0]
mov rcx, r14
call fcn.140078280
cmp al, sil
jne 0x1400c6dec
jmp 0x1400c70ed
lea rdx, [rsp + 0x10a0]
mov rcx, r14
call fcn.1400785a8
mov rcx, r14
call fcn.14007885c
bt rax, 0xa
jae 0x1400c6ecb
mov ecx, 0x3ac
call fcn.14005fad8
mov rdx, rax
lea rcx, [0x140173f4a]
call fcn.1400c5da8
jmp 0x1400c70ed
xor ecx, ecx
call fcn.1400b1510
mov r8, rdi
lea rdx, [0x140173f4a]
mov rcx, r14
call fcn.14007858c
mov edx, dword [rsp + 0x11e8]
mov dword [0x140170ee8], edx
lea rdi, [0x140174f50]
mov rcx, rdi
call fcn.140066150
mov rcx, r13
call fcn.140066108
mov rcx, r13
call fcn.140066438
cmp rax, rsi
je 0x1400c6f2d
mov rdx, rax
mov rcx, rdi
call fcn.140066178
mov rcx, r13
call fcn.140066438
cmp rax, rsi
jne 0x1400c6f15
mov byte [0x14016ee09], bpl
mov qword [0x14016ede8], rsi
mov qword [0x14016edf0], rsi
lea r9, [rsp + 0x8570]
lea r8, [0x140116dc0]
mov edx, 0x810
lea rcx, [0x140172f2a]
call fcn.1400e0c0c
mov byte [0x140172f10], bpl
mov qword [0x140157280], r15
mov rcx, r14
call fcn.1400780e0
jmp 0x1400c70ed
cmp byte [0x140192d19], sil
je 0x1400c70ed
cmp byte [rsp + 0x105c], sil
je 0x1400c6fa2
cmp word [rsp + 0x8570], si
jne 0x1400c70ed
mov rcx, r13
call fcn.140066108
mov rcx, r13
call fcn.140066438
cmp rax, rsi
je 0x1400c70ed
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140045978
cmp al, sil
jne 0x1400c6fe5
mov rcx, r13
call fcn.140066438
cmp rax, rsi
jne 0x1400c6fbb
jmp 0x1400c70ed
cmp word [rsp + 0x8570], si
jne 0x1400c702c
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x8570]
xor edx, edx
xor ecx, ecx
call fcn.1400443f0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xcd90]
call fcn.1400443f0
jmp 0x1400c70ed
lea rcx, [rsp + 0x2390]
call fcn.140041028
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2390]
call fcn.1400410ac
cmp al, sil
jne 0x1400c7069
lea rcx, [rsp + 0x2390]
call fcn.1400417f0
jmp 0x1400c70ed
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x8570]
xor edx, edx
xor ecx, ecx
call fcn.1400443f0
mov r8d, 0x10000
lea rdx, [rsp + 0xcd90]
lea rcx, [rsp + 0x2390]
call fcn.140041ab0
cmp eax, esi
je 0x1400c70e0
movsxd rdx, eax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0xcd90]
call fcn.1400443f0
mov r8d, 0x10000
lea rdx, [rsp + 0xcd90]
lea rcx, [rsp + 0x2390]
call fcn.140041ab0
cmp eax, esi
jne 0x1400c70a6
lea rcx, [rsp + 0x2390]
call fcn.1400417f0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x33c0]
call fcn.140063054
cmp eax, esi
je 0x1400c6af3
mov al, byte [0x1401572a1]
mov byte [0x14018c453], sil
cmp al, sil
je 0x1400c712c
movzx eax, al
cmp byte [0x14018c451], sil
cmovne eax, esi
mov byte [0x1401572a1], al
mov edx, dword [0x14018c48c]
cmp edx, esi
je 0x1400c714f
mov r8b, byte [0x140192d1f]
mov rcx, qword [0x1401561c8]
call fcn.1400c0b5c
mov dword [0x14018c48c], esi
mov byte [0x14018c452], sil
mov ecx, 0x270
call fcn.14005fad8
mov r8, rax
mov edx, 0x9b
mov rcx, qword [0x1401561c8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x1401572a1], sil
je 0x1400c718d
mov rcx, qword [0x1401561c8]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1400c7192
call fcn.1400b7264
cmp word [0x14018d630], si
je 0x1400c71dd
lea rdx, [0x14018d630]
lea rdi, [0x140162be0]
mov rcx, rdi
call fcn.140094834
cmp word [0x14018e630], si
je 0x1400c71cc
mov r8b, bpl
lea rdx, [0x14018e630]
mov rcx, rdi
call fcn.140094978
lea rdx, [0x14018c630]
mov rcx, rdi
call fcn.140092de0
jmp 0x1400c7232
cmp word [0x14018e630], si
je 0x1400c7218
lea rdi, [0x140162be0]
mov rcx, rdi
call fcn.140091528
mov r8b, bpl
lea rdx, [0x14018e630]
mov rcx, rdi
call fcn.140094978
lea rdx, [0x14018c630]
mov rcx, rdi
call fcn.140092de0
jmp 0x1400c7232
cmp byte [0x1401561c5], sil
je 0x1400c7232
lea rdx, [rsp + 0xad90]
mov rcx, r14
call fcn.14007844c
nop
lea rcx, [rsp + 0x33c0]
call fcn.140062328
mov rcx, qword [rsp + 0x1cd90]
xor rcx, rsp
call fcn.1400e9d80
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