Function at 0x41416f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcb4
mov eax, dword [0x451220]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
push esi
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc90], ebx
mov dword [ebp - 0xc88], 1
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0xc98], eax
cmp eax, esi
jne 0x4141ba
xor eax, eax
jmp 0x4143e4
push esi
lea eax, [ebp - 0x620]
push 0x208
push eax
call fcn.00428a91
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push 0x4494e0
lea eax, [ebp - 0x620]
push eax
call edi
mov eax, ebx
call fcn.0040aa98
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0xc80]
push eax
push esi
call ebx
mov dword [ebp - 0xc84], eax
cmp eax, 0xffffffff
jne 0x414211
cmp dword [ebp + 0xc], 0
jne 0x414290
jmp 0x4141b3
test byte [ebp - 0xc80], 0x10
jne 0x414263
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa30]
push eax
lea esi, [ebp - 0xc8c]
call fcn.00406e38
mov eax, esi
push eax
mov eax, dword [ebp - 0xc90]
call fcn.00408c29
mov eax, dword [ebp - 0xc8c]
add eax, 0xfffffff0
call fcn.00406e8b
lea eax, [ebp - 0xc80]
push eax
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414211
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x4143de
lea esi, [ebp - 0xcb0]
call fcn.00404d28
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00428a91
add esp, 0xc
push 0x44cfc4
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x414359
test byte [ebp - 0xc80], 0x10
je 0x414340
lea eax, [ebp - 0xc54]
push 0x4468b8
push eax
call fcn.004281ba
pop ecx
pop ecx
test eax, eax
je 0x414340
lea eax, [ebp - 0xc54]
push 0x4468bc
push eax
call fcn.004281ba
pop ecx
pop ecx
test eax, eax
je 0x414340
lea eax, [ebp - 0xc54]
push eax
lea esi, [ebp - 0xc84]
call fcn.00406e38
mov eax, esi
push eax
lea eax, [ebp - 0xcb0]
call fcn.00408c29
mov eax, dword [ebp - 0xc84]
add eax, 0xfffffff0
call fcn.00406e8b
lea eax, [ebp - 0xc80]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4142db
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xca0]
sub eax, dword [ebp - 0xca4]
xor edi, edi
sar eax, 2
test eax, eax
jbe 0x4143c7
lea esi, [ebp - 0xcb0]
call fcn.0040cc70
push dword [eax]
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp - 0xc90]
mov ecx, dword [ebp - 0xc94]
push dword [ebp - 0xc98]
lea eax, [ebp - 0x828]
push eax
call fcn.004143f5
mov dword [ebp - 0xc88], eax
mov eax, dword [ebp - 0xca0]
sub eax, dword [ebp - 0xca4]
inc edi
sar eax, 2
cmp edi, eax
jb 0x41436e
lea esi, [ebp - 0xcb0]
call fcn.00404eaa
push dword [ebp - 0xcb0]
call fcn.0042751c
pop ecx
mov eax, dword [ebp - 0xc88]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427527
leave
ret 8