Function at 0x67820120
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x679811c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x28], ebx
je 0x67820233
cmp dword [esi + 0x3c], ebx
jne 0x67820150
mov dword [esp + 0x30], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
test eax, eax
jne 0x67820179
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
jmp 0x678202fe
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::GetBuffer
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push ebx
mov ebx, dword [esp + 0x34]
push ebx
push edi
call ebp
test eax, eax
jne 0x678201cc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
jmp 0x67820219
cmp eax, 0xff
jne 0x678201f4
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
push eax
push 0x3e80
push 0x3e80
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
push ebx
push edi
call ebp
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::ExchangePropStringHelper_class_CString___unsigned_short_int__void___void_const__
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x678202fe
cmp dword [esi + 0x40], ebx
jne 0x6782023c
xor edi, edi
jmp 0x67820240
mov edi, dword [esp + 0x30]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x90]
test eax, eax
je 0x678202fe
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
push edi
push ebx
push ebp
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::IsSamePropValue_unsigned_short_int__void_const___void_const__
test eax, eax
je 0x6782028a
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x678202f9
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x44]
push eax
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x678202f9
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_4
push edi
push ebx
lea eax, [esp + 0x38]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x2c], 1
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::ExchangePropStringHelper_class_CString___unsigned_short_int__void___void_const__
test eax, eax
jne 0x678202c3
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x678202fe
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov esi, dword [esi + 0x44]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x30]
jne 0x678202f4
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x678202fe
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10