Function at 0x440290
Capabilities:
Check for time delay via gettickcount
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
push ebx
push esi
mov esi, dword [0x4a7c28]
xor ebx, ebx
push edi
cmp byte [esi], bl
jne 0x4402f9
mov eax, dword [0x4a4440]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0xe4], bl
jne 0x4402dd
mov eax, dword [0x4a84e4]
push 1
push ebx
push 0xffffffffffffffff
push 0x497ee0
push eax
call fcn.00472eb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x496816
push ebx
push 0x497ee0
call fcn.0042d5b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x49bd44
mov eax, esi
call fcn.00408ef0
test eax, eax
jne 0x440346
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
sete cl
mov byte [esp + 0x14], cl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4a4440]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.0042d6a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
xor edi, edi
call fcn.0041fa90
cmp eax, 0x104
jb 0x44038e
mov eax, dword [0x4a4440]
mov dword [eax + 0x30], 0x6f
cmp byte [eax + 0xe4], bl
jne 0x4402dd
mov edx, dword [0x4a84e4]
push 1
push ebx
push 0xffffffffffffffff
push 0x497ee0
push edx
call fcn.00472eb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x140]
push eax
push esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x4403d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a4440]
push 0x18
push ebx
mov dword [ecx + 0x30], eax
mov eax, dword [0x4a84e4]
push ebx
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x38]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4403e0
lea edx, [esp + 0x38]
push 0x5c
push edx
call fcn.00484e4e
add esp, 8
cmp eax, ebx
je 0x440412
mov byte [eax + 1], bl
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x440407
sub eax, edx
jmp 0x440418
mov byte [esp + 0x38], bl
xor eax, eax
mov edx, dword [0x4a4440]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + eax + 0x38]
mov esi, 0x103
mov dword [esp + 0x18], ecx
sub esi, eax
mov dword [edx + 0x30], ebx
call edi
sub eax, dword [0x4aa34c]
mov ecx, dword [0x4a4440]
cmp eax, dword [ecx + 0xb4]
jbe 0x440472
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x44046b
push 1
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
call edi
mov dword [0x4aa34c], eax
test byte [esp + 0x140], 0x10
jne 0x4404dc
lea eax, [esp + 0x16c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x440486
sub eax, edx
cmp eax, esi
jbe 0x4404a1
mov eax, dword [0x4a4440]
mov dword [eax + 0x30], 0x6f
jmp 0x4404d8
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x16c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4404b0
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4404dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a4440]
mov dword [ecx + 0x30], eax
inc dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x140]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440436
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.0042d760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4