Function at 0x46bfe9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x4d478c
call fcn.004cc800
sub esp, 0xdc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ebx
call fcn.0040c71e
call fcn.0046b8a4
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
call fcn.0046b8a4
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
call fcn.0046b8a4
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x38], eax
call fcn.0046b8a4
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x30], eax
call fcn.0046b8a4
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x34], eax
call fcn.0046ae55
mov esi, eax
call fcn.0046aeb0
call fcn.0046ae55
mov esi, eax
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c074
push dword [esi + 0x10]
push 1
push str.tryno
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x46c089
push 0x19c8
push str.tryno
push str.config
push esi
call fcn.00408cc8
xor edi, edi
push edi
push dword [ebp - 0x10]
mov esi, eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040cf73
add esp, 0xc
push edi
push dword [ebp - 0x3c]
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 4], edi
call fcn.0040cf73
add esp, 0xc
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.0040cf73
add esp, 0xc
push edi
push dword [ebp - 0x30]
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 2
call fcn.0040cf73
add esp, 0xc
push edi
push dword [ebp - 0x34]
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 3
call fcn.0040cf73
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.00430a9a
push eax
call fcn.00430b4e
push edi
lea eax, [ebp - 0x58]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.0040cf73
add esp, 0xc
lea eax, [ebp - 0xe4]
push eax
mov eax, ebx
mov byte [ebp - 4], 6
call fcn.0040c6be
lea eax, [ebp - 0xac]
push eax
mov eax, ebx
call fcn.0040c6be
lea eax, [ebp - 0x74]
push eax
mov eax, ebx
call fcn.0040c6be
lea eax, [ebp - 0xc8]
push eax
mov eax, ebx
call fcn.0040c6be
lea eax, [ebp - 0x90]
push eax
mov eax, ebx
call fcn.0040c6be
push dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
call fcn.0040c3e5
lea eax, [ebp - 0x2c]
push eax
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.0040c6be
push edi
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.0040afa3
lea eax, [ebp - 0x58]
push eax
mov eax, ebx
call fcn.0040c6be
mov ebx, 0x4e6db0
push ebx
lea eax, [ebp - 0x2c]
call fcn.0040c3e5
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 8
call fcn.0040c6be
push edi
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.0040afa3
push ebx
lea eax, [ebp - 0x2c]
call fcn.0040c3e5
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 9
call fcn.0040c6be
push edi
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.0040afa3
push ebx
lea eax, [ebp - 0x2c]
call fcn.0040c3e5
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.0040c6be
push edi
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.0040afa3
push ebx
lea eax, [ebp - 0x2c]
call fcn.0040c3e5
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.0040c6be
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [ebp - 0x2c]
call fcn.0040afa3
push edi
push ebx
lea esi, [ebp - 0x58]
call fcn.0040afa3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
push edi
push ebx
lea esi, [ebp - 0x90]
call fcn.0040afa3
push edi
push ebx
lea esi, [ebp - 0xc8]
call fcn.0040afa3
push edi
push ebx
lea esi, [ebp - 0x74]
call fcn.0040afa3
push edi
push ebx
lea esi, [ebp - 0xac]
call fcn.0040afa3
push edi
push ebx
lea esi, [ebp - 0xe4]
call fcn.0040afa3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4