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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x2d8
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x2f0]
mov edi, 0x461258
lea esi, [esp + 0x90]
call fcn.0040bb50
lea edi, [esp + 0x18]
call fcn.00416070
add esp, 4
mov edi, 0x46126c
lea esi, [esp + 0x70]
call fcn.0040bb50
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x415079
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00427d3a
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0xa4], esi
jb 0x4150a5
mov edx, dword [esp + 0x90]
push edx
call fcn.00427d3a
add esp, 4
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x4150b6
lea eax, [esp + 0x74]
lea ecx, [esp + 0xa8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
jne 0x4150f3
cmp dword [esp + 0x88], esi
jb 0x4152ac
mov edx, dword [esp + 0x74]
push edx
call fcn.00427d3a
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d8
ret
mov ebp, dword [esp + 0x2f8]
cmp byte [esp + 0xd4], 0x2e
jne 0x415124
mov al, byte [esp + 0xd5]
cmp al, bl
je 0x415270
cmp al, 0x2e
jne 0x415124
cmp byte [esp + 0xd6], bl
je 0x415270
test byte [esp + 0xa8], 0x10
je 0x4152b7
mov edx, dword [esp + 0x2f0]
cmp dword [edx + 0x18], 0x10
mov esi, dword [edx + 0x14]
mov eax, esi
jb 0x415149
mov edx, dword [edx + 4]
jmp 0x41514c
add edx, 4
xor eax, eax
mov ecx, 0x45ba10
call fcn.00401760
cmp eax, ebx
jne 0x4151df
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
jne 0x4151df
lea eax, [esp + 0xd4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415181
sub eax, edx
push eax
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403770
mov ecx, dword [esp + 0x2fc]
mov edx, dword [esp + 0x2f4]
push ecx
mov ecx, dword [esp + 0x2f0]
push ebp
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00415020
add esp, 0x14
cmp dword [esp + 0x2c], 0x10
jb 0x415263
mov edx, dword [esp + 0x18]
push edx
call fcn.00427d3a
add esp, 4
jmp 0x415263
mov eax, dword [esp + 0x2f0]
mov edi, 0x461258
lea esi, [esp + 0x8c]
call fcn.0040bb50
lea edi, [esp + 0xd4]
lea esi, [esp + 0x14]
call fcn.0040bb50
mov esi, 0x10
cmp dword [esp + 0xa4], esi
jb 0x415225
mov eax, dword [esp + 0x90]
push eax
call fcn.00427d3a
add esp, 4
mov ecx, dword [esp + 0x2fc]
mov edx, dword [esp + 0x2f4]
push ecx
mov ecx, dword [esp + 0x2f0]
push ebp
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00415020
add esp, 0x14
cmp dword [esp + 0x2c], esi
jb 0x41525e
mov edx, dword [esp + 0x18]
push edx
call fcn.00427d3a
add esp, 4
mov edi, 0xf
mov esi, 0x10
cmp byte [0x4687c4], bl
je 0x41528b
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4150fa
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x88], esi
jb 0x4152ac
mov eax, dword [esp + 0x74]
push eax
call fcn.00427d3a
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d8
ret
xor eax, eax
lea ecx, [esp + 0xd4]
call fcn.00414650
mov esi, eax
cmp esi, ebx
jl 0x415263
mov eax, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4152e0
sub eax, edx
push eax
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403770
mov ecx, dword [esp + 0x2f0]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.004034f0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.004034f0
lea eax, [esp + 0x34]
push eax
push 0x468908
mov dword [esp + 0x74], esi
call fcn.00415c30
cmp dword [esp + 0x68], 0x10
jb 0x41535f
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00427d3a
add esp, 4
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x41537f
mov edx, dword [esp + 0x38]
push edx
call fcn.00427d3a
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x41539f
mov eax, dword [esp + 0x18]
push eax
call fcn.00427d3a
add esp, 4
inc dword [ebp]
mov eax, dword [esp + 0x2fc]
inc dword [eax + esi*4]
mov ecx, dword [0x468858]
mov edx, dword [ebp]
push ecx
push edx
lea eax, [esp + 0x1f0]
push str._d__s
push eax
mov edx, 0x7f
call fcn.00414440
mov edx, dword [esp + 0x304]
add esp, 0x10
lea ecx, [esp + 0x1e8]
push ecx
push 0x44d
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x415263