Function at 0x417cd0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2050
call fcn.00445f30
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x1060]
mov dword [ebp - 4], 0
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x1060]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CInternetSession::CInternetSession
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x20]
mov edi, 1
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 4
push edx
call fcn.0043e4c0
add esp, 4
test eax, eax
jne 0x417d7b
push str.update.tcjdyou.com
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
push eax
mov bl, 5
push str.http:___s_v7_ver.xml
push ecx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x2c]
add esp, 0xc
lea ecx, [ebp - 0x60]
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 1
push edx
call sub.MFC42.DLL_CInternetSession::OpenURL
mov esi, eax
lea eax, [ebp - 0x14]
push str.tmpver.txt
lea ecx, [ebp - 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push 0x9011
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi]
lea eax, [ebp - 0x2060]
push 0x400
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp eax, 1
jl 0x417e13
lea ecx, [ebp - 0x2060]
push eax
push ecx
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFile::Write
jmp 0x417de9
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFile::GetLength
test eax, eax
jne 0x417e21
xor edi, edi
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
jmp 0x417e57
test esi, esi
mov dword [ebp - 4], 2
je 0x417e72
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
test edi, edi
jne 0x417e8a
push 0x5b2c3c
mov ecx, 0x5da480
call sub.MFC42.DLL_CString::operator_2
jmp 0x417f41
lea ecx, [ebp - 0x14]
push str.tmpver.txt
lea edx, [ebp - 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator_1
lea eax, [ebp - 0x14]
push str.surver.txt
lea ecx, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 8
call sub.MFC42.DLL_operator_1
push str.jdy.upgrade
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00446980
add esp, 0xc
test eax, eax
jne 0x417eee
push 0x5b2c3c
mov ecx, 0x5da480
call sub.MFC42.DLL_CString::operator_2
jmp 0x417f29
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [ebp - 0x18]
push 0
push 0
push edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x417f7b
push 0x5b2c3c
mov ecx, 0x5da480
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00445726
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00445726
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.0044555e
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
inc esi
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CFile::Read
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
push ebx
mov ecx, 0x5da478
call sub.MFC42.DLL_CString::operator_2
push 0x591980
mov ecx, 0x5da478
call sub.MFC42.DLL_CString::Find_2
inc eax
mov ecx, 0x5da478
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0x59197c
mov ecx, 0x5da478
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
lea eax, [ebp - 0x28]
mov ecx, 0x5da478
lea edx, [esi - 1]
push edx
push eax
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x5da480
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
inc esi
mov ecx, 0x5da478
push esi
push 0
call sub.MFC42.DLL_CString::Delete
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00445726
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00445726
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.0044555e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret