Function at 0x401af0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x418268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x38], 0
mov eax, dword [0x41e2d0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov edi, 1
lea eax, [esp + 0x10]
push edi
mov bl, 6
push str.FileName_d
push eax
mov byte [esp + 0x44], bl
call fcn.0041035c
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x41f7cc
call fcn.004118a6
mov eax, dword [esi + 0xc0]
lea ecx, [esp + 0x14]
push eax
push 0x104
push 0x104
call fcn.00411ae8
push eax
push 0x41f7cc
push 0
lea ecx, [esp + 0x24]
call fcn.00411a71
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push str.IniFile
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00411ac0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x401ddb
push edi
lea edx, [esp + 0x14]
push str.Section_d
push edx
call fcn.0041035c
add esp, 0xc
lea ecx, [esp + 0x20]
push 0x41f7cc
call fcn.004118a6
mov eax, dword [esi + 0xc0]
lea ecx, [esp + 0x20]
push eax
push 0x104
push 0x104
call fcn.00411ae8
push eax
push 0x41f7cc
push 0
lea ecx, [esp + 0x24]
call fcn.00411a71
push eax
push str.IniFile
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00411ac0
push edi
lea eax, [esp + 0x14]
push str.Entry_d
push eax
call fcn.0041035c
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0x41f7cc
call fcn.004118a6
mov eax, dword [esi + 0xc0]
lea ecx, [esp + 0x1c]
push eax
push 0x104
push 0x104
call fcn.00411ae8
push eax
push 0x41f7cc
push 0
lea ecx, [esp + 0x24]
call fcn.00411a71
push eax
push str.IniFile
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00411ac0
push edi
lea ecx, [esp + 0x14]
push str.NewValue_d
push ecx
call fcn.0041035c
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x41f7cc
call fcn.004118a6
mov eax, dword [esi + 0xc0]
lea ecx, [esp + 0x18]
push eax
push 0x104
push 0x104
call fcn.00411ae8
push eax
push 0x41f7cc
push 0
lea ecx, [esp + 0x24]
call fcn.00411a71
push eax
push str.IniFile
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00411ac0
mov edx, dword [esp + 0x18]
push str._CD_
push edx
call fcn.004038c9
add esp, 8
test eax, eax
jne 0x401cef
lea eax, [esp + 0x44]
lea ecx, [esp + 0x18]
push eax
call fcn.00411856
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004114de
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x48], 7
call fcn.004114de
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
push ecx
mov ecx, esi
call fcn.00402540
mov ecx, eax
mov byte [esp + 0x3c], 8
call fcn.00411a71
push eax
push 0
lea ecx, [esp + 0x20]
call fcn.00411a71
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00411a71
push eax
push 0
lea ecx, [esp + 0x30]
call fcn.00411a71
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.00411769
inc edi
lea edx, [esp + 0x10]
push edi
push str.FileName_d
push edx
call fcn.0041035c
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x41f7cc
call fcn.004118a6
mov eax, dword [esi + 0xc0]
lea ecx, [esp + 0x14]
push eax
push 0x104
push 0x104
call fcn.00411ae8
push eax
push 0x41f7cc
push 0
lea ecx, [esp + 0x24]
call fcn.00411a71
push eax
push str.IniFile
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00411ac0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x401bae
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 5
call fcn.00411769
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.00411769
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.00411769
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.00411769
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.00411769
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call fcn.00411769
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call fcn.00411769
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8