Function at 0x45c540
Capabilities:
Get file attributes
Resolve function by parsing pe exports
Set file attributes
Timestomp file

Disassembly:
push 0xffffffffffffffff
push 0x4d366b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
mov ebp, dword [esp + 0x180]
push esi
mov esi, dword [esp + 0x180]
lea eax, [esp + 0x1c]
push edi
push eax
push 0x45c0a0
push ebp
xor edi, edi
push 0x7e
push esi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
je 0x45c593
xor eax, eax
jmp 0x45c840
push edi
push 0x1f4
push ebp
push esi
lea ecx, [esp + 0x44]
call fcn.00473c00
push 0xdb
lea ecx, [esp + 0x38]
mov dword [esp + 0x180], edi
call fcn.00473e80
push 0x10a
lea ecx, [esp + 0x38]
call fcn.00473ee0
mov ebx, dword [esp + 0x18c]
xor esi, esi
mov eax, dword [ebx + 8]
test eax, eax
jle 0x45c681
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x45c620
cmp esi, eax
jge 0x45c5f3
test esi, esi
jl 0x45c5f3
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + esi*4]
jmp 0x45c5f5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x45c601
inc edi
mov eax, dword [ebx + 8]
inc esi
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00474000
lea ecx, [esp + 0x34]
call fcn.00473f20
mov eax, dword [ebx + 8]
cmp esi, eax
jl 0x45c5db
test edi, edi
je 0x45c681
lea ecx, [esp + 0x34]
call fcn.00473fa0
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x34]
push eax
push 0
call fcn.00474000
mov edx, dword [0x4f5e08]
push 4
push 0xdb
push 0x110
push ebp
push edx
call fcn.00471530
add esp, 0x14
cmp eax, 7
jne 0x45c678
lea ecx, [esp + 0x34]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00473c60
xor eax, eax
jmp 0x45c840
lea ecx, [esp + 0x34]
call fcn.00473fd0
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
mov ebp, 1
jle 0x45c827
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x45c827
test ebp, ebp
je 0x45c827
cmp edi, eax
jge 0x45c6d2
test edi, edi
jl 0x45c6d2
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4]
jmp 0x45c6d4
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
and eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x45c708
cmp edi, dword [ebx + 8]
jge 0x45c6fb
test edi, edi
jl 0x45c6fb
mov edx, dword [ebx + 4]
mov eax, dword [edx + edi*4]
jmp 0x45c6fd
xor eax, eax
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp edi, dword [ebx + 8]
jge 0x45c719
test edi, edi
jl 0x45c719
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4]
jmp 0x45c71b
xor eax, eax
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45c73f
xor ebp, ebp
jmp 0x45c79b
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x45c757
push eax
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
jmp 0x45c77e
cmp eax, 1
jne 0x45c76e
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp 0x45c77e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x10]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x45c7da
lea ecx, [esp + 0x74]
push 0x100
push ecx
call fcn.004715d0
add esp, 8
lea ecx, [esp + 0x34]
call fcn.00473fa0
mov eax, dword [esp + 0x188]
mov ecx, dword [esp + 0x184]
push 0
lea edx, [esp + 0x78]
push 0x226
push edx
push eax
push ecx
call fcn.004714c0
add esp, 0x14
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45c804
cmp edi, dword [ebx + 8]
jge 0x45c7f3
test edi, edi
jl 0x45c7f3
mov edx, dword [ebx + 4]
mov eax, dword [edx + edi*4]
jmp 0x45c7f5
xor eax, eax
mov ecx, dword [esp + 0x18]
or ecx, 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebx + 8]
inc edi
push eax
push edi
lea ecx, [esp + 0x3c]
call fcn.00474000
lea ecx, [esp + 0x34]
call fcn.00473f20
mov eax, dword [ebx + 8]
cmp edi, eax
jl 0x45c6ae
lea ecx, [esp + 0x34]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00473c60
mov eax, 1
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x170
ret