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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cc138
push eax
mov eax, 0x27d4
mov dword fs:[0], esp
call fcn.00573c80
mov ecx, dword [esp + 0x27e4]
push ebp
push esi
xor ebp, ebp
push 0xffffffffffffffff
push ebp
mov dword [esp + 0x10], ebp
call fcn.00486470
mov eax, dword [esp + 0x27f0]
lea ecx, [esp + 0xc]
push eax
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x27e8], ebp
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4ab4
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4ab4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
push 0x664810
push edx
call fcn.0059390a
mov dword [esp + 8], 1
mov byte [esp + 0x27e4], 1
jmp 0x4f4ab8
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00593450
mov al, byte [esp + 8]
mov dword [esp + 0x27e4], 3
test al, 1
je 0x4f4ae8
mov eax, dword [esp + 8]
lea ecx, [esp + 0x2c]
and al, 0xfe
mov dword [esp + 8], eax
call fcn.005936db
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.005936db
lea ecx, [esp + 0xc]
mov dword [esp + 0x27e4], 0xffffffff
call fcn.005936db
cmp esi, ebp
jge 0x4f4b4a
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x27d4]
mov dword fs:[0], ecx
add esp, 0x27e0
ret
jle 0x4f50f8
push ebx
push edi
mov bl, 7
mov eax, dword [0x639698]
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.0058aded
mov eax, dword [esp + 0x2804]
mov esi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x14]
push eax
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x27f0], 8
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4bee
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4bee
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push 0x664810
push edx
call fcn.0059390a
or dword [esp + 0x10], 2
mov byte [esp + 0x27ec], 9
jmp 0x4f4bf2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0xb
test al, 2
je 0x4f4c22
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
and al, 0xfd
mov dword [esp + 0x10], eax
call fcn.005936db
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 0x63f7e8
push esi
push edx
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x27ec], 8
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x27ec], bl
call fcn.005936db
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x24]
push eax
call fcn.00593864
push ebp
lea ecx, [esp + 0x1c]
push str.Label_i
push ecx
call fcn.0058aded
mov edx, dword [esp + 0x2804]
mov esi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x28]
push edx
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27f0], 0xc
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4cef
push 0x2f
lea ecx, [esp + 0x2c]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4cef
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
push 0x664810
push ecx
call fcn.0059390a
or dword [esp + 0x10], 4
mov byte [esp + 0x27ec], 0xd
jmp 0x4f4cf3
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0xf
test al, 4
je 0x4f4d23
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x50]
and al, 0xfb
mov dword [esp + 0x10], eax
call fcn.005936db
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x27fc]
push edx
lea eax, [esp + 0xd4]
push 0x2710
push eax
push 0x63f7e8
push esi
push ecx
call edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x27ec], 0xc
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x27ec], bl
call fcn.005936db
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x30]
push edx
call fcn.00593864
push ebp
lea eax, [esp + 0x1c]
push str.Text_i
push eax
call fcn.0058aded
mov ecx, dword [esp + 0x2804]
mov esi, dword [esp + 0x24]
add esp, 0xc
push ecx
lea ecx, [esp + 0x24]
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x24]
mov byte [esp + 0x27f0], 0x10
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4dea
push 0x2f
lea ecx, [esp + 0x24]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4dea
lea edx, [esp + 0x20]
lea eax, [esp + 0x54]
push edx
push 0x664810
push eax
call fcn.0059390a
or dword [esp + 0x10], 8
mov byte [esp + 0x27ec], 0x11
jmp 0x4f4dee
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0x13
test al, 8
je 0x4f4e1e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
and al, 0xf7
mov dword [esp + 0x10], eax
call fcn.005936db
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x27fc]
push ecx
lea edx, [esp + 0xd4]
push 0x2710
push edx
push 0x63f7e8
push esi
push eax
call edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x27ec], 0x10
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x27ec], bl
call fcn.005936db
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x30]
call fcn.00593864
lea edx, [esp + 0x2c]
push edx
call fcn.004ebc70
add esp, 4
lea eax, [esp + 0x18]
push ebp
push str.BkColor_i
push eax
call fcn.0058aded
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.00593749
push 0x5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x27f0], 0x14
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4efc
push 0x2f
lea ecx, [esp + 0x20]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4efc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x44]
push edx
push 0x664810
push eax
call fcn.0059390a
or dword [esp + 0x10], 0x10
mov byte [esp + 0x27ec], 0x15
jmp 0x4f4f00
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x27ec], 0x17
test al, 0x10
je 0x4f4f30
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x44]
and al, 0xef
mov dword [esp + 0x10], eax
call fcn.005936db
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.005936db
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27ec], bl
call fcn.005936db
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f50a2
mov ecx, dword [0x639698]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27ec], 0x18
call fcn.0050bc50
lea ecx, [esp + 0x78]
mov byte [esp + 0x27ec], 0x19
call fcn.0050bc50
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.00593814
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.0050cfa0
add esp, 8
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x27f0], 0x1b
call fcn.0050bec0
lea ecx, [esp + 0x98]
mov byte [esp + 0x27ec], 0x1a
call fcn.0050bd60
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push edx
push eax
call fcn.0050cfa0
add esp, 8
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x27f0], 0x1c
call fcn.0050bec0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x27ec], 0x1a
call fcn.0050bd60
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.00486470
mov eax, dword [edi + 4]
mov ecx, esi
lea edx, [esp + 0x58]
shl ecx, 6
push edx
add ecx, eax
call fcn.00477d50
lea ecx, [esp + 0x78]
mov byte [esp + 0x27ec], 0x1e
call fcn.0050bd60
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27ec], 0x1d
call fcn.0050bd60
lea ecx, [esp + 0x58]
mov byte [esp + 0x27ec], bl
call fcn.005936db
lea ecx, [esp + 0x18]
mov byte [esp + 0x27ec], 6
call fcn.005936db
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27ec], 5
call fcn.005936db
lea ecx, [esp + 0x30]
mov byte [esp + 0x27ec], 4
call fcn.005936db
lea ecx, [esp + 0x24]
mov dword [esp + 0x27ec], 0xffffffff
call fcn.005936db
mov eax, dword [esp + 0x48]
inc ebp
cmp ebp, eax
jl 0x4f4b54
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