Function at 0x458bf2
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Read .ini file

Disassembly:
push ebp
sub esp, 0x504
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x504], eax
push 0xc0
mov eax, 0x49a924
call fcn.00464add
push 6
pop ecx
push 8
pop ebx
mov esi, str.UserDataSet
lea edi, [ebp + 0x4ec]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov esi, str.UserDataSavePath
lea edi, [ebp + 0x4c8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
push edi
lea ecx, [ebp + 0x2a4]
mov dword [ebp + 0x2bc], 7
call fcn.004024d0
lea eax, [ebp + 0x2a4]
push eax
mov dword [ebp - 4], edi
call fcn.00458a04
test eax, eax
pop ecx
je 0x458f53
cmp dword [ebp + 0x2bc], ebx
mov eax, dword [ebp + 0x2a8]
jae 0x458c81
lea eax, [ebp + 0x2a8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x458f53
push 0x206
lea eax, [ebp + 0x2c2]
push edi
push eax
mov word [ebp + 0x2c0], di
call fcn.004665b0
mov eax, dword [ebp + 0x2a8]
add esp, 0xc
cmp dword [ebp + 0x2bc], ebx
jae 0x458cc3
lea eax, [ebp + 0x2a8]
push eax
push 0x104
lea eax, [ebp + 0x2c0]
push eax
push 0x4a8d80
lea eax, [ebp + 0x4c8]
push eax
lea eax, [ebp + 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x2c0]
push eax
lea ecx, [ebp + 0x288]
call fcn.004041de
mov eax, dword [ebp + 0x29c]
cmp eax, 2
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x288]
jb 0x458f4b
dec eax
push eax
call fcn.0041bae9
cmp word [eax], 0x5c
je 0x458d31
push 0x49fa70
lea ecx, [ebp + 0x288]
call fcn.0040afcc
cmp dword [ebp + 0x2a0], ebx
mov eax, dword [ebp + 0x28c]
jae 0x458d45
lea eax, [ebp + 0x28c]
push eax
call esi
cmp eax, 0xffffffff
je 0x458f45
test al, 0x10
je 0x458f45
push 0x250
lea eax, [ebp]
push edi
xor esi, esi
push eax
inc esi
call fcn.004665b0
push 0x4a2df0
lea eax, [ebp + 0x288]
push eax
lea eax, [ebp + 0x26c]
push eax
call fcn.0040afe9
add esp, 0x18
cmp dword [ebp + 0x284], ebx
mov eax, dword [ebp + 0x270]
mov byte [ebp - 4], 2
jae 0x458d9e
lea eax, [ebp + 0x270]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
call fcn.004583a4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0xffffffff
je 0x458eee
cmp esi, edi
je 0x458ee5
test byte [ebp], 0x10
je 0x458ed1
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x4a2de4
lea eax, [ebp + 0x2c]
push eax
call esi
test eax, eax
je 0x458ed1
push 0x4a2dec
lea eax, [ebp + 0x2c]
push eax
call esi
test eax, eax
je 0x458ed1
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x250]
call fcn.004041de
push 1
push 3
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.0042e1db
lea eax, [ebp + 0x250]
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 5
call fcn.0042dd7e
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 6
call fcn.00458afc
mov dword [ebp - 4], 5
jmp 0x458e74
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
cmp eax, edi
ja 0x458eb0
jb 0x458e8d
cmp ecx, 0xfffffffd
ja 0x458eb0
cmp edx, edi
je 0x458eb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], ecx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], edx
call fcn.0045888d
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.0042c38c
push edi
push 1
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 3
call fcn.004021e1
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x458db8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp dword [ebp - 0x20], edi
je 0x458f0b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.004583ef
mov ecx, eax
call fcn.00458381
mov esi, dword [eax + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00458aa9
push edi
push 1
lea ecx, [ebp + 0x26c]
call fcn.004021e1
push edi
push 1
lea ecx, [ebp + 0x288]
call fcn.004021e1
push edi
push 1
lea ecx, [ebp + 0x2a4]
call fcn.004021e1
mov eax, esi
jmp 0x458f63
lea ecx, [ebp + 0x288]
push edi
push 1
call fcn.004021e1
push edi
push 1
lea ecx, [ebp + 0x2a4]
call fcn.004021e1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x504]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x508
leave
ret