Function at 0x1000b7e6
Capabilities:
Read .ini file

Disassembly:
push 0x14
mov eax, 0x1005b93a
call fcn.100596da
mov edi, ecx
test byte [0x100ae790], 1
mov esi, 0x100ae778
jne 0x1000b820
or dword [0x100ae790], 1
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x1006a8d0
call fcn.10058a05
pop ecx
mov eax, esi
lea esi, [ebp - 0x1c]
call fcn.1000b769
xor ebx, ebx
push 0x10070d40
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call dword [0x1006ce70]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
lea esi, [edi + 8]
push eax
mov byte [ebp - 4], 1
call fcn.10004de2
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
mov byte [ebp - 4], 2
call fcn.10004de2
add esp, 0x10
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov esi, sym.SACOhelper.dll_class_CMapStringToString_CIniReader::m_map
mov ecx, esi
call sub.mfc90u.dll_CMapStringToString::Lookup
test eax, eax
je 0x1000b8db
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x1000b8db
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x1000b9e1
push dword [edi + 4]
mov edi, 0x100ac778
push 0x1000
push edi
push 0x10074b84
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [0x100ae776], ax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp word [0x100ac778], 0x22
jne 0x1000b91e
push 0x20
pop eax
mov word [0x100ac778], ax
cmp word [0x100ac778], bx
je 0x1000b97d
push edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push 0x10070d48
push 0x10070d4c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x10070d54
push 0x10070d58
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x10070d60
push 0x10070d64
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x1006f0a0
push 0x10070d6c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
call sub.mfc90u.dll_CMapStringToString::operator__
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 1
jle 0x1000b9a4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x1000b9bb
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov bl, 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.100597b2
ret 0xc