Function at 0x417210
Capabilities:
Check http status code
Check if file exists
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440ccd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd08
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], ebx
call sub.MFC42.DLL_CStdioFile::CStdioFile
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0xd20], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0xd20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd20], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xd20], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0x254]
or esi, 0xffffffff
cmp eax, ebp
mov byte [esp + 0xd20], 6
mov dword [esp + 0x20], ebp
jle 0x41731d
lea edi, [ebx + 0x988]
mov eax, dword [edi - 0x198]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fadd qword [0x442de0]
add esp, 4
call sub.MSVCRT.dll__ftol
cmp dword [ebx + 0xbe4], eax
jne 0x417303
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
mov ecx, dword [ebx + 0xbe8]
add esp, 4
cmp ecx, eax
je 0x417317
mov eax, dword [ebx + 0x254]
inc ebp
add edi, 4
cmp ebp, eax
jl 0x4172ca
mov dword [esp + 0x20], ebp
jmp 0x41731d
mov dword [esp + 0x20], ebp
mov esi, ebp
lea edi, [ebx + 0x200]
push str.profileExpectation_s_d__d.CRV
lea eax, [esp + 0x20]
push edi
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [ebx + 0xbe8]
mov edx, dword [ebx + 0xbe4]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebx + esi*4 + 0x724]
push edx
push ecx
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0xd34], 7
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
push str.profileCurrent_s_d__d.CUR
lea eax, [esp + 0x20]
push edi
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [ebx + 0xbe8]
mov edx, dword [ebx + 0xbe4]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebx + esi*4 + 0x724]
push edx
push ecx
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0xd34], 8
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
push str.profileMeasure_s_d__d.CRV
lea eax, [esp + 0x20]
push edi
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [ebx + 0xbe8]
mov edx, dword [ebx + 0xbe4]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebx + esi*4 + 0x724]
push edx
push ecx
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0xd34], 9
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4175fe
push str.profileExpectation_s_d.CRV
lea ecx, [esp + 0x20]
push edi
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [ebx + 0xbe4]
mov ecx, dword [ebx + esi*4 + 0x724]
mov eax, dword [eax]
push edx
push ecx
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0xd30], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
push str.profileCurrent_s_d.CUR
lea eax, [esp + 0x20]
push edi
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [ebx + 0xbe4]
mov edx, dword [ebx + esi*4 + 0x724]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0xd2c], 0xb
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
push str.profileMeasure_s_d.CRV
lea ecx, [esp + 0x20]
push edi
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [ebx + 0xbe4]
mov ecx, dword [ebx + esi*4 + 0x724]
mov eax, dword [eax]
push edx
push ecx
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0xd30], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4175fe
push str.profileExpectation_sCurve__s_d.CRV
lea ecx, [esp + 0x20]
push edi
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [ebx + 0xbe4]
mov ecx, dword [ebx + esi*4 + 0x724]
mov eax, dword [eax]
push edx
mov edx, dword [ebx + esi*4 + 0x658]
push ecx
push edx
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0xd30], 0xd
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
push str.profileCurrent_sCurve__s_d.CUR
lea ecx, [esp + 0x20]
push edi
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [ebx + 0xbe4]
mov ecx, dword [ebx + esi*4 + 0x724]
mov eax, dword [eax]
push edx
mov edx, dword [ebx + esi*4 + 0x658]
push ecx
push edx
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0xd30], 0xe
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
push str.profileMeasure_sCurve__s_d.CRV
lea ecx, [esp + 0x20]
push edi
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [ebx + 0xbe4]
mov ecx, dword [ebx + esi*4 + 0x724]
mov eax, dword [eax]
push edx
mov edx, dword [ebx + esi*4 + 0x658]
push ecx
push edx
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0xd30], 0xf
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00422ce0
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x418716
mov eax, dword [esp + 0x24]
push 0
push 0x20
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x417707
lea ecx, [esp + 0x24]
push 0x463d7c
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push 0x1000
push eax
mov byte [esp + 0xd2c], 0x10
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd20], 6
call fcn.00422b90
lea ecx, [esp + 0x38]
mov byte [esp + 0xd20], 5
call fcn.00422b90
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd20], 4
call fcn.00422b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd20], 3
call fcn.00422b90
lea ecx, [esp + 0x40]
mov byte [esp + 0xd20], 2
call fcn.00422b90
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 1
call fcn.00422b90
lea ecx, [esp + 0x18]
mov byte [esp + 0xd20], 0
call fcn.00422b90
lea ecx, [esp + 0x48]
mov dword [esp + 0xd20], 0xffffffff
call fcn.00422d28
xor al, al
mov ecx, dword [esp + 0xd18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417875
mov esi, dword [sym.imp.MSVCRT.dll_atol]
mov ecx, dword [esp + 0x18]
add ecx, 3
push ecx
call esi
mov dword [esp + 0x20], eax
add esp, 4
fild dword [esp + 0x1c]
fst dword [esp + 0x14]
fcomp dword [0x442e5c]
fnstsw ax
test ah, 0x40
je 0x418716
lea edx, [esp + 0x18]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417875
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
fstp dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417833
mov eax, dword [esp + 0x18]
add eax, 3
push eax
call esi
add esp, 4
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417833
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fld st(0)
fsub dword [esp + 0x20]
fld dword [esp + 0x18]
fsub dword [esp + 0x38]
add esp, 4
fdivp st(1)
fst dword [esp + 0x28]
fmul dword [esp + 0x34]
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x20], ebp
call sub.MSVCRT.dll__ftol
cmp ebp, eax
jg 0x417771
lea ecx, [esp + ebp*4 + 0x88]
fild dword [esp + 0x20]
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x20], ebp
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jle 0x417813
jmp 0x417771
cmp ebp, 0x64
jg 0x41785b
lea ecx, [esp + ebp*4 + 0x88]
fild dword [esp + 0x20]
inc ebp
add ecx, 4
cmp ebp, 0x64
mov dword [esp + 0x20], ebp
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jle 0x41783f
test eax, eax
je 0x417875
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
jne 0x417723
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CStdioFile::Close
xor esi, esi
lea ebp, [esp + 0x8c]
mov dword [esp + 0x20], esi
fild dword [esp + 0x20]
fmul qword [0x442e30]
fadd qword [0x442de0]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x1c], eax
inc esi
fild dword [esp + 0x1c]
fld dword [ebp - 4]
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
fmul qword [0x442e30]
fadd qword [0x442de0]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [ebp]
fsub st(1)
fld dword [esp + 0x14]
fsub st(3)
fdivp st(1)
fst dword [esp + 0x28]
fmul st(2)
fsubr st(1)
fstp dword [esp + 0x30]
fstp st(0)
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x1c], edi
call sub.MSVCRT.dll__ftol
cmp edi, eax
jg 0x417929
mov ecx, 0x6db
sub ecx, edi
lea ecx, [ebx + ecx*4]
fild dword [esp + 0x1c]
inc edi
sub ecx, 4
cmp edi, eax
mov dword [esp + 0x1c], edi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx + 4]
jle 0x41790e
add ebp, 4
cmp esi, 0x64
mov dword [esp + 0x20], esi
jl 0x41788b
mov edx, dword [ebx + 0x1b6c]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
mov dword [ebx + 0x1b68], edx
mov dword [ebx + 0x1b6c], 0
call fcn.00422ce0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x417d05
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov bl, 0x11
lea ecx, [esp + 0x14]
mov byte [esp + 0xd20], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
push 0
push 0x1001
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd2c], 0x12
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x417a63
lea ecx, [esp + 0x14]
mov byte [esp + 0xd20], bl
call fcn.00422b90
lea ecx, [esp + 0x60]
mov byte [esp + 0xd20], 6
call fcn.00422d28
lea ecx, [esp + 0x38]
mov byte [esp + 0xd20], 5
call fcn.00422b90
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd20], 4
call fcn.00422b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd20], 3
call fcn.00422b90
lea ecx, [esp + 0x40]
mov byte [esp + 0xd20], 2
call fcn.00422b90
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 1
call fcn.00422b90
lea ecx, [esp + 0x18]
mov byte [esp + 0xd20], 0
call fcn.00422b90
lea ecx, [esp + 0x48]
mov dword [esp + 0xd20], 0xffffffff
call fcn.00422d28
xor al, al
mov ecx, dword [esp + 0xd18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 0x18]
push str.m_P_d:_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CStdioFile::WriteString
push 0xffffffffffffffee
lea edx, [esp + 0x18]
push str._t_d_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 1
lea ecx, [esp + 0x18]
push str.m_P_d:_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push edx
call sub.MFC42.DLL_CStdioFile::WriteString
push 0xfffffffffffffff7
lea eax, [esp + 0x18]
push str._t_d_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CStdioFile::WriteString
push 5
lea edx, [esp + 0x18]
push str.m_P_d:_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 5
lea ecx, [esp + 0x18]
push str._t_d_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push edx
call sub.MFC42.DLL_CStdioFile::WriteString
push 0xa
lea eax, [esp + 0x18]
push str.m_P_d:_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CStdioFile::WriteString
push 0xa
lea edx, [esp + 0x18]
push str._t_d_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x1e
lea ecx, [esp + 0x18]
push str.m_P_d:_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push edx
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x1e
lea eax, [esp + 0x18]
push str._t_d_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x32
lea edx, [esp + 0x18]
push str.m_P_d:_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x32
lea ecx, [esp + 0x18]
push str._t_d_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push edx
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x46
lea eax, [esp + 0x18]
push str.m_P_d:_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x46
lea edx, [esp + 0x18]
push str._t_d_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x5a
lea ecx, [esp + 0x18]
push str.m_P_d:_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push edx
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x5a
lea eax, [esp + 0x18]
push str._t_d_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CStdioFile::WriteString
mov esi, 0x64
mov dword [esp + 0x20], esi
push esi
lea edx, [esp + 0x18]
push str.m_P_d:_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push esi
lea ecx, [esp + 0x18]
push str._t_d_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x60]
push edx
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CStdioFile::Flush
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x14]
mov byte [esp + 0xd20], bl
call fcn.00422b90
lea ecx, [esp + 0x60]
mov byte [esp + 0xd20], 6
call fcn.00422d28
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
push 0
push 0x20
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x417ded
lea ecx, [esp + 0x24]
push 0x463d7c
lea edx, [esp + 0x48]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push 0x1000
push eax
mov byte [esp + 0xd2c], 0x13
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x44]
mov byte [esp + 0xd20], 6
call fcn.00422b90
lea ecx, [esp + 0x38]
mov byte [esp + 0xd20], 5
call fcn.00422b90
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd20], 4
call fcn.00422b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd20], 3
call fcn.00422b90
lea ecx, [esp + 0x40]
mov byte [esp + 0xd20], 2
call fcn.00422b90
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 1
call fcn.00422b90
lea ecx, [esp + 0x18]
mov byte [esp + 0xd20], 0
call fcn.00422b90
lea ecx, [esp + 0x48]
mov dword [esp + 0xd20], 0xffffffff
call fcn.00422d28
xor al, al
mov ecx, dword [esp + 0xd18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417fe8
mov edi, dword [sym.imp.MSVCRT.dll_atol]
mov ecx, dword [esp + 0x18]
add ecx, 3
push ecx
call edi
add eax, 0x64
add esp, 4
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fst dword [esp + 0x14]
fcomp qword [0x442dc8]
fnstsw ax
test ah, 0x40
je 0x418716
lea edx, [esp + 0x18]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417fe8
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
fstp dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417f1f
mov eax, dword [esp + 0x18]
add eax, 3
push eax
call edi
add eax, 0x64
add esp, 4
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x18]
fild dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x417f1f
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fld st(0)
fsub dword [esp + 0x20]
fld dword [esp + 0x18]
fsub dword [esp + 0x38]
add esp, 4
fdivp st(1)
fst dword [esp + 0x28]
fmul dword [esp + 0x34]
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x20], esi
call sub.MSVCRT.dll__ftol
cmp esi, eax
jg 0x417e5a
lea ecx, [esp + esi*4 + 0x3b0]
fild dword [esp + 0x20]
inc esi
add ecx, 4
cmp esi, eax
mov dword [esp + 0x20], esi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jle 0x417eff
jmp 0x417e5a
cmp esi, 0xc8
jg 0x417f4d
lea ecx, [esp + esi*4 + 0x3b0]
fild dword [esp + 0x20]
inc esi
add ecx, 4
cmp esi, 0xc8
mov dword [esp + 0x20], esi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jle 0x417f2e
fld dword [esp + 0x6d0]
fsub dword [esp + 0x540]
xor ecx, ecx
lea edx, [esp + 0x3b0]
mov dword [esp + 0x20], ecx
fmul dword [0x442f08]
fst dword [esp + 0x28]
fmul dword [0x442e40]
fsubr dword [esp + 0x540]
fstp dword [esp + 0x30]
fild dword [esp + 0x20]
inc ecx
add edx, 4
cmp ecx, 0x64
mov dword [esp + 0x20], ecx
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [edx - 4]
jle 0x417f83
mov esi, 0xc8
lea ecx, [esp + 0x6d0]
mov dword [esp + 0x20], esi
fild dword [esp + 0x20]
inc esi
add ecx, 4
cmp esi, 0x12c
mov dword [esp + 0x20], esi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jle 0x417faf
test eax, eax
je 0x417fe8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
jne 0x417e09
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
call fcn.00422ce0
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41802e
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x40]
push eax
call fcn.00422ce0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x24]
push 0
push 0x20
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x418116
lea ecx, [esp + 0x24]
push 0x463d7c
lea edx, [esp + 0x38]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push 0x1000
push eax
mov byte [esp + 0xd2c], 0x14
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x34]
mov byte [esp + 0xd20], 6
call fcn.00422b90
lea ecx, [esp + 0x38]
mov byte [esp + 0xd20], 5
call fcn.00422b90
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd20], 4
call fcn.00422b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd20], 3
call fcn.00422b90
lea ecx, [esp + 0x40]
mov byte [esp + 0xd20], 2
call fcn.00422b90
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 1
call fcn.00422b90
lea ecx, [esp + 0x18]
mov byte [esp + 0xd20], 0
call fcn.00422b90
lea ecx, [esp + 0x48]
mov dword [esp + 0xd20], 0xffffffff
call fcn.00422d28
xor al, al
mov ecx, dword [esp + 0xd18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41843b
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x18]
push 0x46833c
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x418172
lea edx, [esp + 0x18]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41843b
mov eax, dword [esp + 0x18]
push 0x46833c
push eax
call ebp
add esp, 8
test eax, eax
je 0x418147
test edi, edi
je 0x41843b
mov ecx, dword [esp + 0x18]
add ecx, 3
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add eax, 0x64
add esp, 4
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fst dword [esp + 0x14]
fcomp qword [0x442dc8]
fnstsw ax
test ah, 0x40
je 0x418716
lea edx, [esp + 0x18]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41843b
mov eax, dword [esp + 0x18]
push 0x46833c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x418201
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x41843b
mov edx, dword [esp + 0x18]
push 0x46833c
push edx
call ebp
add esp, 8
test eax, eax
je 0x4181d6
test edi, edi
je 0x41843b
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
fstp dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x418370
mov eax, dword [esp + 0x18]
push 0x46833c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x418279
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x418370
mov edx, dword [esp + 0x18]
push 0x46833c
push edx
call ebp
add esp, 8
test eax, eax
je 0x41824e
test edi, edi
je 0x418370
mov eax, dword [esp + 0x18]
add eax, 3
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add eax, 0x64
add esp, 4
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x18]
fild dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x418370
mov edx, dword [esp + 0x18]
push 0x46833c
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4182f7
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
je 0x418370
mov ecx, dword [esp + 0x18]
push 0x46833c
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4182cc
test edi, edi
je 0x418370
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fld st(0)
fsub dword [esp + 0x20]
fld dword [esp + 0x18]
fsub dword [esp + 0x38]
add esp, 4
fdivp st(1)
fst dword [esp + 0x28]
fmul dword [esp + 0x34]
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x20], esi
call sub.MSVCRT.dll__ftol
cmp esi, eax
jg 0x418217
lea ecx, [esp + esi*4 + 0x864]
fild dword [esp + 0x20]
inc esi
add ecx, 4
cmp esi, eax
mov dword [esp + 0x20], esi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jle 0x418350
jmp 0x418217
cmp esi, 0xc8
jg 0x41839e
lea eax, [esp + esi*4 + 0x864]
fild dword [esp + 0x20]
inc esi
add eax, 4
cmp esi, 0xc8
mov dword [esp + 0x20], esi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [eax - 4]
jle 0x41837f
fld dword [esp + 0xb84]
fsub dword [esp + 0x9f4]
xor eax, eax
lea ecx, [esp + 0x864]
mov dword [esp + 0x20], eax
fmul dword [0x442f08]
fst dword [esp + 0x28]
fmul dword [0x442e40]
fsubr dword [esp + 0x9f4]
fstp dword [esp + 0x30]
fild dword [esp + 0x20]
inc eax
add ecx, 4
cmp eax, 0x64
mov dword [esp + 0x20], eax
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jl 0x4183d4
mov esi, 0xc8
lea eax, [esp + 0xb84]
mov dword [esp + 0x20], esi
fild dword [esp + 0x20]
inc esi
add eax, 4
cmp esi, 0x12c
mov dword [esp + 0x20], esi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [eax - 4]
jle 0x418400
test edi, edi
je 0x41843b
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, eax
test edi, edi
jne 0x418134
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CStdioFile::Close
xor ebp, ebp
xor esi, esi
lea eax, [esp + esi + 0x9f8]
lea ecx, [ebp + 0x64]
mov edi, eax
lea edx, [eax - 4]
test ecx, ecx
jle 0x418584
cmp ecx, 0x12c
jge 0x418584
fld dword [esp + esi + 0x88]
fcomp dword [edx]
fnstsw ax
test ah, 0x40
jne 0x418584
fld dword [esp + esi + 0x88]
fcomp dword [edx]
fld dword [esp + esi + 0x88]
fnstsw ax
test ah, 0x41
jne 0x4184a8
fcomp dword [edi]
fnstsw ax
test ah, 1
jne 0x4184bb
inc ecx
add edi, 4
add edx, 4
jmp 0x418457
fcomp dword [edx - 4]
fnstsw ax
test ah, 0x41
je 0x41851f
dec ecx
sub edi, 4
sub edx, 4
jmp 0x418457
fld dword [esp + ecx*4 + 0x868]
fsub dword [esp + ecx*4 + 0x864]
fcom dword [0x442e5c]
fnstsw ax
test ah, 0x40
jne 0x41850d
fld dword [esp + esi + 0x88]
fsub dword [esp + ecx*4 + 0x864]
fld dword [esp + ecx*4 + 0x3b4]
fsub dword [esp + ecx*4 + 0x3b0]
lea eax, [esp + ecx*4 + 0x3b0]
fmulp st(1)
fdiv st(1)
fadd dword [eax]
fstp dword [esp + esi + 0x21c]
fstp st(0)
jmp 0x418592
mov edx, dword [esp + ecx*4 + 0x3b0]
fstp st(0)
mov dword [esp + esi + 0x21c], edx
jmp 0x418592
fld dword [esp + ecx*4 + 0x864]
fsub dword [esp + ecx*4 + 0x860]
lea edx, [esp + ecx*4 + 0x864]
fcom dword [0x442e5c]
fnstsw ax
test ah, 0x40
jne 0x418572
fld dword [esp + esi + 0x88]
fsub dword [edx - 4]
fld dword [esp + ecx*4 + 0x3b0]
fsub dword [esp + ecx*4 + 0x3ac]
lea eax, [esp + ecx*4 + 0x3b0]
fmulp st(1)
fdiv st(1)
fadd dword [eax - 4]
fstp dword [esp + esi + 0x21c]
fstp st(0)
jmp 0x418592
mov eax, dword [esp + ecx*4 + 0x3ac]
fstp st(0)
mov dword [esp + esi + 0x21c], eax
jmp 0x418592
mov ecx, dword [esp + ecx*4 + 0x3b0]
mov dword [esp + esi + 0x21c], ecx
add esi, 4
inc ebp
cmp esi, 0x190
jle 0x418448
fld dword [ebx + 0xc04]
fild dword [ebx + 0x1c48]
mov eax, 0x64
lea edi, [esp + 0x3ac]
mov dword [esp + 0x20], eax
fmul qword [0x442e48]
fld dword [ebx + 0xc08]
fsub st(2)
fxch st(1)
fsub dword [0x442e40]
fdivp st(1)
fst dword [esp + 0x34]
fmul dword [0x442e40]
fsubp st(1)
fild dword [esp + 0x20]
lea ebp, [eax - 1]
mov dword [esp + 0x44], ebp
fmul qword [0x442e30]
fsubr qword [0x442e28]
fld dword [esp + 0x34]
fmul dword [edi]
fadd st(2)
fild dword [esp + 0x44]
fmul qword [0x442e30]
fsubr qword [0x442e28]
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fmul dword [edi - 4]
fadd st(3)
fsub st(1)
fld dword [esp + 0x14]
fsub st(3)
fdivp st(1)
fst dword [esp + 0x28]
fmul st(2)
fsubr st(1)
fstp dword [esp + 0x30]
fstp st(0)
fadd qword [0x442de0]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x14]
fadd qword [0x442de0]
mov esi, eax
mov dword [esp + 0x1c], esi
call sub.MSVCRT.dll__ftol
cmp esi, eax
jg 0x41867c
lea ecx, [esp + esi*4 + 0x3b0]
fild dword [esp + 0x1c]
inc esi
add ecx, 4
cmp esi, eax
mov dword [esp + 0x1c], esi
fmul dword [esp + 0x28]
fadd dword [esp + 0x30]
fstp dword [ecx - 4]
jle 0x418661
mov eax, ebp
sub edi, 4
cmp eax, 1
mov dword [esp + 0x20], eax
jge 0x4185e2
lea edi, [ebx + 0x136c]
mov ecx, 0xff
lea esi, [esp + 0x3b0]
rep movsd dword es:[edi], dword [esi]
fstp st(0)
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov bl, 0x15
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd20], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0xd24], 0x16
call fcn.00422ce0
mov eax, dword [esp + 0x24]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x4187a8
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd20], bl
call fcn.00422b90
lea ecx, [esp + 0x74]
mov byte [esp + 0xd20], 6
call fcn.00422d28
lea ecx, [esp + 0x38]
mov byte [esp + 0xd20], 5
call fcn.00422b90
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd20], 4
call fcn.00422b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd20], 3
call fcn.00422b90
lea ecx, [esp + 0x40]
mov byte [esp + 0xd20], 2
call fcn.00422b90
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 1
call fcn.00422b90
lea ecx, [esp + 0x18]
mov byte [esp + 0xd20], 0
call fcn.00422b90
lea ecx, [esp + 0x48]
mov dword [esp + 0xd20], 0xffffffff
call fcn.00422d28
xor al, al
mov ecx, dword [esp + 0xd18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
lea edi, [esp + 0x21c]
test esi, esi
je 0x4187dd
cmp esi, 1
je 0x4187dd
cmp esi, 5
je 0x4187dd
cmp esi, 0xa
je 0x4187dd
cmp esi, 0x1e
je 0x4187dd
cmp esi, 0x32
je 0x4187dd
cmp esi, 0x46
je 0x4187dd
cmp esi, 0x5a
je 0x4187dd
cmp esi, 0x64
jne 0x418826
push esi
lea ecx, [esp + 0x60]
push str.m_P_d:_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x68]
add esp, 0xc
lea ecx, [esp + 0x74]
push edx
call sub.MFC42.DLL_CStdioFile::WriteString
fld dword [edi]
sub esp, 8
lea eax, [esp + 0x64]
fstp qword [esp]
push str._t_f_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x6c]
add esp, 0x10
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CStdioFile::WriteString
inc esi
add edi, 4
cmp esi, 0x64
jle 0x4187b1
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CStdioFile::Flush
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CStdioFile::Close
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x40]
push edx
call fcn.00422ce0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
call fcn.00422ce0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd20], bl
call fcn.00422b90
lea ecx, [esp + 0x74]
mov byte [esp + 0xd20], 6
call fcn.00422d28
lea ecx, [esp + 0x38]
mov byte [esp + 0xd20], 5
call fcn.00422b90
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd20], 4
call fcn.00422b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd20], 3
call fcn.00422b90
lea ecx, [esp + 0x40]
mov byte [esp + 0xd20], 2
call fcn.00422b90
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 1
call fcn.00422b90
lea ecx, [esp + 0x18]
mov byte [esp + 0xd20], 0
call fcn.00422b90
lea ecx, [esp + 0x48]
mov dword [esp + 0xd20], 0xffffffff
call fcn.00422d28
mov ecx, dword [esp + 0xd18]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret