Function at 0x1000ba9f
Capabilities:
Read .ini file

Disassembly:
push 0x10
mov eax, 0x1006df07
call fcn.1006c23a
mov edi, ecx
test byte [0x100d6218], 1
mov esi, 0x100d6200
jne 0x1000bad9
or dword [0x100d6218], 1
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x10083e98
call fcn.1006b35f
pop ecx
mov eax, esi
lea esi, [ebp - 0x18]
call fcn.1000ba22
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
lea esi, [edi + 4]
push eax
call fcn.10005676
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
mov byte [ebp - 4], 1
call fcn.10005676
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 [0x10085f84]
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.winzipsshelper.dll_class_CMapStringToString_CIniReader::m_map
mov ecx, ebx
call sub.mfc90u.dll_CMapStringToString::Lookup
test eax, eax
je 0x1000bb7c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x1000bb7c
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call dword [0x10085f74]
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.1006c312
ret 0xc
push 0x2000
push 0
mov esi, 0x100d4200
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
push dword [edi + 8]
push 0x1000
push esi
push 0x10086e50
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [0x100d61fe], ax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp word [0x100d4200], 0x22
jne 0x1000bbcf
push 0x20
pop eax
mov word [0x100d4200], ax
cmp word [0x100d4200], 0
je 0x1000bc2f
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 0x10089f48
push 0x10089f4c
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 0x10089f54
push 0x10089f58
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 0x10089f60
push 0x10089f64
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 0x100885a8
push 0x10089f6c
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 0x1000bc56
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 0x1000bc90
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call dword [0x10085f74]
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 0x1000bb74
xor bl, bl
jmp 0x1000bc6e