Function at 0x440800
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3dc
cmp byte [ebp + 0x18], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [0x4a6920]
mov dword [esp + 0x24], ebx
jne 0x44088c
cmp byte [esi], 0
jne 0x440878
mov eax, edi
cmp byte [eax + 0xe4], 0
mov dword [eax + 0x30], 0x57
jne 0x44085c
mov eax, dword [0x4aaa1c]
push 1
push 0
push 0xffffffffffffffff
push 0x499ee8
push eax
call fcn.00474550
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x498839
push 0
push 0x499ee8
call fcn.0042d0e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x440885
mov dword [ebp + 0x10], 1
mov dword [edi + 0x30], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440891
sub eax, edx
cmp eax, 0x104
jb 0x4408f0
mov dword [edi + 0x30], 0x6f
cmp byte [edi + 0xe4], cl
jne 0x4408d2
mov ecx, dword [0x4aaa1c]
push 1
push 0
push 0xffffffffffffffff
push 0x499ee8
push ecx
call fcn.00474550
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x498839
push 0
push 0x499ee8
mov ecx, ebx
call fcn.0042d0e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 8]
push 0x3f
push edx
lea eax, [esp + 0x180]
push eax
call fcn.00487610
lea edx, [esp + 0x2ec]
add esp, 0xc
mov byte [esp + 0x1b7], 0
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x440920
lea edx, [esp + 0x1d8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x440935
lea ecx, [esp + 0x1d8]
push 0x5c
push ecx
call fcn.0048686a
add esp, 8
test eax, eax
je 0x44096e
mov byte [eax + 1], 0
lea eax, [esp + 0x1d8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440963
sub eax, edx
jmp 0x440978
mov byte [esp + 0x1d8], 0
xor eax, eax
lea edx, [esp + eax + 0x1d8]
mov ebx, 0x103
sub ebx, eax
lea eax, [esp + 0x2e0]
push 0x5c
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebx
call fcn.0048686a
add esp, 8
test eax, eax
je 0x4409a7
inc eax
jmp 0x4409ae
lea eax, [esp + 0x2e0]
mov edi, 0x49de8c
mov dword [esp + 0x1c], eax
call fcn.00409340
test eax, eax
jne 0x4409c7
mov dword [ebp + 0x10], 3
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x2e4]
xor edi, edi
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x440cd8
jmp 0x440a0a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x18]
call esi
sub eax, dword [0x4ac89c]
mov ecx, dword [0x4a6920]
cmp eax, dword [ecx + 0xb4]
jbe 0x440a4d
push 0
push 0
push 0
push 0
lea edx, [esp + 0x1cc]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x440a46
push 1
push 0xffffffffffffffff
call fcn.00401330
add esp, 8
call esi
mov dword [0x4ac89c], eax
test byte [esp + 0x28], 0x10
je 0x440a81
cmp byte [esp + 0x54], 0x2e
jne 0x440a76
mov al, byte [esp + 0x55]
test al, al
je 0x440cb9
cmp al, 0x2e
jne 0x440a76
cmp byte [esp + 0x56], 0
je 0x440cb9
cmp dword [ebp + 0x10], 1
jne 0x440a8b
jmp 0x440cb9
cmp dword [ebp + 0x10], 2
je 0x440cb9
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440a92
sub eax, edx
cmp eax, ebx
jbe 0x440ab0
mov eax, dword [0x4a6920]
mov dword [eax + 0x30], 0x6f
jmp 0x440cb5
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x54]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x440ac0
lea ebx, [esp + 0x178]
cmp byte [esp + 0x178], cl
je 0x440c8f
mov edi, edi
movzx esi, byte [ebx]
test esi, 0xffffff80
jne 0x440afd
push 2
push esi
call fcn.00485bae
add esp, 8
test eax, eax
je 0x440afd
and esi, 0xffffffdf
mov eax, esi
movsx eax, al
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x440b15.44
movzx edx, byte [eax + 0x440eac]
jmp dword [edx*4 + 0x440e80]
mov edi, 1
jmp case.0x440b15.44
mov edi, 2
jmp case.0x440b15.44
mov edi, 3
jmp case.0x440b15.44
mov eax, 1
cmp edi, eax
jne 0x440b4c
or dword [esp + 0x28], eax
jmp case.0x440b15.44
cmp edi, 2
jne 0x440b5b
and dword [esp + 0x28], 0xfffffffe
jmp case.0x440b15.44
cmp edi, 3
jne case.0x440b15.44
xor dword [esp + 0x28], eax
jmp case.0x440b15.44
cmp edi, 1
jne 0x440b7c
or dword [esp + 0x28], 0x20
jmp case.0x440b15.44
cmp edi, 2
jne 0x440b8b
and dword [esp + 0x28], 0xffffffdf
jmp case.0x440b15.44
cmp edi, 3
jne case.0x440b15.44
xor dword [esp + 0x28], 0x20
jmp case.0x440b15.44
cmp edi, 1
jne 0x440bad
or dword [esp + 0x28], 4
jmp case.0x440b15.44
cmp edi, 2
jne 0x440bbc
and dword [esp + 0x28], 0xfffffffb
jmp case.0x440b15.44
cmp edi, 3
jne case.0x440b15.44
xor dword [esp + 0x28], 4
jmp case.0x440b15.44
cmp edi, 1
jne 0x440bde
or dword [esp + 0x28], 2
jmp case.0x440b15.44
cmp edi, 2
jne 0x440bed
and dword [esp + 0x28], 0xfffffffd
jmp case.0x440b15.44
cmp edi, 3
jne case.0x440b15.44
xor dword [esp + 0x28], 2
jmp case.0x440b15.44
cmp edi, 1
jne 0x440c0f
or dword [esp + 0x28], 0x80
jmp case.0x440b15.44
cmp edi, 2
jne 0x440c1e
and dword [esp + 0x28], 0xffffff7f
jmp case.0x440b15.44
cmp edi, 3
jne case.0x440b15.44
xor dword [esp + 0x28], 0x80
jmp case.0x440b15.44
cmp edi, 1
jne 0x440c3c
or dword [esp + 0x28], 0x1000
jmp case.0x440b15.44
cmp edi, 2
jne 0x440c4b
and dword [esp + 0x28], 0xffffefff
jmp case.0x440b15.44
cmp edi, 3
jne case.0x440b15.44
xor dword [esp + 0x28], 0x1000
jmp case.0x440b15.44
cmp edi, 1
jne 0x440c69
or dword [esp + 0x28], 0x100
jmp case.0x440b15.44
cmp edi, 2
jne 0x440c78
and dword [esp + 0x28], 0xfffffeff
jmp case.0x440b15.44
cmp edi, 3
jne case.0x440b15.44
xor dword [esp + 0x28], 0x100
inc ebx
cmp byte [ebx], 0
jne 0x440ae0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1dc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x440cb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4a6920]
mov dword [edx + 0x30], eax
inc dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440a00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x440e17
cmp dword [esp + 0x18], 2
jbe 0x440e17
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1dc]
push eax
mov dword [ecx], 0x2a2e2a
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x440e17
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440d20
mov edi, dword [esp + 0x10]
sub eax, edx
mov esi, eax
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ac89c]
mov ecx, dword [0x4a6920]
cmp eax, dword [ecx + 0xb4]
jbe 0x440d7b
push 0
push 0
push 0
push 0
lea edx, [esp + 0x1cc]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x440d70
push 1
push 0xffffffffffffffff
call fcn.00401330
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac89c], eax
test byte [esp + 0x28], 0x10
je 0x440df2
cmp byte [esp + 0x54], 0x2e
jne 0x440d9c
mov al, byte [esp + 0x55]
test al, al
je 0x440df2
cmp al, 0x2e
jne 0x440d9c
cmp byte [esp + 0x56], 0
je 0x440df2
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440da3
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x18]
jae 0x440df2
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x49adbc
push edx
call fcn.00484ba8
mov eax, dword [ebp + 0x10]
add esp, 0x10
push 1
push ebx
push eax
lea ecx, [esp + 0x1e4]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x188]
push edx
call fcn.00440800
add edi, eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440d30
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x440e1b
mov edi, dword [esp + 0x10]
cmp byte [ebp + 0x18], 0
jne 0x440e73
test edi, edi
je 0x440e62
mov eax, dword [0x4a6920]
cmp byte [eax + 0xe4], 0
je 0x440e62
push 0x498839
push 0
push 0xa
lea ecx, [esp + 0x178]
push ecx
push edi
call fcn.00484302
mov ecx, dword [esp + 0x38]
add esp, 0xc
push eax
call fcn.0042d0e0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, edi
cdq
push 0x18
push edx
push eax
mov eax, dword [0x4aaa1c]
call fcn.004010d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14