Function at 0x440520
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 [0x4ec48c]
mov dword [esp + 0x1c], ebp
jne 0x4405bf
cmp byte [eax], 0
jne 0x4405a3
mov eax, edi
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x440583
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9220
push eax
call fcn.004a5c20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
push 0x4d6959
push 0
push 0x4d9220
call fcn.0042d070
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
cmp dword [esp + 0x39c], 0
jne 0x4405b8
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 0x4405c4
sub ecx, esi
cmp ecx, 0x104
jb 0x44062d
test byte [edi + 0xe0], 1
mov dword [edi + 0x30], 0x6f
jne 0x44060b
mov ecx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9220
push ecx
call fcn.004a5c20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
push 0x4d6959
push 0
push 0x4d9220
mov ecx, ebp
call fcn.0042d070
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 0x440638
lea edx, [esp + 0x180]
sub edx, eax
jmp 0x440650
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x440650
lea edx, [esp + 0x180]
push 0x5c
push edx
call fcn.004bc514
add esp, 8
test eax, eax
je 0x44068b
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 0x440680
sub eax, edx
jmp 0x440695
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.004bc514
add esp, 8
test eax, eax
je 0x4406c4
inc eax
jmp 0x4406cb
lea eax, [esp + 0x288]
mov edi, 0x4de0a0
mov dword [esp + 0x14], eax
call fcn.004099e0
test eax, eax
jne 0x4406e8
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 0x440811
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4f2304]
mov edx, dword [0x4ec48c]
cmp eax, dword [edx + 0xb8]
jbe 0x440758
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 0x44074d
push 1
push 0xffffffffffffffff
call fcn.00401910
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f2304], eax
test byte [esp + 0x40], 0x10
je 0x440789
cmp byte [esp + 0x6c], 0x2e
jne 0x44077d
mov al, byte [esp + 0x6d]
test al, al
je 0x4407f6
cmp al, 0x2e
jne 0x44077d
cmp byte [esp + 0x6e], 0
je 0x4407f6
cmp dword [esp + 0x39c], 1
jne 0x440793
jmp 0x4407f6
cmp dword [esp + 0x39c], 2
je 0x4407f6
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4407a0
sub eax, edx
cmp eax, ebx
jbe 0x4407bc
mov ecx, dword [0x4ec48c]
mov dword [ecx + 0x30], 0x6f
jmp 0x4407f5
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 0x4407c8
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 0x4407f6
inc ebp
lea edx, [esp + 0x40]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440710
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x3a0]
test bl, bl
je 0x440947
cmp dword [esp + 0x20], 2
jbe 0x440947
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 0x440947
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440856
sub eax, edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4f2304]
mov ecx, dword [0x4ec48c]
cmp eax, dword [ecx + 0xb8]
jbe 0x4408a9
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 0x44089e
push 1
push 0xffffffffffffffff
call fcn.00401910
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f2304], eax
test byte [esp + 0x40], 0x10
je 0x44092c
cmp byte [esp + 0x6c], 0x2e
jne 0x4408ca
mov al, byte [esp + 0x6d]
test al, al
je 0x44092c
cmp al, 0x2e
jne 0x4408ca
cmp byte [esp + 0x6e], 0
je 0x44092c
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4408d1
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x20]
jae 0x44092c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
push ecx
push 0x4dbdc0
push edx
call fcn.004ba66c
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.00440520
add ebp, eax
lea ecx, [esp + 0x40]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440861
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x3ac], 0
jne 0x44095c
mov edx, dword [esp + 0x1c]
push ebp
push edx
call fcn.0042d1e0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x384
ret 0x18