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

Disassembly:
sub esp, 0x168
push ebx
push ebp
push esi
mov esi, dword [esp + 0x178]
mov ebp, dword [esi + 0x208]
push edi
lea eax, [esp + 0x38]
push eax
mov ebx, 0x103
push esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
sub ebx, ebp
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4426ed
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [0x4af8cc]
mov ecx, dword [0x4aa988]
cmp eax, dword [ecx + 0xb8]
jbe 0x44262b
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x442624
push 1
push 0xffffffffffffffff
call fcn.00401420
add esp, 8
call ebp
mov dword [0x4af8cc], eax
test byte [esp + 0x38], 0x10
je 0x442663
cmp byte [esp + 0x64], 0x2e
jne 0x442654
mov al, byte [esp + 0x65]
test al, al
je 0x4426cc
cmp al, 0x2e
jne 0x442654
cmp byte [esp + 0x66], 0
je 0x4426cc
mov ebp, 1
cmp dword [esi + 0x218], ebp
jne 0x442671
jmp 0x4426cc
cmp dword [esi + 0x218], 2
je 0x4426cc
mov ebp, 1
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442678
sub eax, edx
cmp eax, ebx
jbe 0x442693
mov eax, dword [0x4aa988]
mov dword [eax + 0x30], 0x6f
jmp 0x4426c8
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x64]
add edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebp
test cl, cl
jne 0x4426a1
mov edx, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
add esp, 0xc
test eax, eax
jne 0x4426cc
add dword [esp + 0x10], ebp
lea edx, [esp + 0x38]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4425e5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x14]
jmp 0x442707
mov eax, dword [0x4aa988]
cmp dword [eax + 0x30], 0
jne 0x442707
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa988]
mov dword [ecx + 0x30], eax
cmp byte [esi + 0x21c], 0
je 0x442848
cmp ebx, 1
jbe 0x44281a
mov edx, 0x2a
lea eax, [esi + ebp]
mov word [eax], dx
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x442831
nop
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x4af8cc]
mov ecx, dword [0x4aa988]
cmp eax, dword [ecx + 0xb8]
jbe 0x442786
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x44277f
push 1
push 0xffffffffffffffff
call fcn.00401420
add esp, 8
call edi
mov dword [0x4af8cc], eax
test byte [esp + 0x38], 0x10
je 0x4427ff
cmp byte [esp + 0x64], 0x2e
jne 0x4427a7
mov al, byte [esp + 0x65]
test al, al
je 0x4427ff
cmp al, 0x2e
jne 0x4427a7
cmp byte [esp + 0x66], 0
je 0x4427ff
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4427b0
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x20c]
add eax, edi
cmp eax, ebx
jae 0x4427ff
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x104]
push ecx
lea edx, [esp + 0x68]
push edx
add eax, esi
push str._s_s
push eax
call fcn.00488986
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [edi + ecx + 1]
mov ecx, dword [esp + 0x18]
push esi
mov dword [esi + 0x208], edx
call fcn.004425a0
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x442740
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
add dword [esi + 0x220], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 4
mov edx, dword [esp + 0x10]
add dword [esi + 0x220], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 4
mov eax, dword [esp + 0x10]
add dword [esi + 0x220], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 4