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

Disassembly:
sub esp, 0x278
push ebx
push ebp
push esi
mov esi, dword [esp + 0x288]
mov ebp, dword [esi + 0x10208]
push edi
lea eax, [esp + 0x38]
push eax
mov ebx, 0x7fff
push esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
sub ebx, ebp
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x444380
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [0x4cd01c]
mov ecx, dword [0x4c7a54]
cmp eax, dword [ecx + 0xd8]
jbe 0x4442ab
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4442a4
push 1
push 0xffffffffffffffff
call fcn.00401430
add esp, 8
call ebp
mov dword [0x4cd01c], eax
test byte [esp + 0x38], 0x10
je 0x4442e9
cmp word [esp + 0x64], 0x2e
jne 0x4442da
mov ax, word [esp + 0x66]
test ax, ax
je 0x44435f
cmp ax, 0x2e
jne 0x4442da
cmp word [esp + 0x68], 0
je 0x44435f
mov ebp, 1
cmp dword [esi + 0x10218], ebp
jne 0x4442f7
jmp 0x44435f
cmp dword [esi + 0x10218], 2
je 0x44435f
mov ebp, 1
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444300
sub eax, edx
sar eax, 1
cmp eax, ebx
jbe 0x444321
mov eax, dword [0x4c7a54]
mov dword [eax + 0x30], 0x6f
jmp 0x44435b
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x64]
lea edx, [esi + ecx*2]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x444330
mov edx, dword [esi + 0x10214]
mov ecx, dword [esi + 0x10210]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
add esp, 0xc
test eax, eax
jne 0x44435f
add dword [esp + 0x10], ebp
lea edx, [esp + 0x38]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x444265
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x14]
jmp 0x44439a
mov eax, dword [0x4c7a54]
cmp dword [eax + 0x30], 0
jne 0x44439a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c7a54]
mov dword [ecx + 0x30], eax
cmp byte [esi + 0x1021c], 0
je 0x4444ff
cmp ebx, 1
jbe 0x4444d1
mov eax, 0x4a9684
lea edx, [esi + ebp*2]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4443c0
lea edx, [esp + 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4444e8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x4cd01c]
mov ecx, dword [0x4c7a54]
cmp eax, dword [ecx + 0xd8]
jbe 0x44442c
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x444425
push 1
push 0xffffffffffffffff
call fcn.00401430
add esp, 8
call edi
mov dword [0x4cd01c], eax
test byte [esp + 0x38], 0x10
je 0x4444b6
cmp word [esp + 0x64], 0x2e
jne 0x444457
mov ax, word [esp + 0x66]
test ax, ax
je 0x4444b6
cmp ax, 0x2e
jne 0x444457
cmp word [esp + 0x68], 0
je 0x4444b6
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444460
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esi + 0x1020c]
add eax, edi
cmp eax, ebx
jae 0x4444b6
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10000]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esi + eax*2]
push 0x4ac114
push eax
call fcn.00491426
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [edi + ecx + 1]
mov ecx, dword [esp + 0x18]
push esi
mov dword [esi + 0x10208], edx
call fcn.00444220
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4443e6
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
add dword [esi + 0x10220], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x278
ret 4
mov edx, dword [esp + 0x10]
add dword [esi + 0x10220], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x278
ret 4
mov eax, dword [esp + 0x10]
add dword [esi + 0x10220], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x278
ret 4