Function at 0x419070
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4246e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push esi
mov esi, dword [esp + 0x244]
mov ebx, ecx
test esi, esi
mov dword [esp + 0x28], ebx
jne 0x4190ac
mov byte [ebx + 0x20], 0
mov eax, 1
jmp 0x419475
push str..ini
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_1
push 0x42e93c
lea ecx, [esp + 0xc]
mov dword [esp + 0x240], 0
call sub.MFC42u.DLL_CString::CString_1
lea eax, [ebx + 0x34]
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x248], 1
call sub.MFC42u.DLL_operator
lea edx, [esp + 8]
mov byte [esp + 0x23c], 2
push edx
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42u.DLL_operator_1
lea ecx, [ebx + 0x3c]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x248], 3
call sub.MFC42u.DLL_operator_1
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x248], 4
call sub.MFC42u.DLL_operator_1
lea esi, [ebx + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x240], 5
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x23c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x23c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4191c2
mov byte [ebx + 0x20], al
jmp 0x419475
mov byte [ebx + 0x20], 1
mov ax, word [0x42f1ac]
push ebp
push edi
mov word [esp + 0x34], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi]
push eax
push 1
push str.CharacterSet
push str.StringInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi]
lea edx, [esp + 0x34]
push ecx
push 0x104
push edx
push 0x42e8c0
push str.TypeFace
push str.StringInfo
mov dword [ebx + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x34]
lea ecx, [ebx + 0x30]
push eax
call sub.MFC42u.DLL_CString::operator_2
mov ecx, ebx
mov byte [ebx + 0x20], 1
call fcn.00419770
push 0x10000
call sub.MFC42u.DLL_operatornew
mov esi, dword [esi]
add esp, 4
mov ebp, eax
push esi
push 0x8000
push ebp
push 0x42e8dc
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
mov dword [esp + 0x1c], eax
mov ecx, ebp
jle 0x41946e
mov ax, word [ebp]
cmp ax, 0x30
jb 0x419286
cmp ax, 0x39
ja 0x419286
mov ax, word [ebp + 2]
add ebp, 2
cmp ax, 0x30
jae 0x419273
mov word [ebp], 0
push ecx
add ebp, 2
call dword [sym.imp.MSVCRT.dll__wtoi]
push ebp
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [eax + eax + 2]
push ecx
call sub.MFC42u.DLL_operatornew
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x28], eax
push ebp
push eax
call fcn.00419cb0
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
lea esi, [ebx + 0x10]
sub edx, eax
sar edx, 3
cmp edx, 1
mov edi, eax
jae 0x41939e
mov edx, dword [esi + 4]
test edx, edx
je 0x4192e7
mov ecx, eax
sub ecx, edx
sar ecx, 3
cmp ecx, 1
ja 0x4192ec
mov ecx, 1
test edx, edx
jne 0x4192f4
xor eax, eax
jmp 0x4192f9
sub eax, edx
sar eax, 3
add eax, ecx
test eax, eax
mov dword [esp + 0x18], eax
jge 0x419305
xor eax, eax
shl eax, 3
push eax
call sub.MFC42u.DLL_operatornew
mov ebx, dword [esi + 4]
add esp, 4
cmp ebx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
je 0x419340
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.00404b70
mov edx, dword [esp + 0x18]
add ebx, 8
add esp, 8
add edx, 8
cmp ebx, edi
mov dword [esp + 0x10], edx
jne 0x419320
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00404b70
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 8]
add esp, 8
add ecx, 8
push ecx
push edx
push edi
mov ecx, esi
call fcn.00404b30
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x30], eax
call sub.MFC42u.DLL_operatordelete
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [edi + eax*8]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.0041a0b0
mov ebx, dword [esp + 0x30]
lea edx, [edi + eax*8 + 8]
mov dword [esi + 8], edx
mov dword [esi + 4], edi
jmp 0x419442
mov ecx, eax
sub ecx, edi
sar ecx, 3
cmp ecx, 1
jae 0x4193f3
lea ecx, [edi + 8]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00404b30
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 3
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.0041a0d0
mov eax, dword [esi + 8]
cmp edi, eax
je 0x41943e
mov ecx, dword [esp + 0x24]
mov dword [edi], ecx
mov edx, dword [esp + 0x28]
mov dword [edi + 4], edx
add edi, 8
cmp edi, eax
jne 0x4193dd
jmp 0x41943e
lea ecx, [eax - 8]
push eax
push eax
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, esi
call fcn.00404b30
mov ecx, dword [esi + 8]
lea eax, [ecx - 8]
cmp edi, eax
je 0x419423
mov edx, dword [eax - 8]
sub eax, 8
sub ecx, 8
cmp eax, edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
jne 0x41940e
lea eax, [edi + 8]
cmp edi, eax
je 0x41943e
mov ecx, dword [esp + 0x24]
mov dword [edi], ecx
mov edx, dword [esp + 0x28]
mov dword [edi + 4], edx
add edi, 8
cmp edi, eax
jne 0x41942a
add dword [esi + 8], 8
cmp word [ebp], 0
je 0x419453
add ebp, 2
cmp word [ebp], 0
jne 0x419449
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ebp, 2
mov eax, ebp
mov ecx, ebp
sub eax, edi
sar eax, 1
cmp eax, edx
jl 0x419269
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x234]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 4