Function at 0x454740
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483d60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x25c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
xor ebx, ebx
push edx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0044a370
lea ecx, [ebp - 0x25c]
push str.unKnown
push ecx
call fcn.0047fde0
add esp, 0x18
test eax, eax
je 0x454a70
cmp dword [ebp - 0x14], ebx
je 0x454a70
lea edi, [ebp - 0x25c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x14], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x35c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [ebp - 0x45c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x35c]
push ecx
call fcn.0047c0d3
lea edx, [ebp - 0x35c]
lea eax, [ebp - 0x45c]
push edx
push str._s.
push eax
call fcn.0047a8f8
add esp, 0x10
lea ecx, [ebp - 0x1dc]
lea edx, [ebp - 0x45c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x454955
test byte [ebp - 0x1dc], 0x10
jne 0x454930
cmp byte [ebp - 0x1b0], 0x2e
je 0x454930
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x1b0]
push eax
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x454930
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1b0]
push edx
push eax
push edi
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x14], 0
call fcn.00454630
add esp, 0xc
cmp eax, 1
jne 0x4548b6
mov ecx, dword [ebp - 0x1c]
inc ecx
add ebx, 3
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 2
jg 0x454955
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x9c]
push ecx
lea eax, [ebp - 0x1b0]
push edx
push eax
push edi
call fcn.0044a370
lea ecx, [ebp - 0x25c]
lea edx, [ebp - 0x9c]
push ecx
push edx
call fcn.0047fde0
add esp, 0x18
test eax, eax
jne 0x454921
lea eax, [ebp - 0x1b0]
inc ebx
push eax
call fcn.004246a0
add esp, 4
test eax, eax
jle 0x454909
add dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x100000
jle 0x45491c
add ebx, 4
mov dword [ebp - 0x18], 0
cmp ebx, 0xf
je 0x454955
mov edi, dword [ebp + 0x14]
inc edi
cmp edi, 0xfa
mov dword [ebp + 0x14], edi
je 0x454958
lea ecx, [ebp - 0x1dc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x454844
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
jmp 0x454844
mov edi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x1dc]
push edx
push 0x4914d0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4549e5
test byte [ebp - 0x1dc], 0x10
je 0x454a4b
cmp byte [ebp - 0x1b0], 0x2e
je 0x454a4b
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x1b0]
push eax
push ecx
push edx
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x14], 0
call fcn.0044a540
add esp, 0xc
lea eax, [ebp - 0x25c]
lea ecx, [ebp - 0x9c]
push eax
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x4549dc
add ebx, 4
cmp ebx, 0xf
jg 0x4549e5
inc edi
cmp edi, 0x15e
jne 0x454a4b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x18]
push str.c:endpcache
mov dword [ecx], ebx
call fcn.0047c0d3
add esp, 4
jmp 0x454a98
lea eax, [ebp - 0x1dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x454973
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
jmp 0x454973
mov edi, str.unKnown
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [ebp + 0x18]
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov ax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret