Function at 0x402f30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x423048
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42ea58]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
push str.CIniFile::GetParameter
lea ecx, [esp + 0x2c]
call fcn.00401120
push 0x104
mov dword [esp + 0x3c], 0
xor ebp, ebp
xor edi, edi
call fcn.00407619
push 0x104
mov ebx, eax
call fcn.00407619
add esp, 8
test ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
je 0x4031d7
test eax, eax
je 0x4031e4
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
push 0x104
push ebx
push str.NOT_FOUND
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea eax, [esp + 0x2c]
push str.entry:__s
push eax
call fcn.00401410
push 0x425c4c
push ebx
call fcn.004103ba
mov esi, eax
add esp, 0x14
test esi, esi
je 0x403162
mov edi, edi
test edi, edi
je 0x402ffd
push edi
call fcn.00407614
add esp, 4
test ebp, ebp
je 0x403016
push ebp
call fcn.00407614
mov dword [esp + 0x18], 0
mov ebp, dword [esp + 0x18]
add esp, 4
push 0x104
call fcn.00407619
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
mov edi, eax
je 0x4031b3
push 0x104
push 0
push edi
call fcn.00410d80
push esi
call fcn.00411ac5
push 0x425c4c
push eax
call fcn.004103ba
add esp, 0x18
test eax, eax
je 0x403196
push eax
mov byte [eax], 0
call fcn.00411ac5
push esi
mov ebp, eax
call fcn.00411ac5
push 0x104
push eax
push edi
call fcn.004115d5
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov byte [esi], 0
mov eax, ebx
sub ecx, ebx
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
test dl, dl
jne 0x403085
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push edx
push edi
call fcn.004024c0
test eax, eax
mov dword [esp + 0x14], eax
je 0x4031ab
mov edx, eax
mov esi, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4030b0
mov edi, dword [esp + 0x1c]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4030c2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, eax
lea eax, [esp + 0x2c]
and ecx, 3
push str.var:__s
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401410
mov eax, ebp
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4030f1
mov edi, dword [esp + 0x1c]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403103
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push str.tempPtr:__s
push ecx
call fcn.00401410
mov eax, dword [esp + 0x28]
mov edx, ebx
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x403136
push 0x425c4c
push ebx
call fcn.004103ba
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov esi, eax
add esp, 8
test esi, esi
jne 0x402ff0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403167
sub eax, edx
add eax, 1
push eax
call fcn.00407619
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x403188
jmp 0x4031b3
push ebx
lea edx, [esp + 0x2c]
push str.Invalid_string_:__s
push edx
call fcn.00401410
add esp, 0xc
jmp 0x4031af
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
push 0x104
push ebx
push str.NOT_FOUND
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4031e4
push eax
call fcn.00407614
add esp, 4
test ebx, ebx
je 0x4031f1
push ebx
call fcn.00407614
add esp, 4
test edi, edi
je 0x4031fe
push edi
call fcn.00407614
add esp, 4
test ebp, ebp
je 0x40320b
push ebp
call fcn.00407614
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
call fcn.004012d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc