Function at 0x442260
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, 0x734
cmp byte [ebp + 0x18], 0
push ebx
mov ebx, dword [0x4c48ec]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
jne 0x4422ed
cmp word [esi], 0
jne 0x4422d9
mov eax, ebx
cmp byte [eax + 0x108], 0
mov dword [eax + 0x30], 0x57
jne 0x4422bd
mov eax, dword [0x4c8cc4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a432c
push eax
call fcn.004774a0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4ac0f0
push 0
push 0x4a432c
call fcn.0042dea0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x4422e6
mov dword [ebp + 0x10], 1
mov dword [ebx + 0x30], 0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4422f2
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x442357
mov dword [ebx + 0x30], 0x6f
cmp byte [ebx + 0x108], cl
jne 0x442339
mov ecx, dword [0x4c8cc4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a432c
push ecx
call fcn.004774a0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4ac0f0
push 0
push 0x4a432c
mov ecx, edi
call fcn.0042dea0
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 + 0x2b8]
push eax
call fcn.00490864
xor ecx, ecx
lea edx, [esp + 0x544]
add esp, 0xc
mov word [esp + 0x32e], cx
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442382
lea edx, [esp + 0x330]
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4423a0
lea edx, [esp + 0x330]
push 0x5c
push edx
call fcn.0048f73d
add esp, 8
test eax, eax
je 0x4423e6
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x330]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4423d5
sub eax, edx
sar eax, 1
jmp 0x4423f2
xor edx, edx
mov word [esp + 0x330], dx
xor eax, eax
lea ecx, [esp + eax*2 + 0x330]
mov dword [esp + 0x18], ecx
mov ecx, 0x103
lea edx, [esp + 0x538]
sub ecx, eax
push 0x5c
push edx
mov dword [esp + 0x24], ecx
call fcn.0048f73d
add esp, 8
test eax, eax
je 0x442423
add eax, 2
jmp 0x44242a
lea eax, [esp + 0x538]
mov ebx, 0x4ab6d0
mov dword [esp + 0x14], eax
call fcn.00409660
test eax, eax
jne 0x442446
mov edi, 3
mov dword [ebp + 0x10], edi
jmp 0x442449
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x53c]
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x44276d
jmp 0x442489
mov edi, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4cb134]
mov edx, dword [0x4c48ec]
cmp eax, dword [edx + 0xd8]
jbe 0x4424cc
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4424c5
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call esi
mov dword [0x4cb134], eax
test byte [esp + 0x28], 0x10
je 0x442505
cmp word [esp + 0x54], 0x2e
jne 0x4424fb
mov ax, word [esp + 0x56]
test ax, ax
je 0x44274e
cmp ax, 0x2e
jne 0x4424fb
cmp word [esp + 0x58], 0
je 0x44274e
cmp edi, 1
jne 0x44250e
jmp 0x44274e
cmp edi, 2
je 0x44274e
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442515
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x1c]
jbe 0x44253c
mov ecx, dword [0x4c48ec]
mov dword [ecx + 0x30], 0x6f
jmp 0x44274a
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x54]
mov ecx, eax
sub edx, ecx
jmp 0x442550
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442550
lea edi, [esp + 0x2b0]
cmp word [esp + 0x2b0], cx
je 0x442724
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x442591
push 2
push esi
call fcn.0048edbe
add esp, 8
test eax, eax
je 0x442591
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x4425a7.44
movzx edx, byte [eax + 0x442958]
jmp dword [edx*4 + 0x44292c]
mov ebx, 1
jmp case.0x4425a7.44
mov ebx, 2
jmp case.0x4425a7.44
mov ebx, 3
jmp case.0x4425a7.44
mov eax, 1
cmp ebx, eax
jne 0x4425de
or dword [esp + 0x28], eax
jmp case.0x4425a7.44
cmp ebx, 2
jne 0x4425ed
and dword [esp + 0x28], 0xfffffffe
jmp case.0x4425a7.44
cmp ebx, 3
jne case.0x4425a7.44
xor dword [esp + 0x28], eax
jmp case.0x4425a7.44
cmp ebx, 1
jne 0x44260e
or dword [esp + 0x28], 0x20
jmp case.0x4425a7.44
cmp ebx, 2
jne 0x44261d
and dword [esp + 0x28], 0xffffffdf
jmp case.0x4425a7.44
cmp ebx, 3
jne case.0x4425a7.44
xor dword [esp + 0x28], 0x20
jmp case.0x4425a7.44
cmp ebx, 1
jne 0x44263f
or dword [esp + 0x28], 4
jmp case.0x4425a7.44
cmp ebx, 2
jne 0x44264e
and dword [esp + 0x28], 0xfffffffb
jmp case.0x4425a7.44
cmp ebx, 3
jne case.0x4425a7.44
xor dword [esp + 0x28], 4
jmp case.0x4425a7.44
cmp ebx, 1
jne 0x442670
or dword [esp + 0x28], 2
jmp case.0x4425a7.44
cmp ebx, 2
jne 0x44267f
and dword [esp + 0x28], 0xfffffffd
jmp case.0x4425a7.44
cmp ebx, 3
jne case.0x4425a7.44
xor dword [esp + 0x28], 2
jmp case.0x4425a7.44
cmp ebx, 1
jne 0x4426a1
or dword [esp + 0x28], 0x80
jmp case.0x4425a7.44
cmp ebx, 2
jne 0x4426b0
and dword [esp + 0x28], 0xffffff7f
jmp case.0x4425a7.44
cmp ebx, 3
jne case.0x4425a7.44
xor dword [esp + 0x28], 0x80
jmp case.0x4425a7.44
cmp ebx, 1
jne 0x4426ce
or dword [esp + 0x28], 0x1000
jmp case.0x4425a7.44
cmp ebx, 2
jne 0x4426dd
and dword [esp + 0x28], 0xffffefff
jmp case.0x4425a7.44
cmp ebx, 3
jne case.0x4425a7.44
xor dword [esp + 0x28], 0x1000
jmp case.0x4425a7.44
cmp ebx, 1
jne 0x4426fb
or dword [esp + 0x28], 0x100
jmp case.0x4425a7.44
cmp ebx, 2
jne 0x44270a
and dword [esp + 0x28], 0xfffffeff
jmp case.0x4425a7.44
cmp ebx, 3
jne case.0x4425a7.44
xor dword [esp + 0x28], 0x100
add edi, 2
cmp word [edi], 0
jne 0x442574
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x334]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44274e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4c48ec]
mov dword [edx + 0x30], eax
inc dword [esp + 0x10]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x442480
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x4428c4
cmp dword [esp + 0x1c], 2
jbe 0x4428c4
mov edx, dword [esp + 0x18]
mov eax, 0x4a8944
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442790
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x334]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4428c4
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4427c4
sub eax, edx
sar eax, 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4cb134]
mov ecx, dword [0x4c48ec]
cmp eax, dword [ecx + 0xd8]
jbe 0x442820
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x442815
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4cb134], eax
test byte [esp + 0x28], 0x10
je 0x4428a9
cmp word [esp + 0x54], 0x2e
jne 0x44284b
mov ax, word [esp + 0x56]
test ax, ax
je 0x4428a9
cmp ax, 0x2e
jne 0x44284b
cmp word [esp + 0x58], 0
je 0x4428a9
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442852
sub eax, edx
sar eax, 1
add eax, esi
cmp eax, dword [esp + 0x1c]
jae 0x4428a9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
push ecx
push str._s_s
push edx
call fcn.0048df73
mov eax, dword [ebp + 0x10]
add esp, 0x10
push 1
push ebx
push eax
lea ecx, [esp + 0x33c]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x2c0]
push edx
call fcn.00442260
add dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4427d5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x18], 0
mov esi, dword [esp + 0x10]
jne 0x442921
test esi, esi
je 0x442910
mov ecx, dword [0x4c48ec]
cmp byte [ecx + 0x108], 0
je 0x442910
push 0x4ac0f0
push 0
push 0xa
lea edx, [esp + 0x2a4]
push edx
push esi
call fcn.0048d8e5
mov ecx, dword [esp + 0x34]
add esp, 0xc
push eax
call fcn.0042dea0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, esi
cdq
push 0x18
push edx
push eax
mov eax, dword [0x4c8cc4]
call fcn.004010e0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14