Function at 0x4408a0
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 0x44092c
cmp byte [esi], 0
jne 0x440918
mov eax, edi
cmp byte [eax + 0xe8], 0
mov dword [eax + 0x30], 0x57
jne 0x4408fc
mov eax, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push eax
call fcn.00475030
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x498811
push 0
push 0x499f00
call fcn.0042d1f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x440925
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 0x440931
sub eax, edx
cmp eax, 0x104
jb 0x440990
mov dword [edi + 0x30], 0x6f
cmp byte [edi + 0xe8], cl
jne 0x440972
mov ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push ecx
call fcn.00475030
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x498811
push 0
push 0x499f00
mov ecx, ebx
call fcn.0042d1f0
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.004880f0
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 0x4409c0
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 0x4409d5
lea ecx, [esp + 0x1d8]
push 0x5c
push ecx
call fcn.0048734a
add esp, 8
test eax, eax
je 0x440a0e
mov byte [eax + 1], 0
lea eax, [esp + 0x1d8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440a03
sub eax, edx
jmp 0x440a18
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.0048734a
add esp, 8
test eax, eax
je 0x440a47
inc eax
jmp 0x440a4e
lea eax, [esp + 0x2e0]
mov edi, 0x49dee4
mov dword [esp + 0x1c], eax
call fcn.004093b0
test eax, eax
jne 0x440a67
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 0x440d78
jmp 0x440aaa
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x18]
call esi
sub eax, dword [0x4ac8ac]
mov ecx, dword [0x4a6920]
cmp eax, dword [ecx + 0xb8]
jbe 0x440aed
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 0x440ae6
push 1
push 0xffffffffffffffff
call fcn.00401350
add esp, 8
call esi
mov dword [0x4ac8ac], eax
test byte [esp + 0x28], 0x10
je 0x440b21
cmp byte [esp + 0x54], 0x2e
jne 0x440b16
mov al, byte [esp + 0x55]
test al, al
je 0x440d59
cmp al, 0x2e
jne 0x440b16
cmp byte [esp + 0x56], 0
je 0x440d59
cmp dword [ebp + 0x10], 1
jne 0x440b2b
jmp 0x440d59
cmp dword [ebp + 0x10], 2
je 0x440d59
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440b32
sub eax, edx
cmp eax, ebx
jbe 0x440b50
mov eax, dword [0x4a6920]
mov dword [eax + 0x30], 0x6f
jmp 0x440d55
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 0x440b60
lea ebx, [esp + 0x178]
cmp byte [esp + 0x178], cl
je 0x440d2f
mov edi, edi
movzx esi, byte [ebx]
test esi, 0xffffff80
jne 0x440b9d
push 2
push esi
call fcn.0048668e
add esp, 8
test eax, eax
je 0x440b9d
and esi, 0xffffffdf
mov eax, esi
movsx eax, al
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x440bb5.44
movzx edx, byte [eax + 0x440f4c]
jmp dword [edx*4 + 0x440f20]
mov edi, 1
jmp case.0x440bb5.44
mov edi, 2
jmp case.0x440bb5.44
mov edi, 3
jmp case.0x440bb5.44
mov eax, 1
cmp edi, eax
jne 0x440bec
or dword [esp + 0x28], eax
jmp case.0x440bb5.44
cmp edi, 2
jne 0x440bfb
and dword [esp + 0x28], 0xfffffffe
jmp case.0x440bb5.44
cmp edi, 3
jne case.0x440bb5.44
xor dword [esp + 0x28], eax
jmp case.0x440bb5.44
cmp edi, 1
jne 0x440c1c
or dword [esp + 0x28], 0x20
jmp case.0x440bb5.44
cmp edi, 2
jne 0x440c2b
and dword [esp + 0x28], 0xffffffdf
jmp case.0x440bb5.44
cmp edi, 3
jne case.0x440bb5.44
xor dword [esp + 0x28], 0x20
jmp case.0x440bb5.44
cmp edi, 1
jne 0x440c4d
or dword [esp + 0x28], 4
jmp case.0x440bb5.44
cmp edi, 2
jne 0x440c5c
and dword [esp + 0x28], 0xfffffffb
jmp case.0x440bb5.44
cmp edi, 3
jne case.0x440bb5.44
xor dword [esp + 0x28], 4
jmp case.0x440bb5.44
cmp edi, 1
jne 0x440c7e
or dword [esp + 0x28], 2
jmp case.0x440bb5.44
cmp edi, 2
jne 0x440c8d
and dword [esp + 0x28], 0xfffffffd
jmp case.0x440bb5.44
cmp edi, 3
jne case.0x440bb5.44
xor dword [esp + 0x28], 2
jmp case.0x440bb5.44
cmp edi, 1
jne 0x440caf
or dword [esp + 0x28], 0x80
jmp case.0x440bb5.44
cmp edi, 2
jne 0x440cbe
and dword [esp + 0x28], 0xffffff7f
jmp case.0x440bb5.44
cmp edi, 3
jne case.0x440bb5.44
xor dword [esp + 0x28], 0x80
jmp case.0x440bb5.44
cmp edi, 1
jne 0x440cdc
or dword [esp + 0x28], 0x1000
jmp case.0x440bb5.44
cmp edi, 2
jne 0x440ceb
and dword [esp + 0x28], 0xffffefff
jmp case.0x440bb5.44
cmp edi, 3
jne case.0x440bb5.44
xor dword [esp + 0x28], 0x1000
jmp case.0x440bb5.44
cmp edi, 1
jne 0x440d09
or dword [esp + 0x28], 0x100
jmp case.0x440bb5.44
cmp edi, 2
jne 0x440d18
and dword [esp + 0x28], 0xfffffeff
jmp case.0x440bb5.44
cmp edi, 3
jne case.0x440bb5.44
xor dword [esp + 0x28], 0x100
inc ebx
cmp byte [ebx], 0
jne 0x440b80
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1dc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x440d59
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 0x440aa0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x440eb7
cmp dword [esp + 0x18], 2
jbe 0x440eb7
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 0x440eb7
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440dc0
mov edi, dword [esp + 0x10]
sub eax, edx
mov esi, eax
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ac8ac]
mov ecx, dword [0x4a6920]
cmp eax, dword [ecx + 0xb8]
jbe 0x440e1b
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 0x440e10
push 1
push 0xffffffffffffffff
call fcn.00401350
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac8ac], eax
test byte [esp + 0x28], 0x10
je 0x440e92
cmp byte [esp + 0x54], 0x2e
jne 0x440e3c
mov al, byte [esp + 0x55]
test al, al
je 0x440e92
cmp al, 0x2e
jne 0x440e3c
cmp byte [esp + 0x56], 0
je 0x440e92
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440e43
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x18]
jae 0x440e92
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x49ae04
push edx
call fcn.00485688
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.004408a0
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 0x440dd0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x440ebb
mov edi, dword [esp + 0x10]
cmp byte [ebp + 0x18], 0
jne 0x440f13
test edi, edi
je 0x440f02
mov eax, dword [0x4a6920]
cmp byte [eax + 0xe8], 0
je 0x440f02
push 0x498811
push 0
push 0xa
lea ecx, [esp + 0x178]
push ecx
push edi
call fcn.00484de2
mov ecx, dword [esp + 0x38]
add esp, 0xc
push eax
call fcn.0042d1f0
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 [0x4aaa2c]
call fcn.004010d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14