Function at 0x40bca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf437
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x4f7458]
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 0x4cb61c
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.00411290
mov dword [ebp - 4], 0
call fcn.00447437
push eax
lea ecx, [ebp - 0x648]
call fcn.00411850
mov byte [ebp - 4], 1
call fcn.00447437
push eax
lea ecx, [ebp - 0x43c]
call fcn.00411850
mov byte [ebp - 4], 2
call fcn.00447437
push eax
lea ecx, [ebp - 0x434]
call fcn.00411850
mov byte [ebp - 4], 3
call fcn.00447437
push eax
lea ecx, [ebp - 0x438]
call fcn.00411850
mov byte [ebp - 4], 4
mov dword [ebp - 0x858], 0
jmp 0x40bd72
mov edx, dword [ebp - 0x858]
add edx, 1
mov dword [ebp - 0x858], edx
mov eax, dword [ebp - 0x858]
cmp eax, dword [ebp - 0x220]
jge 0x40beef
mov ecx, dword [ebp - 0x858]
push ecx
push str.filename_d
lea edx, [ebp - 0x648]
push edx
call fcn.004024b0
add esp, 0xc
mov eax, dword [ebp - 0x858]
push eax
push str.section_d
lea ecx, [ebp - 0x43c]
push ecx
call fcn.004024b0
add esp, 0xc
mov edx, dword [ebp - 0x858]
push edx
push str.keyname_d
lea eax, [ebp - 0x434]
push eax
call fcn.004024b0
add esp, 0xc
mov ecx, dword [ebp - 0x858]
push ecx
push str.value_d
lea edx, [ebp - 0x438]
push edx
call fcn.004024b0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x42c]
push ecx
push 0x4c83b4
mov edx, dword [ebp - 0x648]
push edx
push 0x4cb61c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x644]
push ecx
push 0x4c83b4
mov edx, dword [ebp - 0x43c]
push edx
push 0x4cb61c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x4c83b4
mov edx, dword [ebp - 0x434]
push edx
push 0x4cb61c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x854]
push ecx
push 0x4c83b4
mov edx, dword [ebp - 0x438]
push edx
push 0x4cb61c
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.0040f970
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.00402470
jmp 0x40bd63
mov dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x438]
call fcn.00402470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x434]
call fcn.00402470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x43c]
call fcn.00402470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.00402470
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.0048abfc
mov esp, ebp
pop ebp
ret 0xc