Function at 0x411280
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov eax, 0x1cc4
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1cbc], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
push 0x276f
push dword [0x4def88]
call edi
push 0x2785
push dword [0x4def88]
mov ebp, eax
call edi
mov dword [esp + 0x14], eax
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0xcd0], ax
lea eax, [esp + 0xcd2]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0xcc8]
push 0x400
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x14d0], ax
lea eax, [esp + 0x14d2]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0xcc8]
push eax
lea eax, [esp + 0x14cc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4ae2c0
lea eax, [esp + 0x14cc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x4d0], ax
lea eax, [esp + 0x4d2]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x14cc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
je 0x411878
test byte [esp + 0x70], 0x10
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
jne 0x4115e3
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0xccc]
push eax
push 0x4ad304
lea eax, [esp + 0x4d4]
push 0x400
push eax
call fcn.0040a370
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x4dc]
add esp, 0x14
call fcn.004109d0
test eax, eax
jne 0x4115e3
lea eax, [esp + 0x4c8]
mov edx, 0x4add24
push eax
mov ecx, 0x4ae00c
call fcn.004773a0
push eax
push 0x400
push 0x4cf000
call fcn.0040a370
add esp, 0x10
cmp dword [0x4deb74], 2
jne 0x411438
push 0
push 0
push 0x130b
push 0x2763
push dword [0x4def88]
call edi
push eax
call ebx
cmp eax, 5
je 0x411438
push 0x4cf000
push 1
push 0x40b
push dword [reloc.kernel32.dll_InitializeSListHead]
call ebx
push 0
push 0x20000000
push 3
push 0
push 4
push 0xc0000000
lea eax, [esp + 0x4e0]
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x411461
xor eax, eax
jmp 0x41146d
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 1
test eax, eax
je 0x4115e3
mov edi, dword [esp + 0x8c]
xor esi, esi
add esi, dword [esp + 0x90]
push 0
push 0
push 0x1004
push ebp
adc edi, 0
call ebx
push 0x4cf800
push 0
mov dword [0x4cf804], eax
lea eax, [esp + 0x4d0]
push 0x104d
push ebp
mov dword [0x4cf81c], 0
mov dword [0x4cf814], eax
call ebx
push edi
push esi
mov dword [esp + 0x34], 2
call fcn.004648f0
add esp, 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cf804]
push 0x1074
push ebp
call ebx
add dword [0x4ce7f0], esi
mov edx, 0x4addd4
mov ecx, 0x4ae00c
mov dword [esp + 0x2c], 1
adc dword [0x4ce7f4], edi
call fcn.004773a0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cf804]
push 0x1074
push ebp
call ebx
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c8], ax
lea eax, [esp + 0x2ca]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4115ca
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4115ca
movzx eax, word [esp + 0x6a]
push eax
movzx eax, word [esp + 0x6c]
push eax
movzx eax, word [esp + 0x6e]
push eax
movzx eax, word [esp + 0x6e]
push eax
movzx eax, word [esp + 0x70]
push eax
push 0x4ae27c
lea eax, [esp + 0x2d8]
push 0x104
push eax
call fcn.0040a370
add esp, 0x20
mov dword [esp + 0x2c], 3
lea eax, [esp + 0x2c0]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cf804]
push 0x1074
push ebp
call ebx
push 0x1869f
push 0
push 0x1014
push ebp
call ebx
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
lea eax, [esp + 0x70]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x411871
nop word [eax + eax]
test byte [esp + 0x70], 0x10
jne 0x411857
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0xccc]
push eax
push 0x4ad304
lea eax, [esp + 0x4d4]
push 0x400
push eax
call fcn.0040a370
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x4dc]
add esp, 0x14
call fcn.004109d0
test eax, eax
jne 0x411857
lea eax, [esp + 0x4c8]
mov edx, 0x4add24
push eax
mov ecx, 0x4ae00c
call fcn.004773a0
push eax
push 0x400
push 0x4cf000
call fcn.0040a370
add esp, 0x10
cmp dword [0x4deb74], 2
jne 0x4116b2
push 0
push 0
push 0x130b
push 0x2763
push dword [0x4def88]
call edi
push eax
call ebx
cmp eax, 5
je 0x4116b2
push 0x4cf000
push 1
push 0x40b
push dword [reloc.kernel32.dll_InitializeSListHead]
call ebx
push 0
push 0x20000000
push 3
push 0
push 4
push 0xc0000000
lea eax, [esp + 0x4e0]
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4116db
xor eax, eax
jmp 0x4116e7
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 1
test eax, eax
je 0x411857
mov edi, dword [esp + 0x8c]
xor esi, esi
add esi, dword [esp + 0x90]
push 0
push 0
push 0x1004
push ebp
adc edi, 0
call ebx
push 0x4cf800
push 0
mov dword [0x4cf804], eax
lea eax, [esp + 0x4d0]
push 0x104d
push ebp
mov dword [0x4cf81c], 0
mov dword [0x4cf814], eax
call ebx
push edi
push esi
mov dword [esp + 0x34], 2
call fcn.004648f0
add esp, 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cf804]
push 0x1074
push ebp
call ebx
add dword [0x4ce7f0], esi
mov edx, 0x4addd4
mov ecx, 0x4ae00c
mov dword [esp + 0x2c], 1
adc dword [0x4ce7f4], edi
call fcn.004773a0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cf804]
push 0x1074
push ebp
call ebx
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c8], ax
lea eax, [esp + 0x2ca]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x411844
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
test eax, eax
je 0x411844
movzx eax, word [esp + 0x6a]
push eax
movzx eax, word [esp + 0x6c]
push eax
movzx eax, word [esp + 0x6e]
push eax
movzx eax, word [esp + 0x6e]
push eax
movzx eax, word [esp + 0x70]
push eax
push 0x4ae27c
lea eax, [esp + 0x2d8]
push 0x104
push eax
call fcn.0040a370
add esp, 0x20
mov dword [esp + 0x2c], 3
lea eax, [esp + 0x2c0]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cf804]
push 0x1074
push ebp
call ebx
push 0x1869f
push 0
push 0x1014
push ebp
call ebx
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
test eax, eax
jne 0x411600
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x1ccc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1cc4
ret