Function at 0x41add0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x170c
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1708], eax
push ebx
push esi
push edi
push 0x27e2
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov esi, eax
push 0
push 0
push 0x1009
push esi
mov dword [esp + 0x20], esi
call edi
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x718], ax
lea eax, [esp + 0x71a]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x710]
push 0x4def98
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4ae5d8
lea eax, [esp + 0x714]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x714]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x41b0a7
mov ebx, dword [sym.imp.kernel32.dll_FindNextFileW]
lea ecx, [esp + 0x68]
push ecx
push eax
call ebx
test eax, eax
je 0x41b09d
nop word [eax + eax]
test byte [esp + 0x68], 0x10
je 0x41b08a
push 0x4ad2d4
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x41b08a
push 0x4ad2d0
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41b08a
push 0
push 0
push 0x1004
push esi
call edi
push 0x4cfa1c
push 0
mov dword [0x4cfa20], eax
lea eax, [esp + 0x9c]
push 0x104d
push esi
mov dword [0x4cfa30], eax
call edi
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0xf18], ax
lea eax, [esp + 0xf1a]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x94]
push eax
push 0x4def98
push 0x4ae5e8
lea eax, [esp + 0xf1c]
push 0x400
push eax
call fcn.0040a370
add esp, 0x14
mov dword [esp + 0x24], 2
lea eax, [esp + 0xf10]
push eax
call fcn.00492273
add esp, 4
lea eax, [esp + 0x2b8]
xor esi, esi
push eax
push 0x4ad34c
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41afbd
mov esi, dword [esp + 0x2d8]
lea eax, [esp + 0x2b8]
push eax
push edi
call ebx
test eax, eax
je 0x41afb6
nop
add esi, dword [esp + 0x2d8]
lea eax, [esp + 0x2b8]
push eax
push edi
call ebx
test eax, eax
jne 0x41afa0
push edi
call dword [sym.imp.kernel32.dll_FindClose]
push 0
push esi
call fcn.004648f0
mov esi, dword [esp + 0x18]
add esp, 8
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4cfa20]
push 0x1074
push esi
call edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x510], ax
lea eax, [esp + 0x512]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x62]
push eax
movzx eax, word [esp + 0x64]
push eax
movzx eax, word [esp + 0x60]
push eax
movzx eax, word [esp + 0x66]
push eax
movzx eax, word [esp + 0x6e]
push eax
push 0x4ad388
lea eax, [esp + 0x520]
push 0x104
push eax
call fcn.0040a370
add esp, 0x20
mov dword [esp + 0x24], 1
lea eax, [esp + 0x508]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4cfa20]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x10]
call ebx
test eax, eax
jne 0x41aea0
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_FindClose]
push 0x4770b0
push 1
push 0x1051
push esi
mov dword [0x4deb70], 0
mov dword [0x4deb6c], esi
call edi
mov ecx, dword [esp + 0x1714]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret