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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651a24
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x309], 1
lea ecx, [ebp - 0x40]
call fcn.00446a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00446a90
mov byte [ebp - 4], 1
mov dword [ebp - 0x314], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00462b40
lea ecx, [ebp - 0x28]
call fcn.0044d720
movzx ecx, al
test ecx, ecx
jne 0x45157e
lea edx, [ebp - 0x330]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044ec00
mov ecx, eax
call fcn.00447cf0
movzx eax, word [eax]
cmp eax, 0x5c
je 0x45157e
push 0x674ce4
lea ecx, [ebp - 0x28]
call fcn.00448000
lea ecx, [ebp - 0x28]
push ecx
call fcn.00452450
add esp, 4
movzx edx, al
test edx, edx
jne 0x4515be
mov byte [ebp - 0x30a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov al, byte [ebp - 0x30a]
jmp 0x451847
cmp dword [ebp + 0x14], 0
jge 0x4515f1
mov byte [ebp - 0x30b], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov al, byte [ebp - 0x30b]
jmp 0x451847
cmp dword [ebp + 0x14], 0
jne 0x4515ff
mov ecx, dword [ebp + 0x10]
call fcn.0044c250
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00462b40
push 0x674ce8
lea ecx, [ebp - 0x40]
call fcn.00448000
lea ecx, [ebp - 0x308]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043d1b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x314], eax
mov edx, dword [ebp - 0x308]
and edx, 0x10
je 0x4516df
cmp dword [ebp + 0x14], 0
jle 0x451675
push 0x674cf4
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x451675
push 0x674cf8
lea ecx, [ebp - 0x2dc]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x45167a
jmp 0x4517f1
lea ecx, [ebp - 0x58]
call fcn.00446a90
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x58]
call fcn.00462b40
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00448000
movzx ebx, byte [ebp - 0x309]
mov ecx, dword [ebp + 0x14]
sub ecx, 1
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.004514e0
add esp, 0x10
movzx edx, al
or ebx, edx
mov byte [ebp - 0x309], bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0043c550
jmp 0x4517f1
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x70]
call fcn.00446a20
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.00443550
add esp, 8
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x320]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.00443550
add esp, 8
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
call fcn.0044dc30
cmp eax, dword [0x673f3c]
je 0x45175c
mov dword [ebp - 0x318], 1
jmp 0x451766
mov dword [ebp - 0x318], 0
mov cl, byte [ebp - 0x318]
mov byte [ebp - 0x30c], cl
lea ecx, [ebp - 0x88]
call fcn.0043c550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.0043c550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0043c550
movzx edx, byte [ebp - 0x30c]
test edx, edx
je 0x4517f1
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.0045fcb0
add esp, 0xc
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x32c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0044eb30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.0043c550
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x451634
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dl, byte [ebp - 0x309]
mov byte [ebp - 0x30d], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov al, byte [ebp - 0x30d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret