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

Disassembly:
push 0x858
mov eax, 0x10ba9da
call fcn.010aacd7
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.010ab86f
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.0108f1a4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x850]
cmp edi, ebx
jne 0x1092579
mov esi, 0x80070057
mov dword [ebp - 0x854], esi
mov byte [ebp - 4], 1
call fcn.0108f1e8
mov eax, dword [ebp - 0x858]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x1092560
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret 0xc
cmp dword [ebp - 0x85c], ebx
je 0x1092539
push edi
call fcn.0108f297
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x1092720
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 0x1092720
push 0x104
lea eax, [ebp - 0x428]
push eax
mov edi, 0x10229b4
push edi
lea ecx, [ebp - 0x850]
call fcn.0108f695
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1092633
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.010765fe
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x1092720
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, ebx
je 0x1092652
push esi
push eax
push esi
lea eax, [ebp - 0x428]
push eax
call fcn.0103d8a8
jmp 0x109265c
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 0x109265c
mov dword [ebp - 0x854], 0x80030002
cmp dword [ebp - 0x854], ebx
jl 0x1092720
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.01091145
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x1092720
test dword [ebp + 0xc], 1
push dword [ebp - 0x858]
push dword [ebp - 0x85c]
je 0x10926a5
call fcn.01091bba
jmp 0x10926aa
call fcn.01092094
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x1092720
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 0x10926dd
mov dword [ebp - 0x858], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x854], ebx
jl 0x1092720
lea eax, [ebp - 0x428]
push eax
push edi
lea ecx, [ebp - 0x850]
call fcn.0108f5df
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x1092720
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 0x1092544