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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6593e4
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x7060c4]
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.00446de0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov byte [ebp - 4], 1
mov dword [ebp - 0x314], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00462e90
lea ecx, [ebp - 0x28]
call fcn.0044da70
movzx ecx, al
test ecx, ecx
jne 0x4518ce
lea edx, [ebp - 0x330]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044ef50
mov ecx, eax
call fcn.00448040
movzx eax, word [eax]
cmp eax, 0x5c
je 0x4518ce
push 0x67ccb4
lea ecx, [ebp - 0x28]
call fcn.00448350
lea ecx, [ebp - 0x28]
push ecx
call fcn.004527a0
add esp, 4
movzx edx, al
test edx, edx
jne 0x45190e
mov byte [ebp - 0x30a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov al, byte [ebp - 0x30a]
jmp 0x451b97
cmp dword [ebp + 0x14], 0
jge 0x451941
mov byte [ebp - 0x30b], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov al, byte [ebp - 0x30b]
jmp 0x451b97
cmp dword [ebp + 0x14], 0
jne 0x45194f
mov ecx, dword [ebp + 0x10]
call fcn.0044c5a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00462e90
push 0x67ccb8
lea ecx, [ebp - 0x40]
call fcn.00448350
lea ecx, [ebp - 0x308]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x314], eax
mov edx, dword [ebp - 0x308]
and edx, 0x10
je 0x451a2f
cmp dword [ebp + 0x14], 0
jle 0x4519c5
push 0x67ccc4
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4519c5
push 0x67ccc8
lea ecx, [ebp - 0x2dc]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4519ca
jmp 0x451b41
lea ecx, [ebp - 0x58]
call fcn.00446de0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x58]
call fcn.00462e90
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00448350
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.00451830
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.0043c8a0
jmp 0x451b41
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x70]
call fcn.00446d70
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.004438a0
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.004438a0
add esp, 8
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
call fcn.0044df80
cmp eax, dword [0x67bf0c]
je 0x451aac
mov dword [ebp - 0x318], 1
jmp 0x451ab6
mov dword [ebp - 0x318], 0
mov cl, byte [ebp - 0x318]
mov byte [ebp - 0x30c], cl
lea ecx, [ebp - 0x88]
call fcn.0043c8a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.0043c8a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0043c8a0
movzx edx, byte [ebp - 0x30c]
test edx, edx
je 0x451b41
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.00460000
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.0044ee80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.0043c8a0
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x451984
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.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
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.005c4766
mov esp, ebp
pop ebp
ret