Function at 0x50bbd0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b26b6
push eax
mov eax, 0x9ca4
mov dword fs:[0], esp
call fcn.00557520
mov eax, dword [esp + 0x9cb4]
mov edx, dword [0x614cb0]
push ebx
xor ecx, ecx
mov eax, dword [eax + 8]
push esi
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], edx
push eax
lea eax, [esp + 0x18]
push 0x600838
push eax
mov dword [esp + 0x9cc4], ecx
call fcn.0056d732
mov ecx, dword [esp + 0x9cd0]
mov edi, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x14]
call fcn.00575b56
mov ebx, 1
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x9cbc], bl
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50bc8d
push 0x2f
lea ecx, [esp + 0x14]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50bc8d
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push 0x681408
push eax
call fcn.00575d17
mov dword [esp + 0xc], ebx
mov byte [esp + 0x9cb8], 2
jmp 0x50bc91
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.0057585d
mov al, byte [esp + 0xc]
mov dword [esp + 0x9cb8], 4
test bl, al
je 0x50bcc1
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
and al, 0xfe
mov dword [esp + 0xc], eax
call fcn.00575ae8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x9cc8]
push ecx
lea edx, [esp + 0x64]
push 0x2710
push edx
push str.default_default
push str.nItems
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [esp + 0x60]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x50bd12
test cl, cl
je 0x50bd0e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x50bd12
add eax, 2
add esi, 2
test cl, cl
jne 0x50bcee
xor eax, eax
jmp 0x50bd17
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
je 0x50bd36
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x9cc8]
push eax
push edi
push str.nItems
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x9cb8], bl
call fcn.00575ae8
lea ecx, [esp + 0x10]
mov byte [esp + 0x9cb8], 0
call fcn.00575ae8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], esi
cmp eax, esi
jle 0x50c3a8
push ebp
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push str.Name_i
push eax
call fcn.0056d732
mov ecx, dword [esp + 0x9cd0]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x9cc8]
push ecx
lea ecx, [esp + 0x18]
mov edi, dword [eax + edx]
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x9cc0], 5
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50bdf4
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50bdf4
lea edx, [esp + 0x14]
lea eax, [esp + 0x60]
push edx
push 0x681408
push eax
call fcn.00575d17
or dword [esp + 0x10], 2
mov byte [esp + 0x9cbc], 6
jmp 0x50bdf8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x9cbc], 8
test al, 2
je 0x50be28
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x60]
and al, 0xfd
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x9ccc]
push ecx
lea edx, [esp + 0x68]
push 0x2710
push edx
push str.default_default
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [esp + 0x64]
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x50be79
test cl, cl
je 0x50be75
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x50be79
add eax, 2
add esi, 2
test cl, cl
jne 0x50be51
xor eax, eax
jmp 0x50be7e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50bead
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9cbc], 5
call fcn.00575ae8
lea ecx, [esp + 0x14]
mov byte [esp + 0x9cbc], 0
call fcn.00575ae8
mov ebx, dword [esp + 0x9ccc]
jmp 0x50bee4
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x9ccc]
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9cbc], 5
call fcn.00575ae8
lea ecx, [esp + 0x14]
mov byte [esp + 0x9cbc], 0
call fcn.00575ae8
mov ecx, dword [0x614cb0]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push str.Label_i
push eax
mov byte [esp + 0x9cc8], 9
call fcn.0056d732
mov ecx, dword [esp + 0x9cd0]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [ecx + 4]
lea ecx, [eax + edx + 4]
call fcn.0052a040
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0052a1a0
add esp, 8
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x9cc0], 0xa
call fcn.00575c21
lea ecx, [esp + 0x54]
mov byte [esp + 0x9cbc], 9
call fcn.00575ae8
mov edx, dword [esp + 0x9cc8]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x30]
mov byte [esp + 0x9cc0], 0xb
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50bfb9
push 0x2f
lea ecx, [esp + 0x30]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50bfb9
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
push 0x681408
push ecx
call fcn.00575d17
or dword [esp + 0x10], 4
mov byte [esp + 0x9cbc], 0xc
jmp 0x50bfbd
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x9cbc], 0xe
test al, 4
je 0x50bfed
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
and al, 0xfb
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x4e8c]
push edx
push 0x2710
push eax
push str.default_default
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [esp + 0x4e8c]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x50c039
test cl, cl
je 0x50c035
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x50c039
add eax, 2
add esi, 2
test cl, cl
jne 0x50c015
xor eax, eax
jmp 0x50c03e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x50c050
mov eax, dword [esp + 0x40]
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x40]
mov byte [esp + 0x9cbc], 0xb
call fcn.00575ae8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9cbc], 9
call fcn.00575ae8
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push str.Text_i
push edx
call fcn.0056d732
mov eax, dword [esp + 0x9cd0]
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [eax + 4]
lea ecx, [edx + ecx + 0x20]
call fcn.0052a040
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0052a1a0
add esp, 8
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x9cc0], 0xf
call fcn.00575c21
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9cbc], 9
call fcn.00575ae8
lea ecx, [esp + 0x30]
push ecx
call fcn.00504c80
mov edx, dword [esp + 0x9ccc]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x20]
push edx
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x24]
mov byte [esp + 0x9cc0], 0x10
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c142
push 0x2f
lea ecx, [esp + 0x24]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c142
lea eax, [esp + 0x20]
lea ecx, [esp + 0x58]
push eax
push 0x681408
push ecx
call fcn.00575d17
or dword [esp + 0x10], 8
mov byte [esp + 0x9cbc], 0x11
jmp 0x50c146
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x9cbc], 0x13
test al, 8
je 0x50c176
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
and al, 0xf7
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x2778]
push edx
push 0x2710
push eax
push str.default_default
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [esp + 0x2778]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x50c1c2
test cl, cl
je 0x50c1be
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x50c1c2
add eax, 2
add esi, 2
test cl, cl
jne 0x50c19e
xor eax, eax
jmp 0x50c1c7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x50c1d9
mov eax, dword [esp + 0x44]
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x44]
mov byte [esp + 0x9cbc], 0x10
call fcn.00575ae8
lea ecx, [esp + 0x20]
mov byte [esp + 0x9cbc], 9
call fcn.00575ae8
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push str.BkColor_i
push edx
call fcn.0056d732
mov eax, dword [0x614cb0]
add esp, 0xc
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x9cc4]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x9cbc], 0x14
mov edx, dword [ecx + 4]
mov ecx, dword [eax + edx + 0x3c]
lea edx, [esp + 0x34]
push ecx
push 0x600838
push edx
call fcn.0056d732
mov eax, dword [esp + 0x9cd4]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9cc0], 0x15
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c2ac
push 0x2f
lea ecx, [esp + 0x2c]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c2ac
lea ecx, [esp + 0x28]
lea edx, [esp + 0x50]
push ecx
push 0x681408
push edx
call fcn.00575d17
or dword [esp + 0x10], 0x10
mov byte [esp + 0x9cbc], 0x16
jmp 0x50c2b0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x9cbc], 0x18
test al, 0x10
je 0x50c2e0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x50]
and al, 0xef
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x75a0]
push eax
push 0x2710
push ecx
push str.default_default
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [esp + 0x75a0]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x50c32c
test cl, cl
je 0x50c328
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x50c32c
add eax, 2
add esi, 2
test cl, cl
jne 0x50c308
xor eax, eax
jmp 0x50c331
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x50c343
mov eax, dword [esp + 0x38]
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x38]
mov byte [esp + 0x9cbc], 0x15
call fcn.00575ae8
lea ecx, [esp + 0x28]
mov byte [esp + 0x9cbc], 0x14
call fcn.00575ae8
lea ecx, [esp + 0x34]
mov byte [esp + 0x9cbc], 9
call fcn.00575ae8
lea ecx, [esp + 0x30]
mov byte [esp + 0x9cbc], 0
call fcn.00575ae8
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
inc eax
add edx, 0x40
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
jl 0x50bd6c
pop ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x9cb8], 0xffffffff
call fcn.00575ae8
mov ecx, dword [esp + 0x9cb0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9cb0
ret