Function at 0x403758
Capabilities:
Check for time delay via gettickcount
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
lea ebp, [esp - 0x1d8]
sub esp, 0x258
mov eax, dword [0x41a4c0]
xor eax, ebp
mov dword [ebp + 0x1d4], eax
cmp dword [0x41cb80], 0
mov eax, dword [ebp + 0x1e4]
push ebx
mov ebx, dword [ebp + 0x1e0]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], eax
jne 0x4039c4
test ebx, ebx
je 0x4039a0
cmp byte [ebx], 0
je 0x4039a0
push ebx
call fcn.0040acf0
cmp eax, 4
pop ecx
jb 0x4039a0
push esi
push ebx
mov esi, 0x105
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.0040b275
push eax
call fcn.00401065
add esp, 0x10
test al, al
jne 0x4037e4
push 0x7e5
push str.sfxhead.c
call fcn.0040281f
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.00401300
push 0x41639c
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.0040b135
push eax
call fcn.00401065
add esp, 0x18
test al, al
jne 0x403817
push 0x7e7
jmp 0x4037da
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x78], eax
je 0x403979
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.0040b275
push eax
call fcn.00401065
add esp, 0x10
test al, al
je 0x40398c
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.00401300
cmp byte [ebp + 0xbc], 0
pop ecx
pop ecx
je 0x40389d
lea eax, [ebp + 0xbc]
push eax
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.0040b135
push eax
call fcn.00401065
add esp, 0x10
test al, al
jne 0x4038bf
push 0x7f0
jmp 0x4037da
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.0040b135
push eax
call fcn.00401065
add esp, 0x10
test al, al
je 0x403996
test byte [ebp - 0x74], 0x10
je 0x403934
cmp byte [ebp + 0xbc], 0
push 0x416398
je 0x4038ed
lea eax, [ebp + 0xbc]
push eax
call fcn.0040be90
test eax, eax
pop ecx
pop ecx
je 0x403963
lea eax, [ebp + 0xbc]
jmp 0x4038ff
lea eax, [ebp - 0x48]
push eax
call fcn.0040be90
test eax, eax
pop ecx
pop ecx
je 0x403963
lea eax, [ebp - 0x48]
push 0x416394
push eax
call fcn.0040be90
test eax, eax
pop ecx
pop ecx
je 0x403963
push dword [ebp - 0x80]
lea eax, [ebp + 0xcc]
push eax
call fcn.00403758
test al, al
pop ecx
pop ecx
jne 0x403963
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x403963
call edi
lea ebx, [eax + 0x3e8]
jmp 0x40394d
call fcn.004016d7
test eax, eax
pop ecx
je 0x403960
call fcn.00402302
call edi
cmp ebx, eax
lea eax, [ebp + 0xcc]
push eax
ja 0x40393e
call fcn.004016f8
pop ecx
mov ebx, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40383b
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
jmp 0x4039c6
push 0x7ed
jmp 0x4037da
push 0x7f2
jmp 0x4037da
push 0
mov ecx, 0x7d0
call fcn.00402a7d
push eax
mov ecx, 0x401
call fcn.00402a7d
push eax
push dword [0x41cb70]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov ecx, dword [ebp + 0x1d4]
xor ecx, ebp
pop ebx
call fcn.0040b060
add ebp, 0x1d8
leave
ret