Function at 0x100247b0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1011af66
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x1016b2e8]
xor eax, esp
mov dword [esp + 0x6a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1016b2e8]
xor eax, esp
push eax
lea eax, [esp + 0x6bc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x6cc]
mov ebx, dword [esp + 0x6d0]
mov ebp, dword [esp + 0x6d4]
xor edi, edi
push 0x250
lea eax, [esp + 0x50]
push edi
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2a8], edi
mov dword [esp + 0x2ac], edi
call fcn.10068c80
add esp, 0xc
push 0x208
lea ecx, [esp + 0x2a8]
push edi
push ecx
call fcn.10068c80
add esp, 0xc
push 0x10164c18
push esi
lea edx, [esp + 0x4b4]
push edx
mov dword [esp + 0x6d0], edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [ebx + 0x20], edi
je 0x1002487d
lea eax, [esp + 0x4ac]
lea ecx, [esp + 0x4c]
call fcn.10025b80
cmp eax, edi
jne 0x100248b8
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x2a0], edi
cmp eax, edi
je 0x10024b1d
cmp eax, 0xffffffff
je 0x10024b1d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x10024b1d
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x2a0], edi
je 0x10024aad
mov eax, dword [esp + 0x4c]
shr eax, 4
and eax, 1
je 0x100248f8
cmp word [esp + 0x78], 0x2e
jne 0x100248f8
mov cx, word [esp + 0x7a]
cmp cx, di
je 0x10024aad
cmp cx, 0x2e
jne 0x100248f8
cmp word [esp + 0x7c], di
je 0x10024aad
cmp eax, edi
je 0x10024aad
lea edx, [esp + 0x30]
lea ecx, [esp + 0x4c]
call fcn.10025ac0
mov byte [esp + 0x6c4], 1
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x10024924
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x24]
push ebp
push ebx
push eax
call fcn.100247b0
lea eax, [esp + 0x30]
push eax
call fcn.10023be0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x20], eax
call fcn.10024c00
mov esi, dword [esp + 0x28]
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 8]
test esi, esi
je 0x1002495f
cmp esi, eax
je 0x10024964
call fcn.10061d20
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
je 0x10024a91
test esi, esi
jne 0x10024a72
call fcn.10061d20
cmp ebx, dword [esi + 0x14]
jne 0x10024987
call fcn.10061d20
mov eax, dword [ebp + 0x54]
mov esi, dword [ebx + 0xc]
test eax, eax
je 0x100249c7
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
shr ecx, 3
mov al, byte [ecx + eax]
test al, dl
je 0x100249c7
mov ecx, dword [ebp + 0x58]
mov eax, dword [ecx + esi*4]
test eax, 0xf0000000
je 0x100249bb
and eax, 0x7fff
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x5c]
xor ebp, ebp
xor edi, edi
test eax, eax
je 0x100249f4
mov ecx, esi
and ecx, 7
mov ebx, 0x80
sar ebx, cl
mov ecx, esi
shr ecx, 3
mov al, byte [ecx + eax]
test al, bl
je 0x100249f4
mov ecx, dword [edx + 0x60]
lea ebp, [ecx + esi*8]
mov eax, dword [edx + 0x64]
test eax, eax
je 0x10024a19
mov ecx, esi
and ecx, 7
mov ebx, 0x80
sar ebx, cl
mov ecx, esi
shr ecx, 3
mov al, byte [ecx + eax]
test al, bl
je 0x10024a19
mov ecx, dword [edx + 0x68]
lea edi, [ecx + esi*8]
test ebp, ebp
jne 0x10024a21
test edi, edi
je 0x10024a91
mov eax, dword [esp + 0x34]
mov ebx, 8
xor esi, esi
cmp dword [esp + 0x48], ebx
jae 0x10024a36
lea eax, [esp + 0x34]
push 0
push 0x2000000
push 3
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10024a79
call fcn.10023c50
test eax, eax
jge 0x10024a7b
mov byte [esp + 0x6c4], 0
cmp dword [esp + 0x48], ebx
jb 0x10024aad
mov edx, dword [esp + 0x34]
push edx
jmp 0x10024aa5
mov esi, dword [esi]
jmp 0x1002497d
mov esi, eax
push ebp
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test esi, esi
je 0x10024a91
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x6c4], 0
cmp dword [esp + 0x48], 8
jb 0x10024aad
mov eax, dword [esp + 0x34]
push eax
call fcn.100618cf
add esp, 4
mov eax, dword [esp + 0x29c]
xor edi, edi
cmp eax, edi
je 0x10024aea
cmp eax, 0xffffffff
je 0x10024aea
cmp dword [esp + 0x2a0], edi
je 0x10024aea
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x2a0], eax
cmp eax, edi
jne 0x100248b0
mov eax, dword [esp + 0x29c]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x2a0], edi
cmp eax, edi
je 0x10024b0a
cmp eax, 0xffffffff
je 0x10024b0a
push eax
call esi
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x2a0], edi
cmp eax, edi
je 0x10024b1d
cmp eax, 0xffffffff
je 0x10024b1d
push eax
call esi
mov ecx, dword [esp + 0x6bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6a0]
xor ecx, esp
call fcn.10061731
add esp, 0x6b4
ret 0xc