Function at 0x424cdb
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x304
mov eax, 0x4871d6
call fcn.00468d31
mov ebx, dword [ebp + 8]
push 7
pop eax
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x310], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
cmp dword [ebx + 0x10], esi
jne 0x424d3c
mov byte [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.0040c150
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x48]
call fcn.0040c150
xor al, al
call fcn.00468db4
ret
mov eax, 0x4976dc
lea ecx, [ebp - 0x64]
call fcn.00413200
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
lea edx, [ebp - 0x64]
call fcn.00424121
add esp, 0xc
mov byte [ebp - 4], 3
mov edi, eax
lea esi, [ebp - 0x48]
call fcn.00407490
mov byte [ebp - 4], 2
lea esi, [ebp - 0x80]
call fcn.0040c150
mov byte [ebp - 4], 1
lea esi, [ebp - 0x64]
call fcn.0040c150
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x424d90
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x308]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x424d1c
mov byte [ebp - 0x309], 1
lea eax, [ebp - 0x308]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x424ee3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2dc]
call fcn.00405490
mov esi, 0x4976e8
lea ecx, [ebp - 0x2c]
call fcn.00408de0
test al, al
jne 0x424ef5
mov esi, 0x4976e0
lea ecx, [ebp - 0x2c]
call fcn.00408de0
test al, al
jne 0x424ef5
test byte [ebp - 0x308], 0x10
je 0x424e3b
push 0
lea eax, [ebp - 0x80]
push ebx
push eax
lea edx, [ebp - 0x2c]
call fcn.00424121
add esp, 0xc
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
push eax
call fcn.00424cdb
mov bl, al
pop ecx
neg bl
pop ecx
sbb bl, bl
mov byte [ebp - 4], 1
lea esi, [ebp - 0x80]
jmp 0x424ed2
test byte [ebp - 0x308], 1
je 0x424e81
push 0
lea eax, [ebp - 0x9c]
push ebx
push eax
lea edx, [ebp - 0x2c]
call fcn.00424121
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x424e65
mov eax, dword [eax]
push 0x80
push eax
call fcn.00467856
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x9c]
call fcn.0040c150
push 0
lea eax, [ebp - 0xb8]
push ebx
push eax
lea edx, [ebp - 0x2c]
call fcn.00424121
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x424ea2
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
call fcn.00413200
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.0042512c
mov bl, al
neg bl
sbb bl, bl
mov byte [ebp - 4], 6
lea esi, [ebp - 0x64]
call fcn.0040c150
mov byte [ebp - 4], 1
lea esi, [ebp - 0xb8]
call fcn.0040c150
inc bl
jne 0x424f1b
mov ebx, dword [ebp - 0x310]
jmp 0x424ef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x424f1b
mov byte [ebp - 0x309], 0
cmp byte [ebp - 0x309], 0
jne 0x424db0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0xc], 0
je 0x424f68
xor esi, esi
cmp dword [ebx + 0x14], 8
jb 0x424f27
mov eax, dword [ebx]
jmp 0x424f29
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x424d1c
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x424f68
cmp esi, 2
jg 0x424f47
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
jmp 0x424f11
xor bl, bl
mov byte [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.0040c150
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x48]
call fcn.0040c150
mov al, bl
jmp 0x424d36
mov bl, 1
jmp 0x424f49