Function at 0x4407f0
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, 1
mov edx, dword [esp + 0x388]
push ebx
push ebp
push esi
mov esi, dword [0x4ac1d8]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
jne 0x44088d
cmp byte [edx], 0
jne 0x440878
mov eax, esi
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x440858
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x4a09f8
call fcn.004759c0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
push 0x49e065
push 0
push 0x4a09f8
call fcn.0042ddd0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
mov ebx, dword [esp + 0x39c]
test ebx, ebx
mov dword [esi + 0x30], 0
cmove ebx, eax
jmp 0x440894
mov ebx, dword [esp + 0x39c]
mov ecx, edx
lea edi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4408a0
sub ecx, edi
cmp ecx, 0x104
jb 0x4408e7
test byte [esi + 0xe0], 1
mov dword [esi + 0x30], 0x6f
je 0x440833
push 0x49e065
push 0
push 0x4a09f8
mov ecx, ebp
call fcn.0042ddd0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
lea esi, [esp + 0x288]
mov ecx, edx
sub esi, edx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4408f2
lea ecx, [esp + 0x180]
sub ecx, edx
jmp 0x440910
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x440910
lea eax, [esp + 0x180]
push 0x5c
push eax
call fcn.00487e3e
add esp, 8
test eax, eax
je 0x44094c
lea ecx, [esp + 0x180]
mov byte [eax + 1], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440941
sub ecx, edx
jmp 0x440956
mov byte [esp + 0x180], 0
xor ecx, ecx
lea eax, [esp + 0x180]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, 0x103
sub eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x288]
push 0x5c
push eax
call fcn.00487e3e
add esp, 8
test eax, eax
je 0x440987
inc eax
jmp 0x44098e
lea eax, [esp + 0x288]
mov edx, 0x4a48f8
mov dword [esp + 0x10], eax
mov ecx, eax
call fcn.0040a9c0
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
lea eax, [esp + 0x40]
mov ecx, 3
push eax
cmove ebx, ecx
lea eax, [esp + 0x28c]
push eax
mov dword [esp + 0x28], ebx
xor ebp, ebp
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x440ac8
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4ac1d8]
sub eax, dword [0x4b0fcc]
cmp eax, dword [edx + 0xb8]
jbe 0x440a1f
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 0x440a0e
mov edx, 1
or ecx, 0xffffffff
call fcn.004027d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4ac1d8]
mov dword [0x4b0fcc], eax
test byte [esp + 0x40], 0x10
je 0x440a47
cmp byte [esp + 0x6c], 0x2e
jne 0x440a40
mov al, byte [esp + 0x6d]
test al, al
je 0x440aa7
cmp al, 0x2e
jne 0x440a40
cmp byte [esp + 0x6e], 0
je 0x440aa7
cmp ebx, 1
jne 0x440a4c
jmp 0x440aa7
cmp ebx, 2
je 0x440aa7
lea ecx, [esp + 0x6c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440a53
sub ecx, esi
cmp ecx, dword [esp + 0x18]
jbe 0x440a6b
mov dword [edx + 0x30], 0x6f
jmp 0x440aa6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x440a77
push dword [esp + 0x3a8]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x188]
push eax
call dword [esp + 0x3b0]
add esp, 0xc
test eax, eax
jne 0x440aa7
inc ebp
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4409d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [esp + 0x3a0]
test bl, bl
je 0x440c00
cmp dword [esp + 0x18], 2
jbe 0x440c00
mov eax, dword [esp + 0x14]
mov dword [eax], 0x2a2e2a
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x184]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x440c00
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x440b10
sub esi, ecx
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4ac1d8]
sub eax, dword [0x4b0fcc]
cmp eax, dword [ecx + 0xb8]
jbe 0x440b69
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 0x440b5e
mov edx, 1
or ecx, 0xffffffff
call fcn.004027d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4b0fcc], eax
test byte [esp + 0x40], 0x10
je 0x440be5
cmp byte [esp + 0x6c], 0x2e
jne 0x440b8a
mov al, byte [esp + 0x6d]
test al, al
je 0x440be5
cmp al, 0x2e
jne 0x440b8a
cmp byte [esp + 0x6e], 0
je 0x440be5
lea ecx, [esp + 0x6c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440b91
sub ecx, edx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x18]
jae 0x440be5
push dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push 0x4a1ae4
push dword [esp + 0x20]
call fcn.00485e6d
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x190]
add esp, 0x10
push 1
push dword [esp + 0x3ac]
push dword [esp + 0x3ac]
push ebx
push dword [esp + 0x30]
push eax
call fcn.004407f0
add ebp, eax
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440b20
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x3ac], 0
jne 0x440c14
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.0042df20
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x384
ret 0x18