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

Disassembly:
push 0x78
mov eax, 0x522c6c
call fcn.004f215e
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x582e91
push 0x200000
mov dword [ebp - 0x1c], eax
call fcn.004eb416
mov edi, eax
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
cmp edi, eax
je 0x43c706
mov ebx, 0x100000
push ebx
push eax
push edi
call fcn.004e7380
add esp, 0xc
push dword [esi]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp eax, 0xffffe
je 0x43c568
push 0
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0043c2c7
add esp, 0xc
and dword [ebp - 4], 0
push dword [ebp - 0x60]
lea edi, [ebp - 0x6c]
lea esi, [ebp - 0x2c]
call fcn.0045e744
push dword [ebp - 0x5c]
lea edi, [ebp - 0x6c]
lea esi, [ebp - 0x24]
call fcn.0045e744
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43c527
cmp eax, dword [ebp - 0x24]
je 0x43c52c
call fcn.004e8466
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
je 0x43c550
lea esi, [ebp - 0x2c]
call fcn.004555bb
push eax
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.0043c79d
call fcn.00417943
jmp 0x43c50d
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x6c]
call fcn.00424cec
push dword [ebp - 0x6c]
call fcn.004e7360
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.0049da45
test al, al
jne 0x43c6f7
push ebx
push 0
push dword [ebp - 0x14]
call fcn.004e7380
mov eax, dword [ebp + 8]
mov edi, dword [eax]
add esp, 0xc
call fcn.0046059e
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 0x43c6e7
mov ecx, dword [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0043c2c7
add esp, 0xc
mov dword [ebp - 4], 1
push dword [ebp - 0x78]
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x24]
call fcn.0045e744
push dword [ebp - 0x74]
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x3c]
call fcn.0045e744
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43c610
cmp eax, dword [ebp - 0x3c]
je 0x43c615
call fcn.004e8466
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
je 0x43c6cc
lea esi, [ebp - 0x24]
call fcn.004555bb
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
call fcn.004555bb
mov eax, dword [eax]
push 0x3d
lea ecx, [ebp - 0x54]
push edi
push ecx
mov ecx, eax
call fcn.0043c2c7
add esp, 8
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esp
call fcn.00404939
lea ecx, [ebp - 0x54]
call fcn.0043c962
mov eax, dword [ebp - 0x44]
mov ecx, eax
sub ecx, dword [ebp - 0x48]
sar ecx, 2
cmp ecx, 1
ja 0x43c674
call fcn.004e8466
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 0x43c68b
call fcn.004e8466
mov edi, dword [ebp - 0x48]
lea esi, [ebp - 0x2c]
call fcn.0046059e
push edi
add eax, 4
push eax
call fcn.0041775c
mov edi, eax
mov eax, dword [ebp - 0x18]
call fcn.004044e5
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00424cec
push dword [ebp - 0x54]
call fcn.004e7360
pop ecx
lea esi, [ebp - 0x24]
call fcn.00417943
jmp 0x43c5f3
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x84]
call fcn.00424cec
push dword [ebp - 0x84]
call fcn.004e7360
pop ecx
lea esi, [ebp - 0x2c]
call fcn.00439dce
mov esi, dword [ebp + 8]
jmp 0x43c576
push dword [ebp - 0x14]
call fcn.004e85e3
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
pop ecx
mov dword [esi + 4], eax
call fcn.004f2236
ret 4