Function at 0x458c4b
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, 0x49a6df
call fcn.0046492a
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.004024b4
lea eax, [ebp + 0x2a4]
push eax
mov dword [ebp - 4], edi
call fcn.00458a5d
test eax, eax
pop ecx
je 0x458fac
cmp dword [ebp + 0x2bc], ebx
mov eax, dword [ebp + 0x2a8]
jae 0x458cda
lea eax, [ebp + 0x2a8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x458fac
push 0x206
lea eax, [ebp + 0x2c2]
push edi
push eax
mov word [ebp + 0x2c0], di
call fcn.00466400
mov eax, dword [ebp + 0x2a8]
add esp, 0xc
cmp dword [ebp + 0x2bc], ebx
jae 0x458d1c
lea eax, [ebp + 0x2a8]
push eax
push 0x104
lea eax, [ebp + 0x2c0]
push eax
push 0x4a89c8
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.004041c2
mov eax, dword [ebp + 0x29c]
cmp eax, 2
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x288]
jb 0x458fa4
dec eax
push eax
call fcn.0041b75b
cmp word [eax], 0x5c
je 0x458d8a
push 0x49fa70
lea ecx, [ebp + 0x288]
call fcn.0040ae4d
cmp dword [ebp + 0x2a0], ebx
mov eax, dword [ebp + 0x28c]
jae 0x458d9e
lea eax, [ebp + 0x28c]
push eax
call esi
cmp eax, 0xffffffff
je 0x458f9e
test al, 0x10
je 0x458f9e
push 0x250
lea eax, [ebp]
push edi
xor esi, esi
push eax
inc esi
call fcn.00466400
push 0x4a2a38
lea eax, [ebp + 0x288]
push eax
lea eax, [ebp + 0x26c]
push eax
call fcn.0040ae6a
add esp, 0x18
cmp dword [ebp + 0x284], ebx
mov eax, dword [ebp + 0x270]
mov byte [ebp - 4], 2
jae 0x458df7
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.004583fd
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0xffffffff
je 0x458f47
cmp esi, edi
je 0x458f3e
test byte [ebp], 0x10
je 0x458f2a
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x4a2a2c
lea eax, [ebp + 0x2c]
push eax
call esi
test eax, eax
je 0x458f2a
push 0x4a2a34
lea eax, [ebp + 0x2c]
push eax
call esi
test eax, eax
je 0x458f2a
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x250]
call fcn.004041c2
push 1
push 3
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.0042de92
lea eax, [ebp + 0x250]
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 5
call fcn.0042da35
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.00458b55
mov dword [ebp - 4], 5
jmp 0x458ecd
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
cmp eax, edi
ja 0x458f09
jb 0x458ee6
cmp ecx, 0xfffffffd
ja 0x458f09
cmp edx, edi
je 0x458f09
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.004588e6
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.0042c040
push edi
push 1
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 3
call fcn.004021c5
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x458e11
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp dword [ebp - 0x20], edi
je 0x458f64
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00458448
mov ecx, eax
call fcn.004583da
mov esi, dword [eax + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00458b02
push edi
push 1
lea ecx, [ebp + 0x26c]
call fcn.004021c5
push edi
push 1
lea ecx, [ebp + 0x288]
call fcn.004021c5
push edi
push 1
lea ecx, [ebp + 0x2a4]
call fcn.004021c5
mov eax, esi
jmp 0x458fbc
lea ecx, [ebp + 0x288]
push edi
push 1
call fcn.004021c5
push edi
push 1
lea ecx, [ebp + 0x2a4]
call fcn.004021c5
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.004648e8
add ebp, 0x508
leave
ret