Function at 0x41f910
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::CStdioFile
xor edi, edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x68]
mov byte [esp + 0x38], 2
cmp dword [eax + 0x254], edi
jle 0x41f9bf
mov ebp, 0x988
mov eax, dword [eax + ebp - 0x198]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fadd qword [0x442de0]
add esp, 4
call sub.MSVCRT.dll__ftol
cmp dword [esi + 0x300], eax
jne 0x41f9b0
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ebp]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
mov ecx, dword [esi + 0x304]
add esp, 4
cmp ecx, eax
je 0x41fb1d
mov eax, dword [esi + 0x68]
inc edi
add ebp, 4
cmp edi, dword [eax + 0x254]
jl 0x41f96e
mov edx, dword [esi + 0x68]
push str.profileStandard_s_d__d.CRM
add edx, 0x200
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [esi + 0x304]
mov edx, dword [esi + 0x300]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 0x68]
push edx
mov byte [esp + 0x40], 4
mov edx, dword [ecx + 0x14c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x14]
call fcn.00422b90
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 + 0x10]
mov dword [esi + 0x33c], ecx
mov edx, dword [edi + 0x1c88]
push eax
mov dword [esi + 0x340], edx
mov dword [esi + 0x370], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41fdc9
mov ecx, dword [esp + 0x10]
push 0
push 0x20
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x41fb82
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.00422b90
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.00422b90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422d28
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
test edi, edi
jl 0x41f9bf
mov ecx, dword [esi + 0x68]
push str.profileStandard_s_d_s_d.CRM
add ecx, 0x200
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
mov ecx, dword [eax]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x304]
mov byte [esp + 0x38], 3
push edx
mov edx, dword [eax + edi*4 + 0x8bc]
mov eax, dword [eax + edi*4 + 0x724]
push edx
mov edx, dword [esi + 0x300]
push edx
push eax
push ecx
lea ecx, [esp + 0x24]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x14]
jmp 0x41fa0e
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [esp + 0xc]
push 0x4633b8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x41fc00
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov edx, dword [esp + 0xc]
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 0x41fda4
mov eax, dword [esp + 0xc]
push 0x4633b0
push eax
call ebp
add esp, 8
test eax, eax
jne 0x41fc63
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov edx, dword [esp + 0xc]
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 0x41fda4
mov eax, dword [esp + 0xc]
push str.Vpp:
push eax
call ebp
add esp, 8
test eax, eax
jne 0x41fca7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esi + 0x310]
add esp, 4
jmp 0x41fda4
mov eax, dword [esp + 0xc]
push str.highlight_expected:
push eax
call ebp
add esp, 8
test eax, eax
jne 0x41fceb
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [esi + 0x338], eax
jmp 0x41fda4
mov eax, dword [esp + 0xc]
push str.solid_expected:
push eax
call ebp
add esp, 8
test eax, eax
jne 0x41fd2c
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [esi + 0x33c], eax
jmp 0x41fda4
mov eax, dword [esp + 0xc]
push str.TongGou_Expected:
push eax
call ebp
add esp, 8
test eax, eax
jne 0x41fd69
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [esi + 0x340], eax
jmp 0x41fda4
mov eax, dword [esp + 0xc]
push str.GaoDu_Expected:
push eax
call ebp
add esp, 8
test eax, eax
jne 0x41fda4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41fdc0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [esi + 0x370], eax
test edi, edi
je 0x41fdc0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
jne 0x41fba0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::Close
fild dword [esi + 0x338]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
fstp qword [esi + 0x348]
fild dword [esi + 0x33c]
fstp qword [esi + 0x350]
fild dword [esi + 0x340]
fstp qword [esi + 0x360]
fild dword [esi + 0x370]
fstp qword [esi + 0x378]
call fcn.00422b90
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.00422b90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422d28
mov ecx, dword [esp + 0x30]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret