Function at 0x441e80
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 ebx, dword [esi + 0x208]
push edi
lea eax, [esp + 0x38]
push eax
mov ebp, 0x103
push esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
sub ebp, ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x441fcb
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x4ad89c]
mov ecx, dword [0x4a8978]
cmp eax, dword [ecx + 0xb8]
jbe 0x441f0b
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 0x441f04
push 1
push 0xffffffffffffffff
call fcn.004013c0
add esp, 8
call ebx
mov dword [0x4ad89c], eax
test byte [esp + 0x38], 0x10
je 0x441f43
cmp byte [esp + 0x64], 0x2e
jne 0x441f34
mov al, byte [esp + 0x65]
test al, al
je 0x441fac
cmp al, 0x2e
jne 0x441f34
cmp byte [esp + 0x66], 0
je 0x441fac
mov ebx, 1
cmp dword [esi + 0x218], ebx
jne 0x441f51
jmp 0x441fac
cmp dword [esi + 0x218], 2
je 0x441fac
mov ebx, 1
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441f58
sub eax, edx
cmp eax, ebp
jbe 0x441f73
mov eax, dword [0x4a8978]
mov dword [eax + 0x30], 0x6f
jmp 0x441fa8
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, ebx
test cl, cl
jne 0x441f81
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 0x441fac
add dword [esp + 0x10], ebx
lea edx, [esp + 0x38]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x441ec5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x14]
cmp byte [esi + 0x21c], 0
je 0x442109
cmp ebp, 1
jbe 0x4420db
lea edx, [esp + 0x38]
push edx
mov ecx, 0x2a
lea eax, [ebx + esi]
push esi
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4420f2
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x4ad89c]
mov ecx, dword [0x4a8978]
cmp eax, dword [ecx + 0xb8]
jbe 0x442049
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 0x442042
push 1
push 0xffffffffffffffff
call fcn.004013c0
add esp, 8
call edi
mov dword [0x4ad89c], eax
test byte [esp + 0x38], 0x10
je 0x4420c0
cmp byte [esp + 0x64], 0x2e
jne 0x44206a
mov al, byte [esp + 0x65]
test al, al
je 0x4420c0
cmp al, 0x2e
jne 0x44206a
cmp byte [esp + 0x66], 0
je 0x4420c0
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442071
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x20c]
add eax, edi
cmp eax, ebp
jae 0x4420c0
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.004875f8
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.00441e80
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x442003
push ebx
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