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

Disassembly:
sub esp, 0x558
push ebx
push ebp
push esi
mov esi, dword [esp + 0x568]
push edi
push esi
lea eax, [esp + 0x364]
mov edi, ecx
push eax
mov dword [esp + 0x1c], edi
xor bl, bl
call fcn.004141c0
push esi
lea ecx, [esp + 0x260]
push ecx
mov ecx, edi
call fcn.00414230
lea edi, [esp + 0x25c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414610
mov dx, word [0x447218]
mov word [edi], dx
xor eax, eax
jmp 0x414630
mov cl, byte [esp + eax + 0x25c]
mov byte [esp + eax + 0x464], cl
inc eax
test cl, cl
jne 0x414630
lea eax, [esp + 0x360]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414650
lea edi, [esp + 0x464]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414661
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x414739
jmp 0x4146a0
mov edi, 0x447900
lea esi, [esp + 0x44]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4146cf
mov edi, 0x4478fc
lea esi, [esp + 0x44]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4146cf
test byte [esp + 0x18], 0x10
je 0x4146e1
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4146a0
jmp 0x41472a
mov edi, dword [esp + 0x574]
lea eax, [esp + 0x25c]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4146f5
lea eax, [esp + 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414705
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414710
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]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x4148ba
mov ebp, dword [esp + 0x570]
test ebp, ebp
je 0x4148ba
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x25c]
mov byte [esp + eax + 0x158], cl
inc eax
test cl, cl
jne 0x414750
lea edi, [esp + 0x158]
dec edi
jmp 0x414770
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414770
mov edx, dword [0x448844]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x15c]
push ecx
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x4148ba
mov edi, 0x447900
lea esi, [esp + 0x44]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x414897
mov edi, 0x4478fc
lea esi, [esp + 0x44]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x414897
test byte [esp + 0x18], 0x10
je 0x414897
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x25c]
mov byte [esp + eax + 0x158], cl
inc eax
test cl, cl
jne 0x4147e0
lea eax, [esp + 0x44]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414800
lea edi, [esp + 0x158]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414811
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]
lea edi, [esp + 0x158]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414831
mov cx, word [0x447218]
lea eax, [esp + 0x360]
mov word [edi], cx
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414850
lea edi, [esp + 0x158]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414861
mov edx, dword [esp + 0x574]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push ebp
lea eax, [esp + 0x160]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004145d0
mov bl, al
test bl, bl
jne 0x4148af
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4147a0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x558
ret 0xc