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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43e7bc
push eax
mov eax, 0x7d124
mov dword fs:[0], esp
call fcn.0043abc0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x1f3ff
xor eax, eax
lea edi, [esp + 0x135]
mov byte [esp + 0x134], 0
mov esi, dword [esp + 0x7d144]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test esi, esi
mov dword [esp + 0x28], ebp
stosb byte es:[edi], al
jne 0x42379a
mov byte [ebp + 0x20], 0
mov eax, 1
jmp 0x4237c8
mov eax, dword [ebp + 0xc]
xor edi, edi
test eax, eax
jle 0x4237c2
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + edi*4]
push ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x4237e3
mov eax, dword [ebp + 0xc]
inc edi
cmp edi, eax
jl 0x4237a9
mov byte [ebp + 0x20], 0
xor eax, eax
mov ecx, dword [esp + 0x7d134]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7d130
ret 4
mov edx, dword [ebp + 4]
lea ecx, [ebp + 0x34]
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
call sub.MFC42.DLL_operator_1
push 0x4500fc
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x7d144], 0
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [ebp + 0x3c]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x7d148], 1
call sub.MFC42.DLL_operator_3
push str..ini
push eax
lea eax, [esp + 0x18]
mov bl, 2
push eax
mov byte [esp + 0x7d148], bl
call sub.MFC42.DLL_operator_1
lea esi, [ebp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x7d140], 3
call fcn.0043a7b6
lea ecx, [esp + 0x10]
mov byte [esp + 0x7d13c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7d13c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x7d13c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x7d13c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4238b1
mov byte [ebp + 0x20], al
jmp 0x4237c2
mov eax, dword [esi]
push eax
push 1
push str.CharacterSet
push str.StringInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esi]
lea edx, [esp + 0x30]
push ecx
push 0x100
push edx
push 0x450af8
push str.TypeFace
push str.StringInfo
mov dword [ebp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x134]
lea ecx, [ebp + 0x30]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, ebp
mov byte [ebp + 0x20], 1
mov dword [ebp + 8], edi
call fcn.00423e90
mov esi, dword [esi]
lea ecx, [esp + 0x134]
push esi
push 0x7d000
push ecx
push str.StringList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
mov dword [esp + 0x2c], eax
lea ebx, [esp + 0x134]
lea ecx, [esp + 0x134]
jle 0x423b51
mov al, byte [ebx]
cmp al, 0x30
jl 0x423950
cmp al, 0x39
jg 0x423950
mov al, byte [ebx + 1]
inc ebx
cmp al, 0x30
jge 0x423944
mov byte [ebx], 0
push ecx
inc ebx
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x24], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MFC42.DLL_operatornew
add esp, 8
mov ecx, ebp
mov dword [esp + 0x24], eax
push ebx
push eax
call fcn.004240d0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
lea esi, [ebp + 0x10]
sub edx, eax
sar edx, 3
cmp edx, 1
mov edi, eax
jae 0x423a84
mov edx, dword [esi + 4]
test edx, edx
je 0x4239ac
mov ecx, eax
sub ecx, edx
sar ecx, 3
cmp ecx, 1
ja 0x4239b1
mov ecx, 1
test edx, edx
jne 0x4239b9
xor eax, eax
jmp 0x4239be
sub eax, edx
sar eax, 3
add eax, ecx
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x4239ca
xor eax, eax
shl eax, 3
push eax
call sub.MFC42.DLL_operatornew
mov ebp, dword [esi + 4]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
je 0x423a05
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call fcn.004190e0
mov edx, dword [esp + 0x18]
add ebp, 8
add esp, 8
add edx, 8
cmp ebp, edi
mov dword [esp + 0x10], edx
jne 0x4239e5
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004190e0
mov eax, dword [esi + 8]
add esp, 8
cmp edi, eax
mov dword [esp + 0x14], eax
je 0x423a41
mov ecx, dword [esp + 0x10]
lea ebp, [ecx + 8]
push edi
push ebp
call fcn.004190e0
mov eax, dword [esp + 0x1c]
add edi, 8
add esp, 8
add ebp, 8
cmp edi, eax
jne 0x423a29
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.00420da0
mov ecx, dword [esi + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, esi
lea eax, [edi + edx*8]
mov dword [esi + 0xc], eax
call fcn.00424520
mov ebp, dword [esp + 0x28]
lea ecx, [edi + eax*8 + 8]
mov dword [esi + 8], ecx
mov dword [esi + 4], edi
jmp 0x423b2a
mov ecx, eax
sub ecx, edi
sar ecx, 3
cmp ecx, 1
jae 0x423adb
lea edx, [edi + 8]
mov ecx, esi
push edx
push eax
push edi
call fcn.004190a0
mov eax, dword [esi + 8]
lea ecx, [esp + 0x20]
mov edx, eax
push ecx
sub edx, edi
mov ecx, 1
sar edx, 3
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00424540
mov ecx, dword [esi + 8]
mov eax, edi
cmp edi, ecx
je 0x423b26
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
add eax, 8
cmp eax, ecx
jne 0x423ac5
jmp 0x423b26
lea ecx, [eax - 8]
push eax
push eax
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, esi
call fcn.004190a0
mov ecx, dword [esi + 8]
lea eax, [ecx - 8]
cmp edi, eax
je 0x423b0b
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 0x423af6
lea eax, [edi + 8]
cmp edi, eax
je 0x423b26
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov edx, dword [esp + 0x24]
mov dword [edi + 4], edx
add edi, 8
cmp edi, eax
jne 0x423b12
add dword [esi + 8], 8
cmp byte [ebx], 0
je 0x423b37
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x423b2f
inc ebx
lea edx, [esp + 0x134]
mov eax, ebx
mov ecx, ebx
sub eax, edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
jl 0x42393e
mov eax, dword [ebp + 8]
jmp 0x4237c8