Function at 0x420390
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 8]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 3
call fcn.00422ce0
mov edi, dword [esi + 0x68]
mov ecx, dword [edi + 0x1c78]
mov dword [esi + 0x310], ecx
mov edx, dword [edi + 0x1c7c]
mov dword [esi + 0x314], edx
fld qword [edi + 0x1c68]
fst qword [esi + 0x78]
fmul qword [0x442e20]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x443758]
fstp qword [esi + 0x318]
fld qword [edi + 0x1c70]
fst qword [esi + 0x80]
fmul qword [0x442e20]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x443758]
fstp qword [esi + 0x320]
mov eax, dword [edi + 0x1c80]
mov dword [esi + 0x338], eax
mov ecx, dword [edi + 0x1c84]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x33c], ecx
mov edx, dword [edi + 0x1c88]
push eax
mov dword [esi + 0x340], edx
mov dword [esi + 0x370], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x420769
mov ecx, dword [esp + 0x14]
push ebx
push 0x20
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CStdioFile::Open
cmp eax, ebx
jne 0x4204ff
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.00422b90
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.00422b90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call fcn.00422d28
lea ecx, [ebp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422b90
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
cmp edi, ebx
je 0x420760
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [esp + 0x10]
push 0x4633b8
push eax
call ebx
add esp, 8
test eax, eax
jne 0x42057d
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x420760
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fst qword [esi + 0x78]
fmul qword [0x442e20]
add esp, 4
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x443758]
fstp qword [esi + 0x318]
jmp 0x420744
mov eax, dword [esp + 0x10]
push 0x4633b0
push eax
call ebx
add esp, 8
test eax, eax
jne 0x4205e0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x420760
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fst qword [esi + 0x80]
fmul qword [0x442e20]
add esp, 4
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x443758]
fstp qword [esi + 0x320]
jmp 0x420744
mov eax, dword [esp + 0x10]
push str.Vpp:
push eax
call ebx
add esp, 8
test eax, eax
jne 0x420624
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x420760
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esi + 0x310]
add esp, 4
jmp 0x420744
mov eax, dword [esp + 0x10]
push str.highlight_expected:
push eax
call ebx
add esp, 8
test eax, eax
jne 0x420670
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x420760
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
mov dword [esp + 0x1c], eax
add esp, 4
fild dword [esp + 0x18]
fstp qword [esi + 0x348]
jmp 0x420744
mov eax, dword [esp + 0x10]
push str.solid_expected:
push eax
call ebx
add esp, 8
test eax, eax
jne 0x4206bc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x420760
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
mov dword [esp + 0x1c], eax
add esp, 4
fild dword [esp + 0x18]
fstp qword [esi + 0x350]
jmp 0x420744
mov eax, dword [esp + 0x10]
push str.TongGou_Expected:
push eax
call ebx
add esp, 8
test eax, eax
jne 0x420701
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x420760
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
mov dword [esp + 0x1c], eax
add esp, 4
fild dword [esp + 0x18]
fstp qword [esi + 0x360]
jmp 0x420744
mov eax, dword [esp + 0x10]
push str.GaoDu_Expected:
push eax
call ebx
add esp, 8
test eax, eax
jne 0x420744
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x420760
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
mov dword [esp + 0x1c], eax
add esp, 4
fild dword [esp + 0x18]
fstp qword [esi + 0x378]
test edi, edi
je 0x420760
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
jne 0x42051d
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.00422b90
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.00422b90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00422d28
lea ecx, [ebp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422b90
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4