Function at 0x100104fc
Capabilities:
Read .ini file

Disassembly:
push 0x10
mov eax, 0x10092d42
call fcn.1008f84a
mov edi, ecx
test byte [0x1011a850], 1
mov esi, 0x1011a838
jne 0x10010536
or dword [0x1011a850], 1
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x100b42f9
call fcn.1008e96f
pop ecx
mov eax, esi
lea esi, [ebp - 0x18]
call fcn.1001047f
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
lea esi, [edi + 4]
push eax
call fcn.1000a016
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
mov byte [ebp - 4], 1
call fcn.1000a016
add esp, 0x10
lea ecx, [ebp - 0x1c]
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], 4
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov ebx, sym.ASOHelper.dll_class_CMapStringToString_CIniReader::m_map
mov ecx, ebx
call sub.mfc90u.dll_CMapStringToString::Lookup
test eax, eax
je 0x100105d9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x100105d9
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_3]
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]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
call fcn.1008f922
ret 0xc
push 0x2000
push 0
mov esi, 0x10118838
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
push dword [edi + 8]
push 0x1000
push esi
push 0x100be7bc
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [0x1011a836], ax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp word [0x10118838], 0x22
jne 0x1001062c
push 0x20
pop eax
mov word [0x10118838], ax
cmp word [0x10118838], 0
je 0x1001068c
push esi
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_4]
push 0x100b9cf0
push 0x100b9cf4
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_1]
push 0x100b9cfc
push 0x100b9d00
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_1]
push 0x100b9d08
push 0x100b9d0c
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_1]
push 0x100b805c
push 0x100b9d14
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_1]
push dword [ebp - 0x10]
mov ecx, ebx
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_4]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 1
jle 0x100106b3
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], 0
je 0x100106ed
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_3]
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]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
jmp 0x100105d1
xor bl, bl
jmp 0x100106cb