Function at 0x402ae0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x422fe8
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::StringFromKey
lea ecx, [esp + 0x2c]
call fcn.00401120
xor esi, esi
push 0x104
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], esi
call fcn.00407619
mov ebx, eax
push 0x104
mov dword [esp + 0x1c], ebx
call fcn.00407619
push 0x20
mov ebp, eax
call fcn.00407619
add esp, 0xc
cmp ebx, esi
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
je 0x402d21
cmp edi, esi
je 0x402d30
cmp ebp, esi
je 0x402d21
push 0x104
push esi
push ebp
call fcn.00410d80
mov eax, dword [str.VarFromKey]
mov esi, dword [esp + 0x4c]
mov dword [ebx], eax
mov ecx, dword [0x425c70]
mov dword [ebx + 4], ecx
mov dx, word [0x425c74]
push esi
push ebx
mov word [ebx + 8], dx
mov al, byte [0x425c76]
lea ecx, [esp + 0x3c]
push str.VarFromKeySection:___s___s
push ecx
mov byte [ebx + 0xa], al
call fcn.00401410
mov edx, dword [esp + 0x64]
add esp, 0x1c
push edx
push 0x104
push ebp
push str.NOT_FOUND
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.NOT_FOUND
push ebp
call fcn.004117db
add esp, 8
test eax, eax
je 0x402d21
push 0x425c4c
push ebp
mov dword [esp + 0x28], 1
call fcn.004103ba
mov edi, eax
add esp, 8
test edi, edi
je 0x402cdd
push 0x40
call fcn.00407619
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x18], esi
je 0x402d1d
push edi
call fcn.00411ac5
push 0x425c4c
push eax
call fcn.004103ba
add esp, 0xc
test eax, eax
je 0x402cf3
push eax
mov byte [eax], 0
call fcn.00411ac5
push edi
mov ebx, eax
call fcn.00411ac5
push 0x40
push eax
push esi
call fcn.004115d5
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
push eax
push esi
call fcn.004024c0
mov esi, eax
test esi, esi
je 0x402d08
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402c70
sub eax, edx
mov edx, eax
mov eax, esi
lea ecx, [eax + 1]
mov dword [esp + 0x40], ecx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402c86
sub eax, dword [esp + 0x40]
add edx, 1
push edx
add eax, ebp
push ebx
push eax
call fcn.00411b10
mov eax, esi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402ca8
sub eax, ecx
push eax
push esi
push edi
call fcn.00411b10
push esi
call fcn.00407614
push 0x425c4c
push ebp
call fcn.004103ba
mov ebx, dword [esp + 0x2c]
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x402c00
mov edx, dword [esp + 0x44]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402ce5
jmp 0x402d0c
push ebp
lea edx, [esp + 0x2c]
push str.Invalid_string_:__s
push edx
call fcn.00401410
add esp, 0xc
jmp 0x402d0c
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402d1d
push eax
call fcn.00407614
add esp, 4
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp edi, esi
je 0x402d30
push edi
call fcn.00407614
add esp, 4
cmp ebp, esi
je 0x402d3d
push ebp
call fcn.00407614
add esp, 4
cmp ebx, esi
je 0x402d4a
push ebx
call fcn.00407614
add esp, 4
mov esi, dword [esp + 0x20]
cmp esi, 1
jne 0x402d65
lea eax, [esp + 0x28]
push str.Read_variable_from_key
push eax
call fcn.00401410
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
call fcn.004012d0
mov eax, esi
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