Function at 0x411b50
Capabilities:
Enumerate files on windows
Get common file path
Get startup folder

Disassembly:
mov eax, 0x24d0
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x24cc], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
push edi
push 0x276f
push dword [0x4def88]
mov edi, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], edi
call esi
push 0x2785
push dword [0x4def88]
mov dword [esp + 0x18], eax
call esi
push edi
mov edx, 0x4add24
mov dword [esp + 0x28], eax
mov ecx, 0x4ae00c
call fcn.004773a0
push eax
push 0x400
push 0x4cf000
call fcn.0040a370
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
add esp, 0x10
cmp dword [0x4deb74], 2
jne 0x411c02
push 0
push 0
push 0x130b
push 0x2763
push dword [0x4def88]
call esi
push eax
call ebx
cmp eax, 5
je 0x411c02
push 0x4cf000
push 1
push 0x40b
push dword [reloc.kernel32.dll_InitializeSListHead]
call ebx
push 2
push 0x400
call fcn.0048f633
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4123ac
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push edi
push ebx
call esi
xor eax, eax
mov ebp, 1
push 0x7fe
push eax
mov word [esp + 0x4e0], ax
lea eax, [esp + 0x4e2]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x4d8]
push edi
push eax
call esi
push 0x4ad2c8
lea eax, [esp + 0x4dc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0xce0], ax
lea eax, [esp + 0xce2]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x80]
mov edi, ebp
push eax
lea eax, [esp + 0x4dc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x411f55
mov dword [esp + 0x18], 0x800
nop dword [eax + eax]
test edi, edi
je 0x411f51
cmp dword [0x4c5188], 0
je 0x411f31
push 0x4ad2d0
lea eax, [esp + 0xb0]
push eax
call esi
test eax, eax
je 0x411f18
push 0x4ad2d4
lea eax, [esp + 0xb0]
push eax
call esi
test eax, eax
je 0x411f18
test byte [esp + 0x80], 0x10
je 0x411f18
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0xce0]
push 0x4ad304
push 0x400
push eax
call fcn.0040a370
mov edi, dword [esp + 0x2c]
add esp, 0x14
inc ebp
add edi, 0x800
mov eax, ebp
mov dword [esp + 0x18], edi
shl eax, 0xa
push 2
push eax
push ebx
call fcn.00493763
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4123ac
lea eax, [esp + 0xcd8]
push eax
lea eax, [edi - 0x800]
add eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esp + 0x24e4], 0
jne 0x411f18
lea ecx, [esp + 0xcd8]
call fcn.004761b0
test eax, eax
jne 0x411f18
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xcd8]
call fcn.004109d0
test eax, eax
jne 0x411f18
push 0x4ae2d0
lea eax, [esp + 0x4dc]
push eax
call esi
test eax, eax
je 0x411f18
mov edi, dword [sym.imp.user32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [esp + 0x1c]
call edi
push 0x4cf800
push 0
push 0x104d
push dword [esp + 0x1c]
mov dword [0x4cf804], eax
lea eax, [esp + 0xce8]
mov dword [0x4cf81c], 1
mov dword [0x4cf814], eax
call edi
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 2
push eax
push dword [0x4cf804]
mov dword [esp + 0x50], 0x4ae2ac
push 0x1074
push dword [esp + 0x1c]
call edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4cf804]
mov dword [esp + 0x44], 1
push 0x1074
push dword [esp + 0x1c]
call edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2d8], ax
lea eax, [esp + 0x2da]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x411f06
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
test eax, eax
je 0x411f06
movzx eax, word [esp + 0x7a]
push eax
movzx eax, word [esp + 0x7c]
push eax
movzx eax, word [esp + 0x7e]
push eax
movzx eax, word [esp + 0x7e]
push eax
movzx eax, word [esp + 0x80]
push eax
push 0x4ae27c
lea eax, [esp + 0x2e8]
push 0x104
push eax
call fcn.0040a370
add esp, 0x20
mov dword [esp + 0x3c], 3
lea eax, [esp + 0x2d0]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4cf804]
push 0x1074
push dword [esp + 0x1c]
call edi
push 0x1869f
push 0
push 0x1014
push dword [esp + 0x1c]
call edi
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_FindNextFileW]
mov edi, eax
jmp 0x411cc0
call fcn.004118a0
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
call fcn.0048f63e
add esp, 4
push 1
call dword [sym.imp.kernel32.dll_ExitThread]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
cmp dword [esp + 0x24e4], 0
mov eax, 1
je 0x4123af
cmp ebp, eax
je 0x4120fd
mov ecx, 0x800
nop dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
inc eax
add ecx, 0x800
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
lea eax, [ecx - 0x800]
add eax, ebx
push eax
lea eax, [esp + 0x4dc]
push eax
call esi
lea eax, [esp + 0x4d8]
push eax
lea eax, [esp + 0xcdc]
push eax
call esi
push 0x4ad2c8
lea eax, [esp + 0xcdc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x80]
mov esi, 1
push eax
lea eax, [esp + 0xcdc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x4120cf
mov edi, ebp
shl edi, 0xb
nop dword [eax]
test esi, esi
je 0x4120cb
cmp dword [0x4c5188], 0
je 0x4120e7
test byte [esp + 0x80], 0x10
je 0x4120b2
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
lea eax, [esp + 0xac]
push 0x4ad2d0
push eax
call esi
test eax, eax
je 0x4120b2
push 0x4ad2d4
lea eax, [esp + 0xb0]
push eax
call esi
test eax, eax
je 0x4120b2
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x4dc]
push eax
push 0x4ad304
lea eax, [esp + 0xce4]
push 0x400
push eax
call fcn.0040a370
add esp, 0x14
inc ebp
mov eax, ebp
add edi, 0x800
shl eax, 0xa
push 2
push eax
push ebx
call fcn.00493763
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4123ac
lea eax, [esp + 0xcd8]
push eax
lea eax, [ebx - 0x800]
add eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_FindNextFileW]
mov esi, eax
jmp 0x412000
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4120fd
mov ecx, dword [esp + 0x14]
jmp 0x411f80
call fcn.004118a0
push ebx
call fcn.0048f63e
add esp, 4
push 1
call dword [sym.imp.kernel32.dll_ExitThread]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x14e0], ax
lea eax, [esp + 0x14e2]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1cd8], ax
push 0x7fe
push eax
lea eax, [esp + 0x1ce2]
push eax
call fcn.0048e770
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push 7
push 0
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x14d8]
push eax
push dword [esp + 0x20]
call esi
lea eax, [esp + 0x1c]
push eax
push 0x18
push 0
call edi
lea eax, [esp + 0x1cd8]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x412195
lea eax, [esp + 0x14d8]
push eax
lea eax, [esp + 0x1cdc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
test ebp, ebp
je 0x41239c
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov esi, ebp
shl esi, 0xb
add esi, ebx
nop word [eax + eax]
dec ebp
sub esi, 0x800
cmp dword [0x4c5188], 0
je 0x4120e7
push esi
lea eax, [esp + 0x4dc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea ecx, [esp + 0x4d8]
call fcn.004761b0
test eax, eax
jne 0x412394
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x4d8]
call fcn.004109d0
test eax, eax
jne 0x412394
lea eax, [esp + 0x14d8]
push eax
lea eax, [esp + 0x4dc]
push eax
call edi
test eax, eax
je 0x412394
lea eax, [esp + 0x1cd8]
push eax
lea eax, [esp + 0x4dc]
push eax
call edi
test eax, eax
je 0x412394
push 0
push 0
push 0x1004
push dword [esp + 0x1c]
call dword [sym.imp.user32.dll_SendMessageW]
push 0x4cf800
push 0
push 0x104d
push dword [esp + 0x1c]
mov dword [0x4cf804], eax
lea eax, [esp + 0x4e8]
mov dword [0x4cf81c], 1
mov dword [0x4cf814], eax
call dword [sym.imp.user32.dll_SendMessageW]
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 2
push eax
push dword [0x4cf804]
mov dword [esp + 0x50], 0x4ae2ac
push 0x1074
push dword [esp + 0x1c]
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4cf804]
mov dword [esp + 0x44], 1
push 0x1074
push dword [esp + 0x1c]
call dword [sym.imp.user32.dll_SendMessageW]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2d8], ax
lea eax, [esp + 0x2da]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x41237e
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
test eax, eax
je 0x41237e
movzx eax, word [esp + 0x7a]
push eax
movzx eax, word [esp + 0x7c]
push eax
movzx eax, word [esp + 0x7e]
push eax
movzx eax, word [esp + 0x7e]
push eax
movzx eax, word [esp + 0x80]
push eax
push 0x4ae27c
lea eax, [esp + 0x2e8]
push 0x104
push eax
call fcn.0040a370
add esp, 0x20
mov dword [esp + 0x3c], 3
lea eax, [esp + 0x2d0]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4cf804]
push 0x1074
push dword [esp + 0x1c]
call dword [sym.imp.user32.dll_SendMessageW]
push 0x1869f
push 0
push 0x1014
push dword [esp + 0x1c]
call dword [sym.imp.user32.dll_SendMessageW]
test ebp, ebp
jne 0x4121b0
push ebx
call fcn.0048f63e
add esp, 4
mov eax, 1
jmp 0x4123af
or eax, 0xffffffff
mov ecx, dword [esp + 0x24dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x24d0
ret