Function at 0x52a630
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404728
xor eax, eax
push ebp
push 0x52a8b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov esi, eax
mov byte [ebx + 0x318], 1
xor edx, edx
mov eax, dword [ebx + 0x300]
call fcn.0052a1e4
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x158]
mov ecx, 0x52a8c8
mov edx, dword [ebp - 4]
call fcn.00404584
mov eax, dword [ebp - 0x158]
call fcn.00404738
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
setne al
jmp 0x52a7ed
cmp byte [ebx + 0x318], 0
je 0x52a7f5
mov eax, dword [0x53ab08]
mov eax, dword [eax]
call fcn.00490870
lea eax, [ebp - 8]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004044e8
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 8]
call fcn.004088b4
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x160]
mov eax, 0x52a8d8
call fcn.004088b4
mov eax, dword [ebp - 0x160]
pop edx
call fcn.0040487c
test eax, eax
jg 0x52a77e
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 8]
call fcn.004088b4
mov eax, dword [ebp - 0x164]
push eax
lea edx, [ebp - 0x168]
mov eax, 0x52a8e8
call fcn.004088b4
mov eax, dword [ebp - 0x168]
pop edx
call fcn.0040487c
test eax, eax
jle 0x52a7a6
push dword [ebp - 4]
push 0x52a8f8
push dword [ebp - 8]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004045f8
mov edx, dword [ebp - 0x16c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x52a904
push dword [ebp - 4]
push 0x52a8f8
push dword [ebp - 8]
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.004045f8
mov edx, dword [ebp - 0x170]
mov eax, dword [ebx + 0x314]
call fcn.0044a344
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x52a6e8
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
mov eax, dword [ebx + 0x300]
call fcn.0052a134
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x52a867
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebx + 0x300]
mov edx, dword [eax + 0x170]
inc edx
call fcn.0052a1e4
mov edx, 0x52a918
mov eax, dword [ebx + 0x314]
call fcn.0044a344
lea ecx, [ebp - 0x174]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x174]
mov eax, ebx
call fcn.0052a528
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x52a820
mov edx, 0x52a930
mov eax, dword [ebx + 0x314]
call fcn.0044a344
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
mov eax, esi
call fcn.00403444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a8b9
lea eax, [ebp - 0x174]
mov edx, 8
call fcn.0040429c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040429c
ret