Function at 0x447870
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 0x4478bb
movsx ecx, byte [eax]
cmp ecx, 0x3f
je 0x4478ad
movsx ecx, byte [eax]
cmp ecx, 0x2a
jne 0x4478b6
mov dword [ebp - 4], 2
jmp 0x4478bb
inc edx
inc eax
inc esi
jmp 0x447893
mov byte [ebp + edx - 0x20c], 0
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x4478e3
test edx, edx
je 0x4478e3
movsx eax, byte [ebp + edx - 0x20d]
cmp eax, 0x5c
jne 0x4478e3
mov dword [ebp - 4], 1
lea eax, [ebp + edx - 0x20c]
test edx, edx
je 0x447901
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x4478fb
mov byte [eax], 0
jmp 0x447901
dec edx
dec eax
test edx, edx
jne 0x4478ee
mov edx, dword [ebp - 4]
dec edx
je 0x447916
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x447916
mov dword [ebp - 4], 3
mov edx, dword [ebp - 4]
dec edx
jne 0x447959
mov cl, byte [ebp - 0x20c]
test cl, cl
je 0x447943
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x108]
push eax
push 0x5ebedb
push edx
call fcn.004d75f8
add esp, 0xc
jmp 0x447983
push 0x5ebee2
lea ecx, [ebp - 0x108]
push ecx
call fcn.004d75f8
add esp, 8
jmp 0x447983
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 0x447af0
mov al, byte [ebp - 0x320]
test al, al
je 0x447ad5
movsx edx, byte [ebp - 0x320]
cmp edx, 0x2e
jne 0x4479c9
mov cl, byte [ebp - 0x31f]
test cl, cl
je 0x447ad5
movsx eax, byte [ebp - 0x320]
cmp eax, 0x2e
jne 0x4479ef
movsx edx, byte [ebp - 0x31f]
cmp edx, 0x2e
jne 0x4479ef
mov cl, byte [ebp - 0x31e]
test cl, cl
je 0x447ad5
test byte [ebp - 0x34c], 0x10
je 0x447a6a
test byte [ebp + 0x15], 0x10
je 0x447a6a
mov al, byte [ebp - 0x20c]
test al, al
je 0x447a2c
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x20c]
push edx
push ecx
lea eax, [ebp - 0x108]
push 0x5ebee6
push eax
call fcn.004d75f8
add esp, 0x10
jmp 0x447a47
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x108]
push edx
push 0x5ebef0
push ecx
call fcn.004d75f8
add esp, 0xc
test ebx, ebx
jne 0x447a50
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.00447870
add esp, 0x10
add edi, eax
mov al, byte [ebp - 0x20c]
test al, al
je 0x447a98
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x20c]
push edx
push ecx
lea eax, [ebp - 0x108]
push 0x5ebef7
push eax
call fcn.004d75f8
add esp, 0x10
jmp 0x447ab3
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x108]
push edx
push 0x5ebefd
push ecx
call fcn.004d75f8
add esp, 0xc
test ebx, ebx
jne 0x447abc
mov ebx, 1
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x108]
push eax
push ebx
push edx
call fcn.00447714
add esp, 0xc
test eax, eax
jne 0x447ad5
inc edi
lea ecx, [ebp - 0x34c]
push ecx
push esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x4479a1
push esi
call sub.KERNEL32.dll_FindClose
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret