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

Disassembly:
sub esp, 0x384
cmp byte [esp + 0x39c], 0
mov eax, 1
mov edx, dword [esp + 0x388]
push ebx
push ebp
push esi
mov esi, dword [0x4aa1d8]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
jne 0x43f3ad
cmp byte [edx], 0
jne 0x43f398
mov eax, esi
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x43f378
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49e628
call fcn.004744e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
push 0x49bc4d
push 0
push 0x49e628
call fcn.0042c8f0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
mov ebx, dword [esp + 0x39c]
test ebx, ebx
mov dword [esi + 0x30], 0
cmove ebx, eax
jmp 0x43f3b4
mov ebx, dword [esp + 0x39c]
mov ecx, edx
lea edi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f3c0
sub ecx, edi
cmp ecx, 0x104
jb 0x43f407
test byte [esi + 0xe0], 1
mov dword [esi + 0x30], 0x6f
je 0x43f353
push 0x49bc4d
push 0
push 0x49e628
mov ecx, ebp
call fcn.0042c8f0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret 0x18
lea esi, [esp + 0x288]
mov ecx, edx
sub esi, edx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x43f412
lea ecx, [esp + 0x180]
sub ecx, edx
jmp 0x43f430
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x43f430
lea eax, [esp + 0x180]
push 0x5c
push eax
call fcn.0048695e
add esp, 8
test eax, eax
je 0x43f46c
lea ecx, [esp + 0x180]
mov byte [eax + 1], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f461
sub ecx, edx
jmp 0x43f476
mov byte [esp + 0x180], 0
xor ecx, ecx
lea eax, [esp + 0x180]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, 0x103
sub eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x288]
push 0x5c
push eax
call fcn.0048695e
add esp, 8
test eax, eax
je 0x43f4a7
inc eax
jmp 0x43f4ae
lea eax, [esp + 0x288]
mov edx, 0x4a250c
mov dword [esp + 0x10], eax
mov ecx, eax
call fcn.00409840
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
lea eax, [esp + 0x40]
mov ecx, 3
push eax
cmove ebx, ecx
lea eax, [esp + 0x28c]
push eax
mov dword [esp + 0x28], ebx
xor ebp, ebp
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x43f5e8
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4aa1d8]
sub eax, dword [0x4aefdc]
cmp eax, dword [edx + 0xb8]
jbe 0x43f53f
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43f52e
mov edx, 1
or ecx, 0xffffffff
call fcn.00401790
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4aa1d8]
mov dword [0x4aefdc], eax
test byte [esp + 0x40], 0x10
je 0x43f567
cmp byte [esp + 0x6c], 0x2e
jne 0x43f560
mov al, byte [esp + 0x6d]
test al, al
je 0x43f5c7
cmp al, 0x2e
jne 0x43f560
cmp byte [esp + 0x6e], 0
je 0x43f5c7
cmp ebx, 1
jne 0x43f56c
jmp 0x43f5c7
cmp ebx, 2
je 0x43f5c7
lea ecx, [esp + 0x6c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f573
sub ecx, esi
cmp ecx, dword [esp + 0x18]
jbe 0x43f58b
mov dword [edx + 0x30], 0x6f
jmp 0x43f5c6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x43f597
push dword [esp + 0x3a8]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x188]
push eax
call dword [esp + 0x3b0]
add esp, 0xc
test eax, eax
jne 0x43f5c7
inc ebp
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43f4f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [esp + 0x3a0]
test bl, bl
je 0x43f720
cmp dword [esp + 0x18], 2
jbe 0x43f720
mov eax, dword [esp + 0x14]
mov dword [eax], 0x2a2e2a
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x184]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x43f720
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x43f630
sub esi, ecx
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4aa1d8]
sub eax, dword [0x4aefdc]
cmp eax, dword [ecx + 0xb8]
jbe 0x43f689
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43f67e
mov edx, 1
or ecx, 0xffffffff
call fcn.00401790
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4aefdc], eax
test byte [esp + 0x40], 0x10
je 0x43f705
cmp byte [esp + 0x6c], 0x2e
jne 0x43f6aa
mov al, byte [esp + 0x6d]
test al, al
je 0x43f705
cmp al, 0x2e
jne 0x43f6aa
cmp byte [esp + 0x6e], 0
je 0x43f705
lea ecx, [esp + 0x6c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f6b1
sub ecx, edx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x18]
jae 0x43f705
push dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push 0x49f720
push dword [esp + 0x20]
call fcn.0048498d
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x190]
add esp, 0x10
push 1
push dword [esp + 0x3ac]
push dword [esp + 0x3ac]
push ebx
push dword [esp + 0x30]
push eax
call fcn.0043f310
add ebp, eax
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43f640
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x3ac], 0
jne 0x43f734
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.0042ca40
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x384
ret 0x18