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

Disassembly:
sub esp, 0x530
push ebx
push ebp
mov ebx, edx
push esi
mov eax, ebx
push edi
mov dword [esp + 0x14], ebx
mov ebp, ecx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53a216
mov edi, ebp
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x53a222
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x18]
push eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [esp + 0x10], eax
mov eax, ebp
mov edi, ecx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53a257
sub eax, ecx
mov ecx, eax
mov eax, ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53a267
sub eax, esi
sub ecx, eax
test edi, edi
mov byte [ecx + ebp], dl
jne 0x53a339
mov ebx, dword [esp + 0x54c]
test byte [esp + 0x18], 0x10
je 0x53a2a4
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x53a284
jmp 0x53a33d
test ebx, ebx
je 0x53a2ee
lea edx, [esp + 0x158]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x53a2b3
lea eax, [esp + 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53a2c3
lea edi, [esp + 0x158]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x53a2d4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x53a300
xor eax, eax
mov cl, byte [esp + eax + 0x44]
mov byte [esp + eax + 0x158], cl
inc eax
test cl, cl
jne 0x53a2f0
mov esi, dword [esp + 0x544]
test esi, esi
je 0x53a321
mov ecx, dword [esi]
push 0
lea edx, [esp + 0x15c]
call fcn.004c7e10
test eax, eax
je 0x53a321
mov dword [esi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x53a284
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x53a349
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, ebp
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x53a350
mov edx, dword [0x586c38]
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor edx, edx
cmp edi, 0xffffffff
mov eax, ebp
mov dword [esp + 0x10], edi
sete dl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53a380
sub eax, esi
test edx, edx
mov byte [eax + ebp - 3], cl
jne 0x53a457
mov ebx, dword [esp + 0x548]
lea esp, [esp]
test byte [esp + 0x18], 0x10
je 0x53a443
cmp byte [esp + 0x44], 0x2e
je 0x53a443
lea eax, [esp + 0x44]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53a3c0
mov edi, ebp
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x53a3d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
je 0x53a3fd
mov ecx, dword [ebx]
push 0
mov edx, ebp
call fcn.004c7e10
test eax, eax
je 0x53a3fd
mov dword [ebx], eax
mov ecx, ebp
call fcn.004203c0
mov ecx, dword [esp + 0x544]
mov edx, dword [esp + 0x14]
push 1
push ebx
push ecx
mov ecx, ebp
call fcn.0053a200
push 0x5c
push ebp
call fcn.00570980
add esp, 8
test eax, eax
je 0x53a43f
push 0x5c
push ebp
mov byte [eax], 0
call fcn.00570980
add esp, 8
test eax, eax
je 0x53a43f
mov byte [eax + 1], 0
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x53a3a0
cmp edi, 0xffffffff
je 0x53a463
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x530
ret 0xc