Function at 0x451f7c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff678
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x4aa438
call fcn.004992ac
cmp byte [ebx], 0
je 0x451faa
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
mov eax, edx
jmp 0x452236
mov byte [ebx], 1
xor ecx, ecx
mov dword [ebx + 0x204], ecx
push 0x32dc
call fcn.004974ec
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x451fe0
mov word [ebp - 0x34], 0x14
mov eax, dword [ebp - 4]
call fcn.004552e4
mov word [ebp - 0x34], 8
mov edx, dword [ebp - 4]
jmp 0x451fe3
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], edx
push 4
call fcn.004974ec
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x45201f
mov word [ebp - 0x34], 0x2c
mov edx, dword [ebp - 8]
mov dword [edx], 0x4aacc8
mov ecx, dword [ebp - 8]
mov dword [ecx], 0x4aacfc
mov word [ebp - 0x34], 0x20
mov eax, dword [ebp - 8]
jmp 0x452022
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x204]
inc dword [ebx + 0x204]
mov dword [ebx + edx*4 + 0x104], eax
push 0x28
call fcn.004974ec
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45205d
mov word [ebp - 0x34], 0x44
mov eax, dword [ebp - 0xc]
call fcn.00455960
mov word [ebp - 0x34], 0x38
mov esi, dword [ebp - 0xc]
jmp 0x452060
mov esi, dword [ebp - 0xc]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], esi
push 8
call fcn.004974ec
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4520a4
mov word [ebp - 0x34], 0x5c
mov edi, esi
mov edx, dword [ebp - 0x10]
mov dword [edx], 0x4aacc8
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x4aac94
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x50
mov edx, dword [ebp - 0x10]
jmp 0x4520a7
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x204]
lea ecx, [ebp - 0x448]
inc dword [ebx + 0x204]
mov dword [ebx + eax*4 + 0x104], edx
push 0x400
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.Formats.fmt
lea eax, [ebp - 0x448]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
lea edx, [ebp - 0x588]
push edx
lea ecx, [ebp - 0x448]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
sete al
and eax, 1
jmp 0x45221c
lea edx, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x988]
push ecx
call fcn.00498e7c
add esp, 8
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x988]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
push 0x4b4
call fcn.004974ec
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x452166
mov word [ebp - 0x34], 0x74
mov eax, dword [ebp - 0x14]
call fcn.004523b0
mov word [ebp - 0x34], 0x68
mov esi, dword [ebp - 0x14]
jmp 0x452169
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x588]
lea edx, [ebp - 0x988]
mov eax, esi
call fcn.00452478
test al, al
je 0x4521dc
push 8
call fcn.004974ec
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4521ba
mov word [ebp - 0x34], 0x8c
mov edi, esi
mov edx, dword [ebp - 0x18]
mov dword [edx], 0x4aacc8
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x4aac60
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x80
mov eax, dword [ebp - 0x18]
jmp 0x4521bd
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 0x204]
mov dword [ebx + edx*4 + 4], esi
mov ecx, dword [ebx + 0x204]
inc dword [ebx + 0x204]
mov dword [ebx + ecx*4 + 0x104], eax
jmp 0x452205
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x20], 0
je 0x452205
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
mov word [ebp - 0x34], 0xa4
mov edx, 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx]
mov word [ebp - 0x34], 0x98
lea eax, [ebp - 0x588]
push eax
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
sete al
and eax, 1
test al, al
je 0x45210a
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_FindClose
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret