Function at 0x40c110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7717
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88c], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
push str.count
push 0x4d4f78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x430]
call fcn.00412290
mov dword [ebp - 4], 0
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x648]
call fcn.00412940
mov byte [ebp - 4], 1
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x43c]
call fcn.00412940
mov byte [ebp - 4], 2
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x434]
call fcn.00412940
mov byte [ebp - 4], 3
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x438]
call fcn.00412940
mov byte [ebp - 4], 4
mov dword [ebp - 0x858], 0
jmp 0x40c1e2
mov edx, dword [ebp - 0x858]
add edx, 1
mov dword [ebp - 0x858], edx
mov eax, dword [ebp - 0x858]
cmp eax, dword [ebp - 0x220]
jge 0x40c35f
mov ecx, dword [ebp - 0x858]
push ecx
push str.filename_d
lea edx, [ebp - 0x648]
push edx
call fcn.00413630
add esp, 0xc
mov eax, dword [ebp - 0x858]
push eax
push str.section_d
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00413630
add esp, 0xc
mov edx, dword [ebp - 0x858]
push edx
push str.keyname_d
lea eax, [ebp - 0x434]
push eax
call fcn.00413630
add esp, 0xc
mov ecx, dword [ebp - 0x858]
push ecx
push str.value_d
lea edx, [ebp - 0x438]
push edx
call fcn.00413630
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x42c]
push ecx
push 0x4d1180
mov edx, dword [ebp - 0x648]
push edx
push 0x4d4f78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x644]
push ecx
push 0x4d1180
mov edx, dword [ebp - 0x43c]
push edx
push 0x4d4f78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x4d1180
mov edx, dword [ebp - 0x434]
push edx
push 0x4d4f78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x854]
push ecx
push 0x4d1180
mov edx, dword [ebp - 0x438]
push edx
push 0x4d4f78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x85c]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x86c], eax
mov eax, dword [ebp - 0x86c]
mov ecx, dword [eax]
mov dword [ebp - 0x870], ecx
mov edx, dword [ebp - 0x870]
push edx
lea eax, [ebp - 0x854]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x644]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x85c]
call fcn.004129d0
jmp 0x40c1d3
mov dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x438]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x434]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x43c]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.004129d0
mov eax, dword [ebp - 0x860]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret 0xc