Function at 0x440280
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 [0x4a3440]
mov dword [esp + 0x24], ebx
jne 0x44030c
cmp byte [esi], 0
jne 0x4402f8
mov eax, edi
cmp byte [eax + 0xe4], 0
mov dword [eax + 0x30], 0x57
jne 0x4402dc
mov eax, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x496ed0
push eax
call fcn.004715e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4957f9
push 0
push 0x496ed0
call fcn.0042cd10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x440305
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 0x440311
sub eax, edx
cmp eax, 0x104
jb 0x440370
mov dword [edi + 0x30], 0x6f
cmp byte [edi + 0xe4], cl
jne 0x440352
mov ecx, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x496ed0
push ecx
call fcn.004715e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4957f9
push 0
push 0x496ed0
mov ecx, ebx
call fcn.0042cd10
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.004844d0
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 0x4403a0
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 0x4403b5
lea ecx, [esp + 0x1d8]
push 0x5c
push ecx
call fcn.0048357e
add esp, 8
test eax, eax
je 0x4403ee
mov byte [eax + 1], 0
lea eax, [esp + 0x1d8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4403e3
sub eax, edx
jmp 0x4403f8
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.0048357e
add esp, 8
test eax, eax
je 0x440427
inc eax
jmp 0x44042e
lea eax, [esp + 0x2e0]
mov edi, 0x49aca4
mov dword [esp + 0x1c], eax
call fcn.00408f20
test eax, eax
jne 0x440447
mov dword [ebp + 0x10], 2
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 0x440758
jmp 0x44048a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x18]
call esi
sub eax, dword [0x4a92d4]
mov ecx, dword [0x4a3440]
cmp eax, dword [ecx + 0xb4]
jbe 0x4404cd
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 0x4404c6
push 1
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
call esi
mov dword [0x4a92d4], eax
test byte [esp + 0x28], 0x10
je 0x440501
cmp byte [esp + 0x54], 0x2e
jne 0x4404f6
mov al, byte [esp + 0x55]
test al, al
je 0x440739
cmp al, 0x2e
jne 0x4404f6
cmp byte [esp + 0x56], 0
je 0x440739
cmp dword [ebp + 0x10], 1
jne 0x44050b
jmp 0x440739
cmp dword [ebp + 0x10], 3
je 0x440739
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440512
sub eax, edx
cmp eax, ebx
jbe 0x440530
mov eax, dword [0x4a3440]
mov dword [eax + 0x30], 0x6f
jmp 0x440735
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 0x440540
lea ebx, [esp + 0x178]
cmp byte [esp + 0x178], cl
je 0x44070f
mov edi, edi
movzx esi, byte [ebx]
test esi, 0xffffff80
jne 0x44057d
push 2
push esi
call fcn.00482bae
add esp, 8
test eax, eax
je 0x44057d
and esi, 0xffffffdf
mov eax, esi
movsx eax, al
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x440595.44
movzx edx, byte [eax + 0x44092c]
jmp dword [edx*4 + 0x440900]
mov edi, 1
jmp case.0x440595.44
mov edi, 2
jmp case.0x440595.44
mov edi, 3
jmp case.0x440595.44
mov eax, 1
cmp edi, eax
jne 0x4405cc
or dword [esp + 0x28], eax
jmp case.0x440595.44
cmp edi, 2
jne 0x4405db
and dword [esp + 0x28], 0xfffffffe
jmp case.0x440595.44
cmp edi, 3
jne case.0x440595.44
xor dword [esp + 0x28], eax
jmp case.0x440595.44
cmp edi, 1
jne 0x4405fc
or dword [esp + 0x28], 0x20
jmp case.0x440595.44
cmp edi, 2
jne 0x44060b
and dword [esp + 0x28], 0xffffffdf
jmp case.0x440595.44
cmp edi, 3
jne case.0x440595.44
xor dword [esp + 0x28], 0x20
jmp case.0x440595.44
cmp edi, 1
jne 0x44062d
or dword [esp + 0x28], 4
jmp case.0x440595.44
cmp edi, 2
jne 0x44063c
and dword [esp + 0x28], 0xfffffffb
jmp case.0x440595.44
cmp edi, 3
jne case.0x440595.44
xor dword [esp + 0x28], 4
jmp case.0x440595.44
cmp edi, 1
jne 0x44065e
or dword [esp + 0x28], 2
jmp case.0x440595.44
cmp edi, 2
jne 0x44066d
and dword [esp + 0x28], 0xfffffffd
jmp case.0x440595.44
cmp edi, 3
jne case.0x440595.44
xor dword [esp + 0x28], 2
jmp case.0x440595.44
cmp edi, 1
jne 0x44068f
or dword [esp + 0x28], 0x80
jmp case.0x440595.44
cmp edi, 2
jne 0x44069e
and dword [esp + 0x28], 0xffffff7f
jmp case.0x440595.44
cmp edi, 3
jne case.0x440595.44
xor dword [esp + 0x28], 0x80
jmp case.0x440595.44
cmp edi, 1
jne 0x4406bc
or dword [esp + 0x28], 0x1000
jmp case.0x440595.44
cmp edi, 2
jne 0x4406cb
and dword [esp + 0x28], 0xffffefff
jmp case.0x440595.44
cmp edi, 3
jne case.0x440595.44
xor dword [esp + 0x28], 0x1000
jmp case.0x440595.44
cmp edi, 1
jne 0x4406e9
or dword [esp + 0x28], 0x100
jmp case.0x440595.44
cmp edi, 2
jne 0x4406f8
and dword [esp + 0x28], 0xfffffeff
jmp case.0x440595.44
cmp edi, 3
jne case.0x440595.44
xor dword [esp + 0x28], 0x100
inc ebx
cmp byte [ebx], 0
jne 0x440560
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1dc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x440739
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4a3440]
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 0x440480
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x440897
cmp dword [esp + 0x18], 2
jbe 0x440897
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 0x440897
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4407a0
mov edi, dword [esp + 0x10]
sub eax, edx
mov esi, eax
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a92d4]
mov ecx, dword [0x4a3440]
cmp eax, dword [ecx + 0xb4]
jbe 0x4407fb
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 0x4407f0
push 1
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a92d4], eax
test byte [esp + 0x28], 0x10
je 0x440872
cmp byte [esp + 0x54], 0x2e
jne 0x44081c
mov al, byte [esp + 0x55]
test al, al
je 0x440872
cmp al, 0x2e
jne 0x44081c
cmp byte [esp + 0x56], 0
je 0x440872
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440823
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x18]
jae 0x440872
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x49766c
push edx
call fcn.00481bc8
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.00440280
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 0x4407b0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44089b
mov edi, dword [esp + 0x10]
cmp byte [ebp + 0x18], 0
jne 0x4408f3
test edi, edi
je 0x4408e2
mov eax, dword [0x4a3440]
cmp byte [eax + 0xe4], 0
je 0x4408e2
push 0x4957f9
push 0
push 0xa
lea ecx, [esp + 0x178]
push ecx
push edi
call fcn.00481322
mov ecx, dword [esp + 0x38]
add esp, 0xc
push eax
call fcn.0042cd10
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 [0x4a7474]
call fcn.004010d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14