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

Disassembly:
push 0x2e0
mov eax, 0x5d1d28
call fcn.0044ac5a
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x2ec], esi
call fcn.00403040
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004555f3
pop ecx
test eax, eax
jne 0x45b065
mov ebx, 0x5d4d80
push ebx
call fcn.0047bb55
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x70]
call fcn.004058f0
xor ebx, ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.00403040
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
call fcn.004560e5
mov dword [ebp - 0x2e4], ebx
mov dword [ebp - 0x2e0], ebx
mov dword [ebp - 0x2dc], ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [esp], 0x5d4d2c
call fcn.00403040
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00403040
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00455d5b
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00402fe0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402fe0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x48], ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], ebx
call fcn.00446544
mov ebx, 0x5d66bc
mov byte [ebp - 4], 5
push ebx
call fcn.0047bb55
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x58]
call fcn.004058f0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x2e8], ebx
cmp ebx, 0xffffffff
je 0x45b2b4
test byte [ebp - 0x2d8], 0x10
je 0x45b1c5
cmp word [ebp - 0x2ac], 0x2e
je 0x45b297
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x70]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.00446544
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 6
push eax
call fcn.0047bb55
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.004058f0
cmp byte [ebp + 0x14], 0
je 0x45b1b4
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.0045b013
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402fe0
jmp 0x45b297
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403040
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
call fcn.004560e5
mov esi, dword [ebp - 0x2e4]
xor bl, bl
pop ecx
jmp 0x45b211
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x45b1f6
mov ecx, dword [esi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0047c3f2
pop ecx
pop ecx
test eax, eax
je 0x45b21b
add esi, 0x18
cmp esi, dword [ebp - 0x2e0]
jne 0x45b1ec
jmp 0x45b21d
mov bl, 1
test bl, bl
je 0x45b27f
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x70]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.00446544
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 8
push eax
call fcn.0047bb55
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.004058f0
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x45b26b
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00446b31
jmp 0x45b277
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.004039f0
lea ecx, [ebp - 0x28]
call fcn.00402fe0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00402fe0
mov ebx, dword [ebp - 0x2e8]
mov esi, dword [ebp - 0x2ec]
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b149
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x58]
call fcn.00402fe0
lea ecx, [ebp - 0x2e4]
call fcn.0044686a
lea ecx, [ebp - 0x88]
call fcn.00402fe0
lea ecx, [ebp - 0x70]
call fcn.00402fe0
call fcn.0044ac04
ret