Function at 0x4bda90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x58c818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x5fd02c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x2c], 0
call fcn.004bcbc0
mov ecx, dword [eax]
push str.JWHexLocConfig.ini
push ecx
lea edx, [esp + 0x20]
push str._s_s
push edx
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
push 0xc801
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push 0xc801
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
push edi
lea ecx, [esp + 0x14]
mov ebp, edi
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x28], 2
mov eax, dword [ecx - 8]
cmp eax, 1
jl 0x4bdbda
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x100]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
mov byte [esp + 0x38], 3
call ebx
test eax, eax
jge 0x4bdb88
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.004be1e0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
mov eax, dword [eax - 8]
lea ebp, [eax + ebp + 1]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
test ebp, ebp
je 0x4bdbe8
lea ecx, [edi + 0xc801]
cmp ebp, ecx
jae 0x4bdbe8
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x10]
mov byte [esp + 0x28], 2
cmp dword [edx - 8], 1
jge 0x4bdb44
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x100]
add esp, 4
xor edi, edi
push edi
push edi
push 0x146
push eax
call ebx
test eax, eax
jle 0x4bdcaf
push 0x5fd02c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
push ecx
push edi
lea ecx, [esi + 0xe0]
call sub.MFC42.DLL_CComboBox::GetLBText
mov eax, dword [esi + 0x598]
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4bdc6f
lea ecx, [esp + 0x10]
xor ebp, ebp
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x100]
push ebp
push ebp
push 0x146
push eax
inc edi
call ebx
cmp edi, eax
jl 0x4bdc0b
jmp 0x4bdc84
lea ecx, [esp + 0x10]
mov ebp, edi
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
cmp edi, 0xffffffff
je 0x4bdcaf
mov ecx, dword [esi + 0x100]
push 0
push ebp
push 0x14e
push ecx
call ebx
push ecx
lea eax, [esi + 0x598]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.004bde50
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret