Function at 0x44522c
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 0x445277
movsx ecx, byte [eax]
cmp ecx, 0x3f
je 0x445269
movsx ecx, byte [eax]
cmp ecx, 0x2a
jne 0x445272
mov dword [ebp - 4], 2
jmp 0x445277
inc edx
inc eax
inc esi
jmp 0x44524f
mov byte [ebp + edx - 0x20c], 0
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x44529f
test edx, edx
je 0x44529f
movsx eax, byte [ebp + edx - 0x20d]
cmp eax, 0x5c
jne 0x44529f
mov dword [ebp - 4], 1
lea eax, [ebp + edx - 0x20c]
test edx, edx
je 0x4452bd
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x4452b7
mov byte [eax], 0
jmp 0x4452bd
dec edx
dec eax
test edx, edx
jne 0x4452aa
mov edx, dword [ebp - 4]
dec edx
je 0x4452d2
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x4452d2
mov dword [ebp - 4], 3
mov edx, dword [ebp - 4]
dec edx
jne 0x445315
mov cl, byte [ebp - 0x20c]
test cl, cl
je 0x4452ff
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x108]
push eax
push 0x5d1328
push edx
call fcn.004d1ac0
add esp, 0xc
jmp 0x44533f
push 0x5d132f
lea ecx, [ebp - 0x108]
push ecx
call fcn.004d1ac0
add esp, 8
jmp 0x44533f
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 0x4454ac
mov al, byte [ebp - 0x320]
test al, al
je 0x445491
movsx edx, byte [ebp - 0x320]
cmp edx, 0x2e
jne 0x445385
mov cl, byte [ebp - 0x31f]
test cl, cl
je 0x445491
movsx eax, byte [ebp - 0x320]
cmp eax, 0x2e
jne 0x4453ab
movsx edx, byte [ebp - 0x31f]
cmp edx, 0x2e
jne 0x4453ab
mov cl, byte [ebp - 0x31e]
test cl, cl
je 0x445491
test byte [ebp - 0x34c], 0x10
je 0x445426
test byte [ebp + 0x15], 0x10
je 0x445426
mov al, byte [ebp - 0x20c]
test al, al
je 0x4453e8
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x20c]
push edx
push ecx
lea eax, [ebp - 0x108]
push 0x5d1333
push eax
call fcn.004d1ac0
add esp, 0x10
jmp 0x445403
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x108]
push edx
push 0x5d133d
push ecx
call fcn.004d1ac0
add esp, 0xc
test ebx, ebx
jne 0x44540c
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.0044522c
add esp, 0x10
add edi, eax
mov al, byte [ebp - 0x20c]
test al, al
je 0x445454
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x20c]
push edx
push ecx
lea eax, [ebp - 0x108]
push 0x5d1344
push eax
call fcn.004d1ac0
add esp, 0x10
jmp 0x44546f
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x108]
push edx
push 0x5d134a
push ecx
call fcn.004d1ac0
add esp, 0xc
test ebx, ebx
jne 0x445478
mov ebx, 1
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x108]
push eax
push ebx
push edx
call fcn.004450d0
add esp, 0xc
test eax, eax
jne 0x445491
inc edi
lea ecx, [ebp - 0x34c]
push ecx
push esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x44535d
push esi
call sub.KERNEL32.dll_FindClose
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret