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

Disassembly:
sub esp, 0x36c
lea edx, [esp + 0x164]
push ebx
mov ebx, dword [esp + 0x378]
push ebp
push esi
push edi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x461fac
lea eax, [esp + 0x174]
push 0x4a2ad8
lea ecx, [esp + 0x178]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea edx, [esp + 0x34]
lea eax, [esp + 0x174]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x462003
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x36c
ret
mov ebp, dword [esp + 0x380]
test byte [esp + 0x34], 0x10
jne 0x4621a9
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov esi, eax
push 0x4a28ac
inc esi
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
jne 0x4620bb
push 0x4a3ab8
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
jne 0x4620bb
push 0x4a2d44
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
jne 0x4620bb
push 0x4a2d40
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
jne 0x4620bb
push 0x4a2d48
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
jne 0x4620bb
push 0x4a2d2c
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
jne 0x4620bb
push 0x4a3ab4
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
jne 0x4620bb
push 0x4a3ab0
push esi
call fcn.0045c4a0
add esp, 8
test eax, eax
je 0x4621f1
mov ecx, dword [0x523dbc]
mov eax, dword [0x520468]
cmp ecx, eax
jne 0x462133
lea eax, [ecx + 0x1f4]
lea edx, [eax + eax*8]
lea ecx, [eax + edx*4]
mov edx, dword [0x523ca0]
shl ecx, 3
sub ecx, eax
shl ecx, 2
push ecx
push edx
call fcn.0048c170
mov esi, eax
add esp, 8
xor eax, eax
mov dword [0x523ca0], esi
test esi, esi
je 0x462211
mov edx, dword [0x523dbc]
mov ecx, 0x2402c
lea edi, [edx + edx*8]
lea edi, [edx + edi*4]
shl edi, 3
sub edi, edx
lea edi, [esi + edi*4]
rep stosd dword es:[edi], eax
mov eax, dword [0x523dbc]
mov edi, dword [esp + 0x10]
add eax, 0x1f4
mov dword [0x523dbc], eax
mov eax, dword [0x520468]
lea edx, [eax + eax*8]
lea ecx, [esp + 0x60]
lea edx, [eax + edx*4]
shl edx, 3
sub edx, eax
mov eax, dword [0x523ca0]
lea edx, [eax + edx*4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x46214a
mov eax, dword [0x520468]
mov ecx, ebx
lea edx, [eax + eax*8]
lea edx, [eax + edx*4]
shl edx, 3
sub edx, eax
mov eax, dword [0x523ca0]
lea edx, [eax + edx*4 + 0x104]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x462172
mov eax, dword [0x520468]
lea ecx, [esp + 0x14]
inc eax
push eax
push str.__u__NNN_Launcher
push ecx
mov dword [0x520468], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x4621f1
cmp byte [esp + 0x60], 0x2e
je 0x4621f1
lea edx, [esp + 0x278]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4621bb
lea eax, [esp + 0x60]
lea ecx, [esp + 0x278]
push eax
lea edx, [esp + 0x27c]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [esp + 0x278]
push eax
push ebp
call fcn.00461f90
add esp, 8
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46200a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x36c
ret