Function at 0x48204c
Capabilities:
Check if file exists
Get file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x70
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x2f
je 0x482066
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x5c
jne 0x4820af
mov eax, dword [ebp + 8]
inc eax
mov al, byte [eax]
cmp al, 0x2f
je 0x48207a
mov eax, dword [ebp + 8]
inc eax
mov al, byte [eax]
cmp al, 0x5c
jne 0x4820af
mov eax, dword [ebp + 8]
add eax, 2
mov al, byte [eax]
cmp al, 0x2f
je 0x482092
mov eax, dword [ebp + 8]
add eax, 2
mov al, byte [eax]
cmp al, 0x5c
jne 0x4820af
add dword [ebp + 8], 2
jmp 0x48209b
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
inc eax
mov al, byte [eax]
cmp al, 0x2f
je 0x482098
mov eax, dword [ebp + 8]
inc eax
mov al, byte [eax]
cmp al, 0x5c
je 0x482098
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x40
jle 0x4820cf
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x5a
jle 0x4820e1
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x60
jle 0x4820f2
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x7a
jg 0x4820f2
mov eax, dword [ebp + 8]
inc eax
mov al, byte [eax]
cmp al, 0x3a
jne 0x4820f2
mov eax, 2
jmp 0x4820f7
mov eax, 0
mov dword [ebp - 0x24], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x482116
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x24]
inc eax
cmp dword [ebp - 0xc], eax
je 0x482142
dec dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jbe 0x482143
mov eax, dword [ebp - 0xc]
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
cmp al, 0x2f
je 0x482106
mov eax, dword [ebp - 0xc]
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
cmp al, 0x5c
je 0x482106
jmp 0x482143
nop
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
jne 0x48215d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x4821f7
mov eax, dword [ebp - 0xc]
inc eax
cmp eax, 0xfb7
ja 0x4821a1
mov eax, dword [ebp - 0xc]
add eax, 9
lea edx, [eax + 0xf]
mov eax, 0x10
dec eax
add eax, edx
mov ebx, 0x10
mov edx, 0
div ebx
imul eax, eax, 0x10
call fcn.006b7700
sub esp, eax
lea eax, [esp + 0x1c]
add eax, 0xf
shr eax, 4
shl eax, 4
add eax, 8
jmp 0x4821ad
mov eax, dword [ebp - 0xc]
inc eax
mov dword [esp], eax
call fcn.00485fdc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4821cd
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0xc
mov eax, 0xffffffff
jmp 0x4825bf
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x180
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
call eax
sub esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x48224f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x1c], eax
jmp 0x48247d
cmp byte [ebp - 0xd], 0
je 0x4822cf
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call eax
sub esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x48228d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x48247d
mov eax, dword [ebp - 0x2c]
and eax, 0x10
test eax, eax
jne 0x4822cf
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x18], 0
je 0x4822b8
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0048605a
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x14
mov eax, 0xffffffff
jmp 0x4825bf
cmp dword [ebp + 0xc], 0
jne 0x482302
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call eax
sub esp, 4
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
jmp 0x4823f0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, eax
sar edx, 0x1f
imul ebx, edx, 0x989680
imul ecx, eax, 0
lea esi, [ebx + ecx]
mov ecx, 0x989680
mul ecx
mov ecx, eax
mov ebx, edx
lea eax, [esi + ebx]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 4]
mov edx, 0x51eb851f
mov eax, esi
imul edx
sar edx, 5
mov eax, esi
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
sar edx, 0x1f
add eax, ecx
adc edx, ebx
add eax, 0xd53e8000
adc edx, 0x19db1de
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, edx
xor edx, edx
mov ebx, eax
mov esi, edx
mov eax, ebx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
add eax, 8
mov eax, dword [eax]
mov edx, eax
sar edx, 0x1f
imul ebx, edx, 0x989680
imul ecx, eax, 0
lea esi, [ebx + ecx]
mov ecx, 0x989680
mul ecx
mov ecx, eax
mov ebx, edx
lea eax, [esi + ebx]
mov ebx, eax
mov eax, dword [ebp + 0xc]
add eax, 8
mov esi, dword [eax + 4]
mov edx, 0x51eb851f
mov eax, esi
imul edx
sar edx, 5
mov eax, esi
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
sar edx, 0x1f
add eax, ecx
adc edx, ebx
add eax, 0xd53e8000
adc edx, 0x19db1de
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, edx
xor edx, edx
mov ebx, eax
mov esi, edx
mov eax, ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetFileTime]
call eax
sub esp, 0x10
test eax, eax
je 0x482445
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x18], 0
je 0x48243b
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0048605a
mov eax, 0
jmp 0x4825bf
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x18], 0
je 0x482466
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0048605a
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x16
mov eax, 0xffffffff
jmp 0x4825bf
cmp dword [ebp - 0x18], 0
je 0x48248e
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0048605a
mov eax, dword [ebp - 0x1c]
cmp eax, 0x20
je 0x482544
cmp eax, 0x20
ja 0x4824e9
cmp eax, 0xe
je 0x482561
cmp eax, 0xe
ja 0x4824c9
cmp eax, 2
jb 0x4825ac
cmp eax, 3
jbe 0x482535
cmp eax, 5
je 0x482544
jmp 0x4825ac
cmp eax, 0x13
je 0x482570
cmp eax, 0x13
jb 0x4825ac
cmp eax, 0x1d
jb 0x4825ac
jmp 0x48257f
cmp eax, 0x7b
je 0x482535
cmp eax, 0x7b
ja 0x48250b
cmp eax, 0x43
je 0x482535
cmp eax, 0x6f
je 0x48258e
cmp eax, 0x35
je 0x482535
jmp 0x4825ac
cmp eax, 0xce
je 0x48258e
cmp eax, 0xce
ja 0x482525
cmp eax, 0xa1
je 0x482535
jmp 0x4825ac
cmp eax, 0x10b
je 0x482535
cmp eax, 0x12f
je 0x48259d
jmp 0x4825ac
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 2
jmp 0x4825ba
cmp dword [ebp + 0xc], 0
je 0x482551
mov ebx, 1
jmp 0x482556
mov ebx, 0xd
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], ebx
jmp 0x4825ba
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0xc
jmp 0x4825ba
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x1e
jmp 0x4825ba
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 5
jmp 0x4825ba
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x26
jmp 0x4825ba
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 1
jmp 0x4825ba
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x16
nop
mov eax, 0xffffffff
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret