Function at 0x40f190
Capabilities:
Enumerate files on windows
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543e3d
mov eax, dword fs:[0]
push eax
sub esp, 0xd5c
mov eax, dword [0x5acd88]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push ebx
push eax
push str.GetLatestEVOFirstLaunchTime
push str.__S____pszRegName___s__pszProdName___s__pszVer___s
mov dword [ebp - 0xd68], eax
mov dword [ebp - 0xd64], ecx
mov dword [ebp - 0xd5c], ebx
call fcn.0040bef0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005265d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.005265d0
add esp, 0x38
lea eax, [ebp - 0x628]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
lea eax, [ebp - 0x628]
push eax
push str._sCyberLinkEvoParser_s
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00525204
add esp, 0x14
lea eax, [ebp - 0xd54]
push eax
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xd60], eax
cmp eax, 0xffffffff
jne 0x40f2ae
push str.GetLatestEVOFirstLaunchTime
push str.__S____Can_not_find_EVO_folder
call fcn.0040bef0
add esp, 8
xor eax, eax
jmp 0x40f973
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.005265d0
add esp, 0xc
lea ecx, [ebp - 0xae0]
push esi
call fcn.00401bc0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xa54], 7
mov dword [ebp - 0xa58], 0
mov word [ebp - 0xa68], ax
mov dword [ebp - 0xa6c], 7
mov dword [ebp - 0xa70], eax
mov word [ebp - 0xa80], ax
push 1
push eax
push 0x558ce0
lea ecx, [ebp - 0xae0]
mov byte [ebp - 4], 2
call fcn.0040a990
mov esi, eax
test esi, esi
js 0x40f436
push esi
push 0
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0xae0]
call fcn.0040ac00
mov edi, eax
lea eax, [ebp - 0xa68]
cmp eax, edi
je 0x40f395
cmp dword [ebp - 0xa54], 8
jb 0x40f36c
push dword [ebp - 0xa68]
call fcn.00414c8d
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0xa68]
mov dword [ebp - 0xa54], 7
mov dword [ebp - 0xa58], 0
mov word [ebp - 0xa68], ax
call fcn.00409a40
cmp dword [ebp - 0xa3c], 8
jb 0x40f3ac
push dword [ebp - 0xa50]
call fcn.00414c8d
add esp, 4
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0xae0]
call fcn.0040ac00
mov esi, eax
lea eax, [ebp - 0xa80]
cmp eax, esi
je 0x40f410
cmp dword [ebp - 0xa6c], 8
jb 0x40f3e7
push dword [ebp - 0xa80]
call fcn.00414c8d
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0xa80]
mov dword [ebp - 0xa6c], 7
mov dword [ebp - 0xa70], 0
mov word [ebp - 0xa80], ax
call fcn.00409a40
cmp dword [ebp - 0xa3c], 8
jb 0x40f427
push dword [ebp - 0xa50]
call fcn.00414c8d
add esp, 4
cmp dword [ebp - 0xa6c], 8
mov eax, dword [ebp - 0xa80]
jae 0x40f43c
lea eax, [ebp - 0xa80]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov edi, eax
push edi
push str.GetLatestEVOFirstLaunchTime
push 0x558ce4
mov dword [ebp - 0xd58], edi
mov ebx, edi
call fcn.0040bef0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xa9c], 7
mov dword [ebp - 0xaa0], 0
mov word [ebp - 0xab0], ax
mov dword [ebp - 0xa84], 7
mov dword [ebp - 0xa88], eax
mov word [ebp - 0xa98], ax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
mov byte [ebp - 4], 4
call fcn.005265d0
add esp, 0xc
test byte [ebp - 0xd54], 0x10
je 0x40f73c
lea eax, [ebp - 0xd28]
push eax
push 0x55539c
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00525204
xor eax, eax
add esp, 0x10
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
cmp word [ebp - 0x420], ax
jne 0x40f50b
xor ecx, ecx
jmp 0x40f523
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f514
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa50]
call fcn.0040a630
push 1
push 0
push 0x558ce0
lea ecx, [ebp - 0xa50]
mov byte [ebp - 4], 5
call fcn.0040a990
mov esi, eax
test esi, esi
js 0x40f651
push esi
push 0
lea eax, [ebp - 0xaf8]
push eax
lea ecx, [ebp - 0xa50]
call fcn.0040ac00
mov edi, eax
lea eax, [ebp - 0xab0]
cmp eax, edi
je 0x40f5b9
cmp dword [ebp - 0xa9c], 8
jb 0x40f590
push dword [ebp - 0xab0]
call fcn.00414c8d
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0xab0]
mov dword [ebp - 0xa9c], 7
mov dword [ebp - 0xaa0], 0
mov word [ebp - 0xab0], ax
call fcn.00409a40
cmp dword [ebp - 0xae4], 8
jb 0x40f5d0
push dword [ebp - 0xaf8]
call fcn.00414c8d
add esp, 4
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0xaf8]
push eax
lea ecx, [ebp - 0xa50]
call fcn.0040ac00
mov esi, eax
lea eax, [ebp - 0xa98]
cmp eax, esi
je 0x40f634
cmp dword [ebp - 0xa84], 8
jb 0x40f60b
push dword [ebp - 0xa98]
call fcn.00414c8d
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0xa98]
mov dword [ebp - 0xa84], 7
mov dword [ebp - 0xa88], 0
mov word [ebp - 0xa98], ax
call fcn.00409a40
cmp dword [ebp - 0xae4], 8
jb 0x40f64b
push dword [ebp - 0xaf8]
call fcn.00414c8d
add esp, 4
mov edi, dword [ebp - 0xd58]
cmp dword [ebp - 0xa84], 8
lea eax, [ebp - 0xa98]
cmovae eax, dword [ebp - 0xa98]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
cmp dword [ebp - 0xa54], 8
push dword [ebp - 0xa58]
lea ecx, [ebp - 0xa68]
cmovae ecx, dword [ebp - 0xa68]
push ecx
push dword [ebp - 0xaa0]
lea ecx, [ebp - 0xab0]
push 0
mov esi, eax
call fcn.00410c00
test eax, eax
jne 0x40f70e
cmp esi, edi
jl 0x40f70e
cmp esi, ebx
jl 0x40f70e
push ebx
push esi
push str.GetLatestEVOFirstLaunchTime
push str.__S____Find_nMinVerTar__d____nMaxVer__d_
call fcn.0040bef0
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa50]
push eax
push 0x55539c
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00525204
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa50]
push esi
push eax
push str.GetLatestEVOFirstLaunchTime
push str.__S____Find_folder__s__nMaxVer___d
mov ebx, esi
call fcn.0040bef0
add esp, 0x30
cmp dword [ebp - 0xa3c], 8
jb 0x40f725
push dword [ebp - 0xa50]
call fcn.00414c8d
add esp, 4
cmp dword [ebp - 0xa84], 8
jb 0x40f73c
push dword [ebp - 0xa98]
call fcn.00414c8d
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa9c], 8
mov dword [ebp - 0xa84], 7
mov dword [ebp - 0xa88], 0
mov word [ebp - 0xa98], ax
mov byte [ebp - 4], 2
jb 0x40f774
push dword [ebp - 0xab0]
call fcn.00414c8d
add esp, 4
mov esi, dword [ebp - 0xd60]
lea eax, [ebp - 0xd54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40f460
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xac8]
call fcn.00401bc0
cmp dword [ebp - 0xab4], 8
lea eax, [ebp - 0xac8]
cmovae eax, dword [ebp - 0xac8]
push 0x55514c
push eax
mov byte [ebp - 4], 6
call fcn.00525079
add esp, 8
test eax, eax
jne 0x40f7ec
push str.GetLatestEVOFirstLaunchTime
push str.__S____Can_not_find_EVO_folder
call fcn.0040bef0
add esp, 8
xor esi, esi
jmp 0x40f8be
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0xd5c]
lea eax, [ebp - 0x628]
push eax
push str._sCyberLinkEvoParser_s_sEVO.ini
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00525204
lea eax, [ebp - 0x218]
push eax
push str.GetLatestEVOFirstLaunchTime
push str.__S____EVO.ini_path___s
call fcn.0040bef0
xor esi, esi
push esi
push 1
push 0x10000000
push 1
push str.EVERYONE
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.0040bf60
add esp, 0x40
cmp eax, 2
lea eax, [ebp - 0x218]
push eax
jne 0x40f86e
push str.GetLatestEVOFirstLaunchTime
push str.__S_____s_cannot_be_found_and_use_current_time_to_be_default
call fcn.0040bef0
add esp, 0xc
jmp 0x40f8be
mov edi, dword [ebp - 0xd68]
push 0x24
lea eax, [ebp - 0xb04]
push eax
push edi
push str.Evoparser
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
mov esi, eax
test esi, esi
jne 0x40f8a4
push edi
push str.GetLatestEVOFirstLaunchTime
push str.__S____GetPrivateProfileStructW_with__s_failed_and_use_current_time_to_be_default
call fcn.0040bef0
add esp, 0xc
jmp 0x40f8be
lea eax, [ebp - 0xb04]
push eax
call fcn.00527d9e
mov ecx, dword [ebp - 0xd64]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp dword [ebp - 0xab4], 8
jb 0x40f8d5
push dword [ebp - 0xac8]
call fcn.00414c8d
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa6c], 8
mov dword [ebp - 0xab4], 7
mov dword [ebp - 0xab8], 0
mov word [ebp - 0xac8], ax
jb 0x40f909
push dword [ebp - 0xa80]
call fcn.00414c8d
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa54], 8
mov dword [ebp - 0xa6c], 7
mov dword [ebp - 0xa70], 0
mov word [ebp - 0xa80], ax
jb 0x40f93d
push dword [ebp - 0xa68]
call fcn.00414c8d
add esp, 4
xor eax, eax
cmp dword [ebp - 0xacc], 8
mov dword [ebp - 0xa54], 7
mov dword [ebp - 0xa58], 0
mov word [ebp - 0xa68], ax
jb 0x40f971
push dword [ebp - 0xae0]
call fcn.00414c8d
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525af7
mov esp, ebp
pop ebp
ret