Function at 0x1000c9a7
Capabilities:
Read .ini file

Disassembly:
push 0x10
mov eax, 0x10076e4b
call fcn.100751fa
mov edi, ecx
test byte [0x100ed2e0], 1
mov esi, 0x100ed2c8
jne 0x1000c9e1
or dword [0x100ed2e0], 1
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x10094a13
call fcn.10074317
pop ecx
mov eax, esi
lea esi, [ebp - 0x18]
call fcn.1000c92a
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
lea esi, [edi + 4]
push eax
call fcn.100064c1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
mov byte [ebp - 4], 1
call fcn.100064c1
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 [0x10096f98]
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 0x1000ca84
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x1000ca84
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call dword [0x10096f88]
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.100752d2
ret 0xc
push 0x2000
push 0
mov esi, 0x100eb2c8
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
push dword [edi + 8]
push 0x1000
push esi
push 0x1009f454
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [0x100ed2c6], ax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp word [0x100eb2c8], 0x22
jne 0x1000cad7
push 0x20
pop eax
mov word [0x100eb2c8], ax
cmp word [0x100eb2c8], 0
je 0x1000cb37
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 0x1009ac00
push 0x1009ac04
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 0x1009ac0c
push 0x1009ac10
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 0x1009ac18
push 0x1009ac1c
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 0x10098f5c
push 0x1009ac24
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 0x1000cb5e
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 0x1000cb98
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call dword [0x10096f88]
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 0x1000ca7c
xor bl, bl
jmp 0x1000cb76