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

Disassembly:
sub esp, 0x384
cmp byte [esp + 0x39c], 0
mov eax, dword [esp + 0x388]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [0x4a7978]
mov dword [esp + 0x1c], ebp
jne 0x4409df
cmp byte [eax], 0
jne 0x4409c3
mov eax, edi
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x4409a3
mov eax, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x49ae68
push eax
call fcn.004756d0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
push 0x499861
push 0
push 0x49ae68
call fcn.0042d8b0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
cmp dword [esp + 0x39c], 0
jne 0x4409d8
mov dword [esp + 0x39c], 1
mov dword [edi + 0x30], 0
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4409e4
sub ecx, esi
cmp ecx, 0x104
jb 0x440a4d
test byte [edi + 0xe0], 1
mov dword [edi + 0x30], 0x6f
jne 0x440a2b
mov ecx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x49ae68
push ecx
call fcn.004756d0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
push 0x499861
push 0
push 0x49ae68
mov ecx, ebp
call fcn.0042d8b0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
lea esi, [esp + 0x288]
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x440a58
lea edx, [esp + 0x180]
sub edx, eax
jmp 0x440a70
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x440a70
lea edx, [esp + 0x180]
push 0x5c
push edx
call fcn.00487bae
add esp, 8
test eax, eax
je 0x440aab
mov byte [eax + 1], 0
lea eax, [esp + 0x180]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440aa0
sub eax, edx
jmp 0x440ab5
mov byte [esp + 0x180], 0
xor eax, eax
mov ebx, 0x103
lea edx, [esp + 0x288]
lea ecx, [esp + eax + 0x180]
sub ebx, eax
push 0x5c
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ebx
call fcn.00487bae
add esp, 8
test eax, eax
je 0x440ae4
inc eax
jmp 0x440aeb
lea eax, [esp + 0x288]
mov edi, 0x49f00c
mov dword [esp + 0x14], eax
call fcn.00409290
test eax, eax
jne 0x440b08
mov dword [esp + 0x39c], 3
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28c]
push ecx
xor ebp, ebp
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x440c31
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ac9bc]
mov edx, dword [0x4a7978]
cmp eax, dword [edx + 0xb8]
jbe 0x440b78
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x440b6d
push 1
push 0xffffffffffffffff
call fcn.004013c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac9bc], eax
test byte [esp + 0x40], 0x10
je 0x440ba9
cmp byte [esp + 0x6c], 0x2e
jne 0x440b9d
mov al, byte [esp + 0x6d]
test al, al
je 0x440c16
cmp al, 0x2e
jne 0x440b9d
cmp byte [esp + 0x6e], 0
je 0x440c16
cmp dword [esp + 0x39c], 1
jne 0x440bb3
jmp 0x440c16
cmp dword [esp + 0x39c], 2
je 0x440c16
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440bc0
sub eax, edx
cmp eax, ebx
jbe 0x440bdc
mov ecx, dword [0x4a7978]
mov dword [ecx + 0x30], 0x6f
jmp 0x440c15
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x440be8
mov edx, dword [esp + 0x3a8]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x188]
push ecx
call dword [esp + 0x3b0]
add esp, 0xc
test eax, eax
jne 0x440c16
inc ebp
lea edx, [esp + 0x40]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440b30
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x3a0]
test bl, bl
je 0x440d67
cmp dword [esp + 0x20], 2
jbe 0x440d67
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x184]
push edx
mov dword [eax], 0x2a2e2a
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x440d67
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440c76
sub eax, edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ac9bc]
mov ecx, dword [0x4a7978]
cmp eax, dword [ecx + 0xb8]
jbe 0x440cc9
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x440cbe
push 1
push 0xffffffffffffffff
call fcn.004013c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac9bc], eax
test byte [esp + 0x40], 0x10
je 0x440d4c
cmp byte [esp + 0x6c], 0x2e
jne 0x440cea
mov al, byte [esp + 0x6d]
test al, al
je 0x440d4c
cmp al, 0x2e
jne 0x440cea
cmp byte [esp + 0x6e], 0
je 0x440d4c
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440cf1
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x20]
jae 0x440d4c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
push ecx
push 0x49bfb0
push edx
call fcn.00485d58
mov eax, dword [esp + 0x3b8]
mov ecx, dword [esp + 0x3b4]
mov edx, dword [esp + 0x3ac]
add esp, 0x10
push 1
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ebx
push edx
lea eax, [esp + 0x194]
push eax
call fcn.00440940
add ebp, eax
lea ecx, [esp + 0x40]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440c81
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x3ac], 0
jne 0x440d7c
mov edx, dword [esp + 0x1c]
push ebp
push edx
call fcn.0042da10
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x384
ret 0x18