Function at 0x479e80
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f567e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
cmp byte [edi + 0xe8], 0xff
je 0x479ec8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
mov esi, 1
test al, al
mov dword [ebp - 0x1c], esi
jne 0x47a05d
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x479f77
mov eax, dword [edi + 0x114]
mov ecx, dword [edi + 0x68]
cmp ecx, dword [eax + 0x14]
je 0x479f7e
lea ecx, [edi + 0x78]
call fcn.0047d580
cmp eax, 0xffffffff
jne 0x479f20
push 0x687118
lea ecx, [ebp - 0x20]
call fcn.005e0f55
mov ebx, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
jmp 0x479f3a
mov ecx, dword [edi + 0x94]
lea eax, [ebp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ebx, 2
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
mov eax, dword [eax]
push eax
push 0xffffffffffffff9a
call fcn.004800f0
add esp, 8
mov dword [ebp - 4], 0
test bl, 2
je 0x479f61
and ebx, 0xfffffffd
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call fcn.005e0ee7
test bl, 1
mov dword [ebp - 4], 0xffffffff
je 0x479f7e
lea ecx, [ebp - 0x20]
call fcn.005e0ee7
jmp 0x479f7e
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [edi + 0x114]
cmp word [eax + 0xe], 8
jne 0x479f94
lea ecx, [edi + 0x28]
push ecx
call fcn.005b4cd0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x47a05d
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push ebx
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x47a03a
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov ecx, dword [edi + 0x114]
lea edx, [ebp - 0x38]
push edx
call fcn.004788b0
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x38]
push eax
call fcn.0044a512
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x48]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x114]
mov edx, dword [eax + 0x24]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x47a056
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xec]
call fcn.0047ec60
lea ecx, [edi + 0x6c]
mov byte [edi + 0xe8], 0
call fcn.0047cdf0
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x47a0aa
mov esi, dword [edi + 0xd0]
test esi, esi
je 0x47a09f
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.005e15e1
add esp, 4
test esi, esi
jne 0x47a08b
lea ecx, [edi + 0xcc]
call fcn.005dfcab
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8