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

Disassembly:
sub esp, 0x694
cmp byte [esp + 0x6ac], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6a4]
mov ebx, ecx
push edi
mov edi, dword [0x4c49ac]
mov dword [esp + 0x20], ebx
jne 0x442200
cmp word [esi], 0
jne 0x4421e4
mov eax, edi
cmp byte [eax + 0x108], 0
mov dword [eax + 0x30], 0x57
jne 0x4421c4
mov eax, dword [0x4c8ca4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4428
push eax
call fcn.00476f40
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18
push 0x4a1840
push 0
push 0x4a4428
call fcn.0042dee0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18
cmp dword [esp + 0x6ac], 0
jne 0x4421f9
mov dword [esp + 0x6ac], 1
mov dword [edi + 0x30], 0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442205
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x442272
mov dword [edi + 0x30], 0x6f
cmp byte [edi + 0x108], cl
jne 0x442250
mov ecx, dword [0x4c8ca4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4428
push ecx
call fcn.00476f40
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18
push 0x4a1840
push 0
push 0x4a4428
mov ecx, ebx
call fcn.0042dee0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18
lea edx, [esp + 0x498]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442280
lea edx, [esp + 0x290]
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4422a0
lea edx, [esp + 0x290]
push 0x5c
push edx
call fcn.0048f1dd
add esp, 8
test eax, eax
je 0x4422e6
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x290]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4422d5
sub eax, edx
sar eax, 1
jmp 0x4422f2
xor edx, edx
mov word [esp + 0x290], dx
xor eax, eax
lea ecx, [esp + eax*2 + 0x290]
mov dword [esp + 0x1c], ecx
mov ecx, 0x103
lea edx, [esp + 0x498]
sub ecx, eax
push 0x5c
push edx
mov dword [esp + 0x1c], ecx
call fcn.0048f1dd
add esp, 8
test eax, eax
je 0x442323
add eax, 2
jmp 0x44232a
lea eax, [esp + 0x498]
mov ebx, 0x4ab738
mov dword [esp + 0x18], eax
call fcn.004096c0
test eax, eax
jne 0x442347
mov dword [esp + 0x6ac], 3
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x49c]
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x442482
lea edi, [ebx + 0x6f]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4cb114]
mov edx, dword [0x4c49ac]
cmp eax, dword [edx + 0xd8]
jbe 0x4423b8
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4423ad
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4cb114], eax
test byte [esp + 0x40], 0x10
je 0x4423f3
cmp word [esp + 0x6c], 0x2e
jne 0x4423e7
mov ax, word [esp + 0x6e]
test ax, ax
je 0x442463
cmp ax, 0x2e
jne 0x4423e7
cmp word [esp + 0x70], 0
je 0x442463
cmp dword [esp + 0x6ac], 1
jne 0x4423fd
jmp 0x442463
cmp dword [esp + 0x6ac], 2
je 0x442463
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442404
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x14]
jbe 0x442424
mov ecx, dword [0x4c49ac]
mov dword [ecx + 0x30], edi
jmp 0x442462
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x6c]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442430
mov edx, dword [esp + 0x6b8]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x298]
push ecx
call dword [esp + 0x6c0]
add esp, 0xc
test eax, eax
jne 0x442463
inc ebx
lea edx, [esp + 0x40]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x442370
push esi
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x6b0]
test bl, bl
je 0x4425f3
cmp dword [esp + 0x14], 2
jbe 0x4425f3
mov edx, dword [esp + 0x1c]
mov eax, 0x4a8994
sub edx, eax
jmp 0x4424b0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4424b0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x294]
push ecx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x4425f3
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4424e0
mov ebp, dword [esp + 0x10]
sub eax, edx
sar eax, 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4cb114]
mov edx, dword [0x4c49ac]
cmp eax, dword [edx + 0xd8]
jbe 0x44253d
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x442532
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4cb114], eax
test byte [esp + 0x40], 0x10
je 0x4425d4
cmp word [esp + 0x6c], 0x2e
jne 0x44256c
mov ax, word [esp + 0x6e]
test ax, ax
je 0x4425d4
cmp ax, 0x2e
jne 0x44256c
cmp word [esp + 0x70], 0
je 0x4425d4
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442573
sub eax, edx
sar eax, 1
add eax, esi
cmp eax, dword [esp + 0x14]
jae 0x4425d4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
push str._s_s
push eax
call fcn.0048da13
mov ecx, dword [esp + 0x6c8]
mov edx, dword [esp + 0x6c4]
mov eax, dword [esp + 0x6bc]
add esp, 0x10
push 1
push ecx
push edx
push ebx
push eax
lea ecx, [esp + 0x2a4]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00442160
add ebp, eax
lea edx, [esp + 0x40]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4424f5
push edi
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x6bc], 0
jne 0x44260c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042e090
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18