Function at 0x4189c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429ad0
push eax
mov eax, 0x2820
mov dword fs:[0], esp
call fcn.00426c70
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00426fd2
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00426fd2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00426fd2
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00426fc6
mov ecx, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [ebp - 0x282c]
push 0x2800
push edx
push 0
push str.Detail1Path
push str.Info
call ebx
test eax, eax
jne 0x418a48
mov byte [ebp - 0x282c], al
lea eax, [ebp - 0x282c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00426fcc
push ecx
lea edx, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00419010
test eax, eax
je 0x418d39
mov ecx, 0xa00
xor eax, eax
lea edi, [ebp - 0x282c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x282c]
push eax
push 0x2800
push ecx
push 0
push str.CallStackAddresses
push str.ExceptionInfo
call ebx
test eax, eax
je 0x418ab5
lea edx, [ebp - 0x282c]
lea ecx, [esi + 0xc]
push edx
call fcn.00426fcc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x282c]
push eax
push 0x2800
push ecx
push 0
push str.CallStackModules
push str.ExceptionInfo
call ebx
test eax, eax
je 0x418ae6
lea edx, [ebp - 0x282c]
lea ecx, [esi + 0x10]
push edx
call fcn.00426fcc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x282c]
push eax
push 0x2800
push ecx
push 0
push str.ExceptionAddress
push str.ExceptionInfo
call ebx
test eax, eax
je 0x418b17
lea edx, [ebp - 0x282c]
lea ecx, [esi + 0x18]
push edx
call fcn.00426fcc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x282c]
push eax
push 0x2800
push ecx
push 0
push str.ExceptionType
push str.ExceptionInfo
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_sscanf]
test eax, eax
je 0x418b54
lea edx, [esi + 0x40]
lea eax, [ebp - 0x282c]
push edx
push str.0x_08X
push eax
call edi
add esp, 0xc
lea ecx, [esi + 0x38]
lea edx, [esi + 0x34]
push ecx
lea eax, [esi + 0x30]
push edx
lea ecx, [esi + 0x2c]
push eax
push ecx
call fcn.00418920
mov edx, dword [ebp - 0x10]
add esp, 0x10
lea eax, [ebp - 0x282c]
push edx
push 0x2800
push eax
push 0
push 0x431ca4
push str.Info
call ebx
test eax, eax
je 0x418ba3
lea ecx, [esi + 0x44]
lea edx, [ebp - 0x282c]
push ecx
push 0x431ca0
push edx
call edi
add esp, 0xc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x282c]
push eax
push 0x2800
push ecx
push 0
push str.MajorVer
push str.Info
call ebx
test eax, eax
je 0x418bda
lea edx, [esi + 0x48]
lea eax, [ebp - 0x282c]
push edx
push str.0x_08X
push eax
call edi
add esp, 0xc
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x282c]
push ecx
push 0x2800
push edx
push 0
push str.MinorVer
push str.Info
call ebx
test eax, eax
je 0x418c11
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x282c]
push eax
push str.0x_08X
push ecx
call edi
add esp, 0xc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x282c]
push edx
push 0x2800
push eax
push 0
push str.Build
push str.Info
call ebx
test eax, eax
je 0x418c48
lea ecx, [esi + 0x50]
lea edx, [ebp - 0x282c]
push ecx
push 0x431ba8
push edx
call edi
add esp, 0xc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x282c]
push eax
push 0x2800
push ecx
push 0
push str.AppName
push str.Info
call ebx
test eax, eax
je 0x418c79
lea edx, [ebp - 0x282c]
lea ecx, [esi + 0x14]
push edx
call fcn.00426fcc
lea ecx, [ebp - 0x28]
call fcn.004270c2
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x418cda
push 0
push 0
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Open
cmp eax, 1
jne 0x418cda
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::GetLength
lea ecx, [ebp - 0x28]
mov ebx, eax
lea edi, [esi + 8]
call sub.MFC42.DLL_CFile::GetLength
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
push ebx
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0x3c]
push 0xffffffffffffffff
mov ecx, edi
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi + 4]
test eax, eax
je 0x418d2d
mov eax, dword [esi + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x418d2d
push 0
push 0
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Open
cmp eax, 1
jne 0x418d2d
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::GetLength
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x418d2d
mov edx, dword [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0x24], edi
call dword [edx + 0x3c]
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret