Function at 0x440360
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 [0x4aa1d0]
xor ebx, ebx
push edi
cmp byte [esi], bl
jne 0x4403c9
mov eax, dword [0x4a6920]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0xe8], bl
jne 0x4403ad
mov eax, dword [0x4aaa2c]
push 1
push ebx
push 0xffffffffffffffff
push 0x499f00
push eax
call fcn.00475030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x498811
push ebx
push 0x499f00
call fcn.0042d1f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x49dee4
mov eax, esi
call fcn.004093b0
test eax, eax
jne 0x440416
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 [0x4a6920]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.0042d2e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
xor edi, edi
call fcn.00420610
cmp eax, 0x104
jb 0x44045e
mov eax, dword [0x4a6920]
mov dword [eax + 0x30], 0x6f
cmp byte [eax + 0xe8], bl
jne 0x4403ad
mov edx, dword [0x4aaa2c]
push 1
push ebx
push 0xffffffffffffffff
push 0x499f00
push edx
call fcn.00475030
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 0x4404a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a6920]
push 0x18
push ebx
mov dword [ecx + 0x30], eax
mov eax, dword [0x4aaa2c]
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 0x4404b0
lea edx, [esp + 0x38]
push 0x5c
push edx
call fcn.0048734a
add esp, 8
cmp eax, ebx
je 0x4404e2
mov byte [eax + 1], bl
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4404d7
sub eax, edx
jmp 0x4404e8
mov byte [esp + 0x38], bl
xor eax, eax
mov edx, dword [0x4a6920]
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 [0x4ac8ac]
mov ecx, dword [0x4a6920]
cmp eax, dword [ecx + 0xb8]
jbe 0x440542
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 0x44053b
push 1
push 0xffffffffffffffff
call fcn.00401350
add esp, 8
call edi
mov dword [0x4ac8ac], eax
test byte [esp + 0x140], 0x10
jne 0x4405ac
lea eax, [esp + 0x16c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x440556
sub eax, edx
cmp eax, esi
jbe 0x440571
mov eax, dword [0x4a6920]
mov dword [eax + 0x30], 0x6f
jmp 0x4405a8
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 0x440580
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4405ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a6920]
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 0x440506
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.0042d3a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4