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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469325
mov eax, dword fs:[0]
push eax
sub esp, 0x758
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jbe 0x452383
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
sub edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
jmp 0x45238c
xor eax, eax
xor edx, edx
jmp 0x4526fb
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x6d8]
call fcn.004011c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov word [ebp - 0x4ac], 0
push 0x206
push 0
lea edx, [ebp - 0x4aa]
push edx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x6b4], 0
push 0x206
push 0
lea eax, [ebp - 0x6b2]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 0x6bc], 1
push 0x250
push 0
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00415680
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x288]
call fcn.004011c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.00402490
mov dword [ebp - 0x6b8], eax
mov eax, dword [ebp - 0x6b8]
sub eax, 1
push eax
lea ecx, [ebp - 0x288]
call fcn.00403c70
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4524ab
push 0x47868c
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x730]
push eax
call fcn.00404060
add esp, 0xc
mov dword [ebp - 0x758], eax
mov ecx, dword [ebp - 0x758]
mov dword [ebp - 0x75c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x75c]
push edx
lea ecx, [ebp - 0x288]
call fcn.00401e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x730]
call fcn.00401200
push 0x478690
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.00451450
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a4]
call fcn.00401220
push eax
lea edx, [ebp - 0x4ac]
push edx
call fcn.00414f38
add esp, 8
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x4ac]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x6dc], eax
cmp dword [ebp - 0x6dc], 0xffffffff
je 0x4526a0
cmp dword [ebp - 0x6bc], 0
je 0x4526a0
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jbe 0x4526a0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x6f8]
call fcn.004011c0
mov byte [ebp - 4], 4
push 0x478698
lea ecx, [ebp - 0x6f8]
push ecx
call fcn.004040f0
add esp, 8
movzx edx, al
test edx, edx
jne 0x452571
push 0x47869c
lea eax, [ebp - 0x6f8]
push eax
call fcn.004040f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x452576
jmp 0x452672
mov edx, dword [ebp - 0x26c]
and edx, 0x10
je 0x45263c
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x714]
call fcn.00402030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x714]
push edx
lea eax, [ebp - 0x74c]
push eax
call fcn.00404060
add esp, 0xc
mov dword [ebp - 0x760], eax
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 0x764], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x764]
push edx
lea ecx, [ebp - 0x714]
call fcn.00401e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74c]
call fcn.00401200
lea ecx, [ebp - 0x714]
call fcn.00401220
push eax
lea eax, [ebp - 0x6b4]
push eax
call fcn.00414f38
add esp, 8
lea ecx, [ebp - 0x6b4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00452340
add esp, 8
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
adc ecx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x714]
call fcn.00401200
jmp 0x452672
mov eax, dword [ebp - 0x250]
xor edx, edx
mov cl, 0x20
call fcn.00464f90
mov ecx, dword [ebp - 0x24c]
xor esi, esi
add eax, ecx
adc edx, esi
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
adc ecx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x6dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x6bc], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6f8]
call fcn.00401200
jmp 0x4524ff
mov ecx, dword [ebp - 0x6dc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x754], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x750], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.00401200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00401200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6d8]
call fcn.00401200
mov eax, dword [ebp - 0x754]
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret