Function at 0x42459c
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively
Timestomp file

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x3c4
cmp byte [ebp + 0x7c], 0
push esi
mov esi, dword [ebp + 0x6c]
push edi
mov dword [ebp + 0x48], ecx
jne 0x4245db
mov ecx, dword [0x465b20]
xor edi, edi
inc edi
push edi
push 0
push 0xffffffffffffffff
push 0x459f14
call fcn.00401592
cmp byte [esi], 0
je 0x424632
cmp dword [ebp + 0x74], 0
jne 0x4245db
mov dword [ebp + 0x74], edi
push esi
call fcn.00455c50
cmp eax, 0x104
pop ecx
jae 0x424632
push 0x40
push dword [ebp + 0x68]
lea eax, [ebp - 0x1c]
push eax
call fcn.00438c79
lea eax, [ebp - 0x364]
push esi
push eax
call fcn.00455a20
add esp, 0x14
cmp byte [ebp - 0x1c], 0
je 0x424639
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004391c9
test eax, eax
pop ecx
pop ecx
je 0x424632
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x424643
xor eax, eax
jmp 0x42496b
lea eax, [ebp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.00455a20
lea eax, [ebp - 0x260]
push 0x5c
push eax
call fcn.00456490
add esp, 0x10
test eax, eax
je 0x424678
mov byte [eax + 1], 0
lea eax, [ebp - 0x260]
push eax
call fcn.00455c50
pop ecx
jmp 0x424681
mov byte [ebp - 0x260], 0
xor eax, eax
lea ecx, [ebp + eax - 0x260]
mov esi, 0x103
sub esi, eax
lea eax, [ebp - 0x364]
push 0x5c
push eax
mov dword [ebp + 0x58], ecx
mov dword [ebp + 0x5c], esi
call fcn.00456490
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x68], eax
je 0x4246b1
inc dword [ebp + 0x68]
jmp 0x4246ba
lea eax, [ebp - 0x364]
mov dword [ebp + 0x68], eax
push 0x45ce5c
push dword [ebp + 0x68]
call fcn.00438f35
test eax, eax
pop ecx
pop ecx
jne 0x4246d4
mov dword [ebp + 0x74], 2
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
and dword [ebp + 0x6c], 0
push ebx
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x364]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0x54], eax
je 0x424835
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileTime]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x466154]
xor esi, esi
cmp eax, dword [0x4651e4]
jbe 0x42473f
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x424734
push 1
push 0xffffffffffffffff
call fcn.0040b5c4
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x466154], eax
test byte [ebp - 0x15c], 0x10
je 0x42477f
cmp byte [ebp - 0x130], 0x2e
jne 0x424774
cmp byte [ebp - 0x12f], 0
je 0x424811
cmp byte [ebp - 0x12f], 0x2e
jne 0x424774
cmp byte [ebp - 0x12e], 0
je 0x424811
cmp dword [ebp + 0x74], 1
jne 0x424789
jmp 0x424811
cmp dword [ebp + 0x74], 3
je 0x424811
lea eax, [ebp - 0x130]
push eax
call fcn.00455c50
cmp eax, dword [ebp + 0x5c]
pop ecx
ja 0x4247d0
lea eax, [ebp - 0x130]
push eax
push dword [ebp + 0x58]
call fcn.00455a20
pop ecx
pop ecx
push esi
push 0x22000000
push 3
push esi
push 3
push 0x40000000
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4247d5
inc dword [ebp + 0x6c]
jmp 0x424811
movsx eax, byte [ebp + 0x70]
push eax
call fcn.00441c9f
sub eax, 0x41
pop ecx
je 0x4247f8
dec eax
dec eax
lea eax, [ebp + 0x4c]
je 0x4247f1
push eax
push 0
jmp 0x4247fe
push 0
push 0
push eax
jmp 0x424800
push 0
lea eax, [ebp + 0x4c]
push eax
push 0
push esi
call ebx
test eax, eax
jne 0x42480a
inc dword [ebp + 0x6c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x15c]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424701
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp + 0x5c]
cmp byte [ebp + 0x78], 0
je 0x424953
cmp esi, 2
jbe 0x424953
push 0x45aab8
push dword [ebp + 0x58]
call fcn.00455a20
pop ecx
pop ecx
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424953
push dword [ebp + 0x68]
call fcn.00455c50
pop ecx
mov dword [ebp + 0x5c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x466154]
cmp eax, dword [0x4651e4]
jbe 0x4248ba
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4248b3
push 1
push 0xffffffffffffffff
call fcn.0040b5c4
pop ecx
pop ecx
call edi
mov dword [0x466154], eax
test byte [ebp - 0x15c], 0x10
je 0x424936
cmp byte [ebp - 0x130], 0x2e
jne 0x4248e7
cmp byte [ebp - 0x12f], 0
je 0x424936
cmp byte [ebp - 0x12f], 0x2e
jne 0x4248e7
cmp byte [ebp - 0x12e], 0
je 0x424936
lea eax, [ebp - 0x130]
push eax
call fcn.00455c50
add eax, dword [ebp + 0x5c]
pop ecx
cmp eax, esi
jae 0x424936
push dword [ebp + 0x68]
lea eax, [ebp - 0x130]
push eax
push 0x45a4a4
push dword [ebp + 0x58]
call fcn.00409d3b
mov ecx, dword [ebp + 0x48]
add esp, 0x10
push 1
push dword [ebp + 0x78]
lea eax, [ebp - 0x260]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042459c
add dword [ebp + 0x6c], eax
lea eax, [ebp - 0x15c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42487e
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x7c], 0
pop ebx
jne 0x424968
push dword [ebp + 0x6c]
mov ecx, dword [0x465b20]
call fcn.004018c8
mov eax, dword [ebp + 0x6c]
pop edi
pop esi
add ebp, 0x60
leave
ret 0x18