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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb4
xor eax, eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
mov esi, ecx
xor edx, edx
mov cl, byte [esi]
mov byte [eax], cl
mov cl, byte [eax]
test cl, cl
je 0x4457a7
movsx ecx, byte [eax]
cmp ecx, 0x3f
je 0x445799
movsx ecx, byte [eax]
cmp ecx, 0x2a
jne 0x4457a2
mov dword [ebp - 4], 2
jmp 0x4457a7
inc edx
inc eax
inc esi
jmp 0x44577f
mov byte [ebp + edx - 0x20c], 0
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x4457cf
test edx, edx
je 0x4457cf
movsx eax, byte [ebp + edx - 0x20d]
cmp eax, 0x5c
jne 0x4457cf
mov dword [ebp - 4], 1
lea eax, [ebp + edx - 0x20c]
test edx, edx
je 0x4457ed
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x4457e7
mov byte [eax], 0
jmp 0x4457ed
dec edx
dec eax
test edx, edx
jne 0x4457da
mov edx, dword [ebp - 4]
dec edx
je 0x445802
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x445802
mov dword [ebp - 4], 3
mov edx, dword [ebp - 4]
dec edx
jne 0x445845
mov cl, byte [ebp - 0x20c]
test cl, cl
je 0x44582f
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x108]
push eax
push 0x5d294a
push edx
call fcn.004d26c8
add esp, 0xc
jmp 0x44586f
push 0x5d2951
lea ecx, [ebp - 0x108]
push ecx
call fcn.004d26c8
add esp, 8
jmp 0x44586f
mov eax, dword [ebp + 8]
push edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [ebp - 0x34c]
push eax
lea edx, [ebp - 0x108]
push edx
call sub.KERNEL32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x4459dc
mov al, byte [ebp - 0x320]
test al, al
je 0x4459c1
movsx edx, byte [ebp - 0x320]
cmp edx, 0x2e
jne 0x4458b5
mov cl, byte [ebp - 0x31f]
test cl, cl
je 0x4459c1
movsx eax, byte [ebp - 0x320]
cmp eax, 0x2e
jne 0x4458db
movsx edx, byte [ebp - 0x31f]
cmp edx, 0x2e
jne 0x4458db
mov cl, byte [ebp - 0x31e]
test cl, cl
je 0x4459c1
test byte [ebp - 0x34c], 0x10
je 0x445956
test byte [ebp + 0x15], 0x10
je 0x445956
mov al, byte [ebp - 0x20c]
test al, al
je 0x445918
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x20c]
push edx
push ecx
lea eax, [ebp - 0x108]
push 0x5d2955
push eax
call fcn.004d26c8
add esp, 0x10
jmp 0x445933
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x108]
push edx
push 0x5d295f
push ecx
call fcn.004d26c8
add esp, 0xc
test ebx, ebx
jne 0x44593c
mov ebx, 1
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x108]
push eax
mov edx, dword [ebp + 0x10]
push edx
push ebx
push ecx
call fcn.0044575c
add esp, 0x10
add edi, eax
mov al, byte [ebp - 0x20c]
test al, al
je 0x445984
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x20c]
push edx
push ecx
lea eax, [ebp - 0x108]
push 0x5d2966
push eax
call fcn.004d26c8
add esp, 0x10
jmp 0x44599f
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x108]
push edx
push 0x5d296c
push ecx
call fcn.004d26c8
add esp, 0xc
test ebx, ebx
jne 0x4459a8
mov ebx, 1
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x108]
push eax
push ebx
push edx
call fcn.00445600
add esp, 0xc
test eax, eax
jne 0x4459c1
inc edi
lea ecx, [ebp - 0x34c]
push ecx
push esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x44588d
push esi
call sub.KERNEL32.dll_FindClose
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret