Function at 0x472240
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x472249
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x472652
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push 0x472670
push dword [ebp - 8]
push 0x472690
push esi
push 0x4726a4
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404610
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004708e8
xor edx, edx
push ebp
push 0x472630
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
call fcn.00404290
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00404290
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00404290
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404290
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404290
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 4]
add eax, 0x38
xor ecx, ecx
mov edx, 8
call fcn.00402ef4
xor edx, edx
push ebp
push 0x4724ac
push dword fs:[edx]
mov dword fs:[edx], esp
test bl, bl
je 0x472334
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.0040459c
mov eax, esi
call fcn.00409040
test al, al
je 0x47247a
push 0x11
mov ecx, esi
mov dl, 1
mov eax, dword [0x416a1c]
call fcn.0041acc4
mov dword [ebp - 0x10], eax
test bl, bl
je 0x4724a2
mov eax, dword [ebp - 0x14]
call fcn.00409040
test al, al
je 0x4724a2
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4726b0
mov edx, 0x4726c8
mov eax, dword [ebp - 0x14]
call fcn.004706cc
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004086fc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.004042e4
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4726d8
mov edx, 0x4726c8
mov eax, dword [ebp - 0x14]
call fcn.004706cc
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.004086fc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.004042e4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4723f1
cmp dword [eax + 0x20], 0
jbe 0x472405
jmp 0x4723f3
jle 0x472405
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x472405
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x472409
xor eax, eax
jmp 0x47240b
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x28], al
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x28]
mov dl, 1
call fcn.00408d8c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x4726f0
call fcn.0040459c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0047088c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x34]
mov edx, 0x47270c
call fcn.0040459c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0047088c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x38]
mov edx, 0x472728
call fcn.0040459c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0047088c
jmp 0x4724a2
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.00409390
mov eax, dword [ebp - 0x3c]
call fcn.00409074
push 0xffff
mov ecx, esi
mov dl, 1
mov eax, dword [0x416a1c]
call fcn.0041acc4
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4724dc
xor eax, eax
push ebp
push 0x4725f3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov dl, 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov al, byte [0x47273c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x472748
mov edx, 0x472754
mov eax, dword [ebp - 8]
call fcn.0040dcb8
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00471ff4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x472555
test bl, bl
je 0x472594
mov eax, dword [ebp - 0x14]
call fcn.00409040
test al, al
je 0x472594
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404750
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0x14]
call fcn.00409240
jmp 0x472594
test bl, bl
je 0x472594
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 0
je 0x472594
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov ecx, 0x4726b0
mov edx, 0x4726c8
mov eax, dword [ebp - 0x14]
call fcn.0047072c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov ecx, 0x4726d8
mov edx, 0x4726c8
mov eax, dword [ebp - 0x14]
call fcn.0047072c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x4725dd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x4725dd
mov eax, dword [ebp - 4]
add eax, 0x38
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetFileTime
test eax, eax
je 0x4725d0
mov edx, 0x472760
mov eax, dword [ebp - 4]
call fcn.0047088c
jmp 0x4725dd
mov edx, 0x47277c
mov eax, dword [ebp - 4]
call fcn.0047088c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4725fa
mov eax, dword [ebp - 0x10]
call fcn.00403520
ret