Function at 0x441840
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 [0x4a6440]
mov dword [esp + 0x24], ebx
jne 0x4418cc
cmp byte [esi], 0
jne 0x4418b8
mov eax, edi
cmp byte [eax + 0xe4], 0
mov dword [eax + 0x30], 0x57
jne 0x44189c
mov eax, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x499ee8
push eax
call fcn.00474ce0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4987f9
push 0
push 0x499ee8
call fcn.0042e170
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x4418c5
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 0x4418d1
sub eax, edx
cmp eax, 0x104
jb 0x441930
mov dword [edi + 0x30], 0x6f
cmp byte [edi + 0xe4], cl
jne 0x441912
mov ecx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x499ee8
push ecx
call fcn.00474ce0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4987f9
push 0
push 0x499ee8
mov ecx, ebx
call fcn.0042e170
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.00487da0
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 0x441960
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 0x441975
lea ecx, [esp + 0x1d8]
push 0x5c
push ecx
call fcn.00486ffa
add esp, 8
test eax, eax
je 0x4419ae
mov byte [eax + 1], 0
lea eax, [esp + 0x1d8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4419a3
sub eax, edx
jmp 0x4419b8
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.00486ffa
add esp, 8
test eax, eax
je 0x4419e7
inc eax
jmp 0x4419ee
lea eax, [esp + 0x2e0]
mov edi, 0x49dd54
mov dword [esp + 0x1c], eax
call fcn.00409340
test eax, eax
jne 0x441a07
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 0x441d18
jmp 0x441a4a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x18]
call esi
sub eax, dword [0x4ac39c]
mov ecx, dword [0x4a6440]
cmp eax, dword [ecx + 0xb4]
jbe 0x441a8d
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 0x441a86
push 1
push 0xffffffffffffffff
call fcn.00401330
add esp, 8
call esi
mov dword [0x4ac39c], eax
test byte [esp + 0x28], 0x10
je 0x441ac1
cmp byte [esp + 0x54], 0x2e
jne 0x441ab6
mov al, byte [esp + 0x55]
test al, al
je 0x441cf9
cmp al, 0x2e
jne 0x441ab6
cmp byte [esp + 0x56], 0
je 0x441cf9
cmp dword [ebp + 0x10], 1
jne 0x441acb
jmp 0x441cf9
cmp dword [ebp + 0x10], 2
je 0x441cf9
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441ad2
sub eax, edx
cmp eax, ebx
jbe 0x441af0
mov eax, dword [0x4a6440]
mov dword [eax + 0x30], 0x6f
jmp 0x441cf5
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 0x441b00
lea ebx, [esp + 0x178]
cmp byte [esp + 0x178], cl
je 0x441ccf
mov edi, edi
movzx esi, byte [ebx]
test esi, 0xffffff80
jne 0x441b3d
push 2
push esi
call fcn.0048633e
add esp, 8
test eax, eax
je 0x441b3d
and esi, 0xffffffdf
mov eax, esi
movsx eax, al
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x441b55.44
movzx edx, byte [eax + 0x441eec]
jmp dword [edx*4 + 0x441ec0]
mov edi, 1
jmp case.0x441b55.44
mov edi, 2
jmp case.0x441b55.44
mov edi, 3
jmp case.0x441b55.44
mov eax, 1
cmp edi, eax
jne 0x441b8c
or dword [esp + 0x28], eax
jmp case.0x441b55.44
cmp edi, 2
jne 0x441b9b
and dword [esp + 0x28], 0xfffffffe
jmp case.0x441b55.44
cmp edi, 3
jne case.0x441b55.44
xor dword [esp + 0x28], eax
jmp case.0x441b55.44
cmp edi, 1
jne 0x441bbc
or dword [esp + 0x28], 0x20
jmp case.0x441b55.44
cmp edi, 2
jne 0x441bcb
and dword [esp + 0x28], 0xffffffdf
jmp case.0x441b55.44
cmp edi, 3
jne case.0x441b55.44
xor dword [esp + 0x28], 0x20
jmp case.0x441b55.44
cmp edi, 1
jne 0x441bed
or dword [esp + 0x28], 4
jmp case.0x441b55.44
cmp edi, 2
jne 0x441bfc
and dword [esp + 0x28], 0xfffffffb
jmp case.0x441b55.44
cmp edi, 3
jne case.0x441b55.44
xor dword [esp + 0x28], 4
jmp case.0x441b55.44
cmp edi, 1
jne 0x441c1e
or dword [esp + 0x28], 2
jmp case.0x441b55.44
cmp edi, 2
jne 0x441c2d
and dword [esp + 0x28], 0xfffffffd
jmp case.0x441b55.44
cmp edi, 3
jne case.0x441b55.44
xor dword [esp + 0x28], 2
jmp case.0x441b55.44
cmp edi, 1
jne 0x441c4f
or dword [esp + 0x28], 0x80
jmp case.0x441b55.44
cmp edi, 2
jne 0x441c5e
and dword [esp + 0x28], 0xffffff7f
jmp case.0x441b55.44
cmp edi, 3
jne case.0x441b55.44
xor dword [esp + 0x28], 0x80
jmp case.0x441b55.44
cmp edi, 1
jne 0x441c7c
or dword [esp + 0x28], 0x1000
jmp case.0x441b55.44
cmp edi, 2
jne 0x441c8b
and dword [esp + 0x28], 0xffffefff
jmp case.0x441b55.44
cmp edi, 3
jne case.0x441b55.44
xor dword [esp + 0x28], 0x1000
jmp case.0x441b55.44
cmp edi, 1
jne 0x441ca9
or dword [esp + 0x28], 0x100
jmp case.0x441b55.44
cmp edi, 2
jne 0x441cb8
and dword [esp + 0x28], 0xfffffeff
jmp case.0x441b55.44
cmp edi, 3
jne case.0x441b55.44
xor dword [esp + 0x28], 0x100
inc ebx
cmp byte [ebx], 0
jne 0x441b20
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1dc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x441cf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4a6440]
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 0x441a40
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x441e57
cmp dword [esp + 0x18], 2
jbe 0x441e57
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 0x441e57
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441d60
mov edi, dword [esp + 0x10]
sub eax, edx
mov esi, eax
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ac39c]
mov ecx, dword [0x4a6440]
cmp eax, dword [ecx + 0xb4]
jbe 0x441dbb
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 0x441db0
push 1
push 0xffffffffffffffff
call fcn.00401330
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac39c], eax
test byte [esp + 0x28], 0x10
je 0x441e32
cmp byte [esp + 0x54], 0x2e
jne 0x441ddc
mov al, byte [esp + 0x55]
test al, al
je 0x441e32
cmp al, 0x2e
jne 0x441ddc
cmp byte [esp + 0x56], 0
je 0x441e32
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441de3
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x18]
jae 0x441e32
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x49a6c8
push edx
call fcn.00485338
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.00441840
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 0x441d70
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x441e5b
mov edi, dword [esp + 0x10]
cmp byte [ebp + 0x18], 0
jne 0x441eb3
test edi, edi
je 0x441ea2
mov eax, dword [0x4a6440]
cmp byte [eax + 0xe4], 0
je 0x441ea2
push 0x4987f9
push 0
push 0xa
lea ecx, [esp + 0x178]
push ecx
push edi
call fcn.00484a92
mov ecx, dword [esp + 0x38]
add esp, 0xc
push eax
call fcn.0042e170
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 [0x4aa51c]
call fcn.004010d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14