Function at 0x421060
Capabilities:
Check for time delay via gettickcount
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x278
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov eax, 0x7fff
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [edi + 0x10208]
sub eax, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push eax
push edi
mov dword [esp + 0x18], ecx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4211c1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [0x4e4788]
sub eax, dword [0x4ea5ac]
cmp eax, dword [edx + 0x5c]
jbe 0x4210f2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4210e1
mov edx, 1
or ecx, 0xffffffff
call fcn.004015e0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [0x4e4788]
mov dword [0x4ea5ac], eax
test byte [esp + 0x38], 0x10
je 0x421128
cmp word [esp + 0x64], 0x2e
jne 0x42111d
mov ax, word [esp + 0x66]
test ax, ax
je 0x42119c
cmp ax, 0x2e
jne 0x42111d
cmp word [esp + 0x68], 0
je 0x42119c
cmp dword [edi + 0x10218], 1
jne 0x421131
jmp 0x42119c
cmp dword [edi + 0x10218], 2
je 0x42119c
lea ecx, [esp + 0x64]
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421140
sub ecx, esi
sar ecx, 1
cmp ecx, dword [esp + 0x14]
jbe 0x42115e
mov dword [edx + 0x38], 0x6f
jmp 0x42119b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x64]
mov eax, ecx
lea edx, [edi + edx*2]
sub edx, eax
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x421170
push dword [edi + 0x10214]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edi + 0x10210]
push edi
call eax
add esp, 0xc
test eax, eax
jne 0x42119c
inc ebp
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4210a6
push ebx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov esi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp byte [edi + 0x1021c], 0
je 0x4212e5
cmp dword [esp + 0x14], 1
jbe 0x4212e5
mov ecx, dword [esp + 0x10]
lea eax, [edi + ecx*2]
mov dword [eax], 0x2a
lea eax, [esp + 0x38]
push eax
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4212e5
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebp, dword [esp + 0x14]
call esi
mov ecx, dword [0x4e4788]
sub eax, dword [0x4ea5ac]
cmp eax, dword [ecx + 0x5c]
jbe 0x421241
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x42123a
mov edx, 1
or ecx, 0xffffffff
call fcn.004015e0
call esi
mov dword [0x4ea5ac], eax
test byte [esp + 0x38], 0x10
je 0x4212c6
cmp word [esp + 0x64], 0x2e
jne 0x421268
mov ax, word [esp + 0x66]
test ax, ax
je 0x4212c6
cmp ax, 0x2e
jne 0x421268
cmp word [esp + 0x68], 0
je 0x4212c6
lea esi, [esp + 0x64]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x421270
mov eax, dword [edi + 0x1020c]
sub esi, ecx
sar esi, 1
add eax, esi
cmp eax, ebp
jae 0x4212c0
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0x10000]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [edi + ecx*2]
push 0x4d4e38
push eax
call fcn.00406670
mov eax, dword [esp + 0x20]
add esp, 0x10
inc eax
mov ecx, edi
add eax, esi
mov dword [edi + 0x10208], eax
call fcn.00421060
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x421203
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ebp, dword [esp + 0x18]
add dword [edi + 0x10220], ebp
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret