Function at 0x4018b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41f1f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x429978]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push str.CIniFile::GetDecoratedSection
lea ecx, [esp + 0x1c]
call fcn.00401120
mov ebp, dword [esp + 0x40]
push ebp
mov dword [esp + 0x2c], 0
call fcn.00403b7b
push ebp
mov ebx, eax
call fcn.00403b7b
mov edi, eax
mov eax, 1
add esp, 8
test byte [0x42ad78], al
mov dword [esp + 0x14], edi
jne 0x401932
or dword [0x42ad78], eax
mov ecx, esi
mov byte [esp + 0x28], al
call fcn.004014d0
mov dword [0x42ad74], eax
mov byte [esp + 0x28], 0
test ebx, ebx
je 0x401ccf
test edi, edi
je 0x401ccf
cmp dword [0x42ad68], 0
mov edi, dword [esp + 0x44]
jne 0x4019b0
mov esi, 0x20
push esi
call fcn.00403b7b
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
add esp, 4
push edi
push esi
push eax
mov dword [0x42ad68], eax
call ebp
cmp eax, 0x1e
mov dword [0x42ad6c], eax
jne 0x4019ac
jmp 0x401980
mov eax, dword [0x42ad68]
push eax
call fcn.00403b76
add esi, esi
push esi
call fcn.00403b7b
add esp, 8
push edi
push esi
push eax
mov dword [0x42ad68], eax
call ebp
lea ecx, [esi - 2]
cmp eax, ecx
mov dword [0x42ad6c], eax
je 0x401980
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edi
push ebp
push ebx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [esp + 0x3c]
push ebp
push esi
push edi
call fcn.0040db35
mov esi, dword [0x42ad68]
push 0x421780
push esi
call fcn.0040dd3b
add esp, 0x14
test eax, eax
je 0x401a31
lea esp, [esp]
push ebx
push esi
call fcn.0040df68
add esp, 8
test eax, eax
je 0x401a26
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401a03
sub eax, edx
lea esi, [esi + eax + 1]
push 0x421780
push esi
call fcn.0040dd3b
add esp, 8
test eax, eax
jne 0x4019f0
jmp 0x401a31
push ebp
push ebx
push edi
call fcn.0040db35
add esp, 0xc
mov eax, dword [0x42ad74]
add eax, 0xffffffff
cmp eax, 5
ja case.default.0x401a42
jmp dword [eax*4 + 0x401ce4]
mov edi, ebx
add edi, 0xffffffff
mov edi, edi
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401a50
mov ecx, dword [0x42177c]
mov dword [edi], ecx
jmp 0x401a8b
mov eax, ebx
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401a70
mov edx, dword [str..x64]
mov dword [eax], edx
mov cl, byte [0x421778]
mov byte [eax + 4], cl
mov esi, dword [0x42ad68]
push 0x421780
push esi
call fcn.0040dd3b
add esp, 8
test eax, eax
je 0x401ae8
push ebx
push esi
call fcn.0040df68
add esp, 8
test eax, eax
je 0x401ad9
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401ab6
sub eax, edx
lea esi, [esi + eax + 1]
push 0x421780
push esi
call fcn.0040dd3b
add esp, 8
test eax, eax
jne 0x401aa3
jmp 0x401ae8
mov edx, dword [esp + 0x3c]
push ebp
push ebx
push edx
call fcn.0040db35
add esp, 0xc
push 0x42177c
push ebx
call fcn.0040c91b
add esp, 8
test eax, eax
je 0x401afd
mov byte [eax], 0
push str..x64
push ebx
call fcn.0040c91b
add esp, 8
test eax, eax
je 0x401b12
mov byte [eax], 0
mov eax, dword [0x42ad74]
add eax, 0xffffffff
cmp eax, 5
ja case.default.0x401b23
jmp dword [eax*4 + 0x401cfc]
mov edi, ebx
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401b30
mov eax, dword [0x421770]
mov dword [edi], eax
jmp case.default.0x401b23
mov edi, ebx
add edi, 0xffffffff
jmp 0x401b50
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401b50
mov ecx, dword [0x42176c]
mov dword [edi], ecx
jmp case.default.0x401b23
mov eax, ebx
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401b70
mov edx, dword [str..2K3]
mov dword [eax], edx
mov cl, byte [0x421768]
mov byte [eax + 4], cl
jmp case.default.0x401b23
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401b92
mov edx, dword [str..VISTA]
mov dword [eax], edx
mov cx, word [0x421760]
mov word [eax + 4], cx
mov dl, byte [0x421762]
mov byte [eax + 6], dl
jmp case.default.0x401b23
mov eax, ebx
add eax, 0xffffffff
nop
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401bc0
mov ecx, dword [str..XP64]
mov dword [eax], ecx
mov dx, word [0x421758]
mov word [eax + 4], dx
jmp case.default.0x401b23
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401be4
mov ecx, dword [str..VISTA64]
mov dword [eax], ecx
mov edx, dword [0x42174c]
mov dword [eax + 4], edx
mov cl, byte [0x421750]
mov byte [eax + 8], cl
mov esi, dword [0x42ad68]
push 0x421780
push esi
call fcn.0040dd3b
add esp, 8
test eax, eax
je 0x401c65
push ebx
push esi
call fcn.0040df68
add esp, 8
test eax, eax
je 0x401c56
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401c33
sub eax, edx
lea esi, [esi + eax + 1]
push 0x421780
push esi
call fcn.0040dd3b
add esp, 8
test eax, eax
jne 0x401c20
jmp 0x401c65
mov edx, dword [esp + 0x3c]
push ebp
push ebx
push edx
call fcn.0040db35
add esp, 0xc
mov eax, dword [esp + 0x38]
push eax
push ebx
call fcn.0040dd3b
add esp, 8
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push str.Decorated_Section:__s
push ecx
call fcn.004013f0
add esp, 0xc
test ebx, ebx
je 0x401c9b
push ebx
call fcn.00403b76
add esp, 4
test edi, edi
je 0x401ca8
push edi
call fcn.00403b76
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.004012c0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push ebp
push ecx
push edx
call fcn.0040db35
add esp, 0xc
jmp 0x401c77