Function at 0x10028d00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ae026
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10206370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0
cmp dword [ebp + 8], 0
je 0x10028d66
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 2
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x5c]
mov ax, word [edx]
mov word [ebp - 0x62], ax
add dword [ebp - 0x5c], 2
cmp word [ebp - 0x62], 0
jne 0x10028d44
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x60]
sar ecx, 1
mov dword [ebp - 0x68], ecx
jne 0x10028d6d
xor eax, eax
jmp 0x10028fa9
push str..tmp
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.1017ec3d
add esp, 8
test eax, eax
jne 0x10028d9c
push 0x101d79fc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10028db2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 2
je 0x10028db2
xor eax, eax
jmp 0x10028fa9
mov edx, dword [0x10211388]
and edx, 1
jne 0x10028def
mov eax, dword [0x10211388]
or eax, 1
mov dword [0x10211388], eax
mov dword [ebp - 4], 0
mov ecx, 0x10211368
call fcn.1001aa20
push 0x101b3eb0
call fcn.1017e703
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x10211368
call fcn.100d84b0
movzx ecx, al
test ecx, ecx
je 0x10028ebc
push 0
push 0x101d7a00
push str.ext_filter
push str.DesktopDocSet
lea edx, [ebp - 0x18]
push edx
call fcn.10026de0
mov ecx, eax
call fcn.10026df0
mov dword [ebp - 4], 1
push 0x101d7a38
push 0x104
lea ecx, [ebp - 0x18]
call fcn.1000b350
push eax
call fcn.1017feaf
add esp, 8
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.1000aa20
cmp dword [ebp - 0x14], 0
je 0x10028ead
mov eax, dword [ebp - 0x14]
push eax
call fcn.1017f97b
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000b560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.100298f0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x10211368
call fcn.1001aab0
push 0x101d7a3c
push 0
call fcn.1017feaf
add esp, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.100056e0
jmp 0x10028e54
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100056e0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000b560
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.1000e100
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10028ef9
push 0x101d7a40
lea ecx, [ebp - 0x10]
call fcn.1000b540
push 0x101d7a48
lea ecx, [ebp - 0x30]
call fcn.1000b560
mov edx, dword [ebp - 0x54]
or edx, 1
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x10211368
call fcn.10020880
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x10211368
call fcn.1001ad60
mov ecx, eax
call fcn.10009a10
movzx eax, al
test eax, eax
jne 0x10028f76
lea ecx, [ebp - 0x50]
push ecx
mov ecx, 0x10211368
call fcn.10020880
push eax
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x10211368
call fcn.1001ad60
mov ecx, eax
call fcn.10009ba0
movzx ecx, al
test ecx, ecx
jne 0x10028f76
mov dword [ebp - 0x6c], 0
jmp 0x10028f7d
mov dword [ebp - 0x6c], 1
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x54]
and eax, 1
je 0x10028f97
and dword [ebp - 0x54], 0xfffffffe
lea ecx, [ebp - 0x30]
call fcn.100056e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100056e0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4