Function at 0x441870
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 [0x5165ec]
mov dword [esp + 0x20], ebx
jne 0x441910
cmp word [esi], 0
jne 0x4418f4
mov eax, edi
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x4418d4
mov eax, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4eb75c
push eax
call fcn.004aefb0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18
push 0x4f5ac4
push 0
push 0x4eb75c
call fcn.0042dac0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18
cmp dword [esp + 0x6ac], 0
jne 0x441909
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 0x441915
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x441983
test byte [edi + 0x100], 1
mov dword [edi + 0x30], 0x6f
jne 0x441961
mov ecx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4eb75c
push ecx
call fcn.004aefb0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18
push 0x4f5ac4
push 0
push 0x4eb75c
mov ecx, ebx
call fcn.0042dac0
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
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x441990
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 0x4419b0
lea edx, [esp + 0x290]
push 0x5c
push edx
call fcn.004cb9fc
add esp, 8
test eax, eax
je 0x4419f6
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 0x4419e5
sub eax, edx
sar eax, 1
jmp 0x441a02
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.004cb9fc
add esp, 8
test eax, eax
je 0x441a33
add eax, 2
jmp 0x441a3a
lea eax, [esp + 0x498]
mov ebx, 0x4f492c
mov dword [esp + 0x18], eax
call fcn.00409d30
test eax, eax
jne 0x441a57
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 0x441b92
lea edi, [ebx + 0x6f]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x51cbec]
mov edx, dword [0x5165ec]
cmp eax, dword [edx + 0xd8]
jbe 0x441ac8
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 0x441abd
push 1
push 0xffffffffffffffff
call fcn.00401930
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x51cbec], eax
test byte [esp + 0x40], 0x10
je 0x441b03
cmp word [esp + 0x6c], 0x2e
jne 0x441af7
mov ax, word [esp + 0x6e]
test ax, ax
je 0x441b73
cmp ax, 0x2e
jne 0x441af7
cmp word [esp + 0x70], 0
je 0x441b73
cmp dword [esp + 0x6ac], 1
jne 0x441b0d
jmp 0x441b73
cmp dword [esp + 0x6ac], 2
je 0x441b73
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441b14
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x14]
jbe 0x441b34
mov ecx, dword [0x5165ec]
mov dword [ecx + 0x30], edi
jmp 0x441b72
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 0x441b40
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 0x441b73
inc ebx
lea edx, [esp + 0x40]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x441a80
push esi
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x6b0]
test bl, bl
je 0x441d03
cmp dword [esp + 0x14], 2
jbe 0x441d03
mov edx, dword [esp + 0x1c]
mov eax, 0x4f0a94
sub edx, eax
jmp 0x441bc0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x441bc0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x294]
push ecx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x441d03
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441bf0
mov ebp, dword [esp + 0x10]
sub eax, edx
sar eax, 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x51cbec]
mov edx, dword [0x5165ec]
cmp eax, dword [edx + 0xd8]
jbe 0x441c4d
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 0x441c42
push 1
push 0xffffffffffffffff
call fcn.00401930
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x51cbec], eax
test byte [esp + 0x40], 0x10
je 0x441ce4
cmp word [esp + 0x6c], 0x2e
jne 0x441c7c
mov ax, word [esp + 0x6e]
test ax, ax
je 0x441ce4
cmp ax, 0x2e
jne 0x441c7c
cmp word [esp + 0x70], 0
je 0x441ce4
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441c83
sub eax, edx
sar eax, 1
add eax, esi
cmp eax, dword [esp + 0x14]
jae 0x441ce4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
push 0x4f0a9c
push eax
call fcn.004c9fb7
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.00441870
add ebp, eax
lea edx, [esp + 0x40]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x441c05
push edi
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x6bc], 0
jne 0x441d1c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042dc30
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x18