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

Disassembly:
push 0x78
mov eax, 0x52e0a7
call fcn.004fc6ce
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x590f51
push 0x200000
mov dword [ebp - 0x1c], eax
call fcn.004f5946
mov edi, eax
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
cmp edi, eax
je 0x441923
mov ebx, 0x100000
push ebx
push eax
push edi
call fcn.004f18b0
add esp, 0xc
push dword [esi]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp eax, 0xffffe
je 0x441785
push 0
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.004414e4
add esp, 0xc
and dword [ebp - 4], 0
push dword [ebp - 0x60]
lea edi, [ebp - 0x6c]
lea esi, [ebp - 0x2c]
call fcn.00480d46
push dword [ebp - 0x5c]
lea edi, [ebp - 0x6c]
lea esi, [ebp - 0x24]
call fcn.00480d46
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x441744
cmp eax, dword [ebp - 0x24]
je 0x441749
call fcn.004f2996
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
je 0x44176d
lea esi, [ebp - 0x2c]
call fcn.00467597
push eax
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.004419ba
call fcn.0041b5a9
jmp 0x44172a
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x6c]
call fcn.0042a18f
push dword [ebp - 0x6c]
call fcn.004f1890
mov esi, dword [ebp + 8]
pop ecx
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 8]
lea edi, [ebp - 0x34]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.004a65a0
test al, al
jne 0x441914
push ebx
push 0
push dword [ebp - 0x14]
call fcn.004f18b0
mov eax, dword [ebp + 8]
mov edi, dword [eax]
add esp, 0xc
call fcn.0046bedd
mov eax, dword [eax]
push edi
push ebx
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, 0xffffe
je 0x441904
mov ecx, dword [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004414e4
add esp, 0xc
mov dword [ebp - 4], 1
push dword [ebp - 0x78]
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x24]
call fcn.00480d46
push dword [ebp - 0x74]
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x3c]
call fcn.00480d46
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x44182d
cmp eax, dword [ebp - 0x3c]
je 0x441832
call fcn.004f2996
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
je 0x4418e9
lea esi, [ebp - 0x24]
call fcn.00467597
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
call fcn.00467597
mov eax, dword [eax]
push 0x3d
lea ecx, [ebp - 0x54]
push edi
push ecx
mov ecx, eax
call fcn.004414e4
add esp, 8
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esp
call fcn.004048e0
lea ecx, [ebp - 0x54]
call fcn.00441b7f
mov eax, dword [ebp - 0x44]
mov ecx, eax
sub ecx, dword [ebp - 0x48]
sar ecx, 2
cmp ecx, 1
ja 0x441891
call fcn.004f2996
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
lea edx, [ecx + 4]
mov dword [ebp - 0x18], edx
test eax, eax
ja 0x4418a8
call fcn.004f2996
mov edi, dword [ebp - 0x48]
lea esi, [ebp - 0x2c]
call fcn.0046bedd
push edi
add eax, 4
push eax
call fcn.0041b38e
mov edi, eax
mov eax, dword [ebp - 0x18]
call fcn.00404477
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0042a18f
push dword [ebp - 0x54]
call fcn.004f1890
pop ecx
lea esi, [ebp - 0x24]
call fcn.0041b5a9
jmp 0x441810
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x84]
call fcn.0042a18f
push dword [ebp - 0x84]
call fcn.004f1890
pop ecx
lea esi, [ebp - 0x2c]
call fcn.0046cac0
mov esi, dword [ebp + 8]
jmp 0x441793
push dword [ebp - 0x14]
call fcn.004f2b13
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
pop ecx
mov dword [esi + 4], eax
call fcn.004fc7a6
ret 4