Function at 0x1092337
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0x858
mov eax, 0x10ba9b1
call fcn.010aac9f
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x854]
push eax
xor ebx, ebx
push 0x1022bf0
lea ecx, [ebp - 0x864]
mov dword [ebp - 0x854], ebx
call fcn.010ab83f
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x634], ax
lea eax, [ebp - 0x632]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
mov dword [ebp - 0x858], ebx
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 1
call fcn.0108f04f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x850]
cmp edi, ebx
jne 0x1092424
mov esi, 0x80070057
mov dword [ebp - 0x854], esi
mov byte [ebp - 4], 1
call fcn.0108f093
mov eax, dword [ebp - 0x858]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x109240b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret 0xc
cmp dword [ebp - 0x85c], ebx
je 0x10923e4
push edi
call fcn.0108f142
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x10925cb
mov esi, 0x105
push esi
lea eax, [ebp - 0x844]
push eax
push esi
lea eax, [ebp - 0x634]
push eax
call fcn.0103d8a8
cmp dword [ebp - 0x854], ebx
jl 0x10925cb
push 0x104
lea eax, [ebp - 0x428]
push eax
mov edi, 0x10229b4
push edi
lea ecx, [ebp - 0x850]
call fcn.0108f540
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10924de
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.010764aa
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x10925cb
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, ebx
je 0x10924fd
push esi
push eax
push esi
lea eax, [ebp - 0x428]
push eax
call fcn.0103d8a8
jmp 0x1092507
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x1092507
mov dword [ebp - 0x854], 0x80030002
cmp dword [ebp - 0x854], ebx
jl 0x10925cb
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.01090ff0
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x10925cb
test dword [ebp + 0xc], 1
push dword [ebp - 0x858]
push dword [ebp - 0x85c]
je 0x1092550
call fcn.01091a65
jmp 0x1092555
call fcn.01091f3f
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x10925cb
mov eax, dword [ebp - 0x858]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x854], eax
mov eax, dword [ebp - 0x858]
cmp eax, ebx
je 0x1092588
mov dword [ebp - 0x858], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x854], ebx
jl 0x10925cb
lea eax, [ebp - 0x428]
push eax
push edi
lea ecx, [ebp - 0x850]
call fcn.0108f48a
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x10925cb
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, 2
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [ebp - 0x854]
lea ecx, [ebp - 0x850]
jmp 0x10923ef