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

Disassembly:
sub esp, 0x450
push ebx
push ebp
push esi
mov esi, dword [esp + 0x460]
push edi
push esi
lea eax, [esp + 0x25c]
mov ebp, ecx
push eax
mov dword [esp + 0x18], ebp
call fcn.00414230
push esi
lea ecx, [esp + 0x360]
push ecx
mov ecx, ebp
call fcn.004141c0
lea eax, [esp + 0x258]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414c90
sub eax, edx
cmp byte [esp + eax + 0x258], 0x5c
je 0x414cc2
lea edi, [esp + 0x258]
dec edi
jmp 0x414cb0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414cb0
mov dx, word [0x447218]
mov word [edi], dx
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x414dfa
lea esp, [esp]
mov edi, 0x447900
lea esi, [esp + 0x40]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x414dd8
mov edi, 0x4478fc
lea esi, [esp + 0x40]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x414dd8
test byte [esp + 0x14], 0x10
jne 0x414dd8
mov edi, 0x448844
lea esi, [esp + 0x35c]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x414d7b
xor eax, eax
jmp 0x414d40
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
inc eax
test cl, cl
jne 0x414d40
lea eax, [esp + 0x40]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414d60
lea edi, [esp + 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414d71
jmp 0x414db9
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
inc eax
test cl, cl
jne 0x414d80
lea eax, [esp + 0x35c]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414da0
lea edi, [esp + 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414db1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x154]
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, ebp
call fcn.00414a00
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414ce0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x464]
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x414f06
mov ebx, dword [esp + 0x468]
jmp 0x414e20
mov edi, 0x447900
lea esi, [esp + 0x40]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x414eeb
mov edi, 0x4478fc
lea esi, [esp + 0x40]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x414eeb
test byte [esp + 0x14], 0x10
je 0x414eeb
test bl, bl
je 0x414eeb
xor eax, eax
jmp 0x414e70
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
inc eax
test cl, cl
jne 0x414e70
lea eax, [esp + 0x40]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414e90
lea edi, [esp + 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414ea1
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 + 0x154]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414ec1
mov eax, dword [str..]
mov cl, byte [0x447c20]
mov dword [edi], eax
push ebx
lea edx, [esp + 0x158]
mov byte [edi + 4], cl
mov ecx, dword [esp + 0x14]
push edx
call fcn.00414c50
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414e20
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x450
ret 8