Function at 0x50c3e0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b2838
push eax
mov eax, 0x27d4
mov dword fs:[0], esp
call fcn.00557520
mov ecx, dword [esp + 0x27e4]
push ebp
push esi
xor ebp, ebp
push 0xffffffffffffffff
push ebp
mov dword [esp + 0x10], ebp
call fcn.004a1350
mov eax, dword [esp + 0x27f0]
lea ecx, [esp + 0xc]
push eax
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x27e8], ebp
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c474
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c474
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
push 0x681408
push edx
call fcn.00575d17
mov dword [esp + 8], 1
mov byte [esp + 0x27e4], 1
jmp 0x50c478
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.0057585d
mov al, byte [esp + 8]
mov dword [esp + 0x27e4], 3
test al, 1
je 0x50c4a8
mov eax, dword [esp + 8]
lea ecx, [esp + 0x2c]
and al, 0xfe
mov dword [esp + 8], eax
call fcn.00575ae8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x27f4]
push eax
push 0xffffffffffffffff
push str.nItems
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], esi
mov byte [esp + 0x27e4], 0
call fcn.00575ae8
lea ecx, [esp + 0xc]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.00575ae8
cmp esi, ebp
jge 0x50c50a
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x27d4]
mov dword fs:[0], ecx
add esp, 0x27e0
ret
jle 0x50cab8
push ebx
push edi
mov bl, 7
mov eax, dword [0x614cb0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x27ec], 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
push ebp
lea edx, [esp + 0x1c]
push str.Name_i
push edx
mov byte [esp + 0x27f8], bl
call fcn.0056d732
mov eax, dword [esp + 0x2804]
mov esi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x14]
push eax
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x27f0], 8
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c5ae
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c5ae
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push 0x681408
push edx
call fcn.00575d17
or dword [esp + 0x10], 2
mov byte [esp + 0x27ec], 9
jmp 0x50c5b2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0xb
test al, 2
je 0x50c5e2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
and al, 0xfd
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x27fc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0xd4]
push 0x2710
push ecx
push 0x618f40
push esi
push edx
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x27ec], 8
call fcn.00575ae8
lea ecx, [esp + 0x14]
mov byte [esp + 0x27ec], bl
call fcn.00575ae8
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x24]
push eax
call fcn.00575c71
push ebp
lea ecx, [esp + 0x1c]
push str.Label_i
push ecx
call fcn.0056d732
mov edx, dword [esp + 0x2804]
mov esi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x28]
push edx
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27f0], 0xc
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c6af
push 0x2f
lea ecx, [esp + 0x2c]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c6af
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
push 0x681408
push ecx
call fcn.00575d17
or dword [esp + 0x10], 4
mov byte [esp + 0x27ec], 0xd
jmp 0x50c6b3
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0xf
test al, 4
je 0x50c6e3
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x50]
and al, 0xfb
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x27fc]
push edx
lea eax, [esp + 0xd4]
push 0x2710
push eax
push 0x618f40
push esi
push ecx
call edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x27ec], 0xc
call fcn.00575ae8
lea ecx, [esp + 0x28]
mov byte [esp + 0x27ec], bl
call fcn.00575ae8
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x30]
push edx
call fcn.00575c71
push ebp
lea eax, [esp + 0x1c]
push str.Text_i
push eax
call fcn.0056d732
mov ecx, dword [esp + 0x2804]
mov esi, dword [esp + 0x24]
add esp, 0xc
push ecx
lea ecx, [esp + 0x24]
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x24]
mov byte [esp + 0x27f0], 0x10
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c7aa
push 0x2f
lea ecx, [esp + 0x24]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c7aa
lea edx, [esp + 0x20]
lea eax, [esp + 0x54]
push edx
push 0x681408
push eax
call fcn.00575d17
or dword [esp + 0x10], 8
mov byte [esp + 0x27ec], 0x11
jmp 0x50c7ae
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0x13
test al, 8
je 0x50c7de
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
and al, 0xf7
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x27fc]
push ecx
lea edx, [esp + 0xd4]
push 0x2710
push edx
push 0x618f40
push esi
push eax
call edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x27ec], 0x10
call fcn.00575ae8
lea ecx, [esp + 0x20]
mov byte [esp + 0x27ec], bl
call fcn.00575ae8
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x30]
call fcn.00575c71
lea edx, [esp + 0x2c]
push edx
call fcn.00504de0
add esp, 4
lea eax, [esp + 0x18]
push ebp
push str.BkColor_i
push eax
call fcn.0056d732
mov esi, dword [esp + 0x24]
add esp, 0xc
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x27f8]
mov edi, eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00575b56
push 0x5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x27f0], 0x14
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c8bc
push 0x2f
lea ecx, [esp + 0x20]
call fcn.00575faf
cmp eax, 0xffffffff
jne 0x50c8bc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x44]
push edx
push 0x681408
push eax
call fcn.00575d17
or dword [esp + 0x10], 0x10
mov byte [esp + 0x27ec], 0x15
jmp 0x50c8c0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.0057585d
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0x17
test al, 0x10
je 0x50c8f0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x44]
and al, 0xef
mov dword [esp + 0x10], eax
call fcn.00575ae8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x27fc]
push ecx
push edi
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x27ec], 0x14
call fcn.00575ae8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27ec], bl
call fcn.00575ae8
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x50ca62
mov ecx, dword [0x614cb0]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27ec], 0x18
call fcn.00529100
lea ecx, [esp + 0x78]
mov byte [esp + 0x27ec], 0x19
call fcn.00529100
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x94], eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x58]
push edx
mov byte [esp + 0x27f0], 0x1a
call fcn.00575c21
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.0052a250
add esp, 8
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x27f0], 0x1b
call fcn.00529370
lea ecx, [esp + 0x98]
mov byte [esp + 0x27ec], 0x1a
call fcn.00529210
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push edx
push eax
call fcn.0052a250
add esp, 8
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x27f0], 0x1c
call fcn.00529370
lea ecx, [esp + 0xb4]
mov byte [esp + 0x27ec], 0x1a
call fcn.00529210
mov edi, dword [esp + 0x27f4]
mov dword [esp + 0x94], esi
push 0xffffffffffffffff
mov esi, dword [edi + 8]
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004a1350
mov eax, dword [edi + 4]
mov ecx, esi
lea edx, [esp + 0x58]
shl ecx, 6
push edx
add ecx, eax
call fcn.00495a90
lea ecx, [esp + 0x78]
mov byte [esp + 0x27ec], 0x1e
call fcn.00529210
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27ec], 0x1d
call fcn.00529210
lea ecx, [esp + 0x58]
mov byte [esp + 0x27ec], bl
call fcn.00575ae8
lea ecx, [esp + 0x18]
mov byte [esp + 0x27ec], 6
call fcn.00575ae8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27ec], 5
call fcn.00575ae8
lea ecx, [esp + 0x30]
mov byte [esp + 0x27ec], 4
call fcn.00575ae8
lea ecx, [esp + 0x24]
mov dword [esp + 0x27ec], 0xffffffff
call fcn.00575ae8
mov eax, dword [esp + 0x48]
inc ebp
cmp ebp, eax
jl 0x50c514
pop edi
pop ebx
mov ecx, dword [esp + 0x27dc]
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x27e0
ret