Function at 0x424470
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x434f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push str.__xml_version_1.0__encoding_gb2312_____r_n_HKEY_LOCAL_MACHINE__r_n__HKEY_LOCAL_MACHINE_
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
push 0x43f7fc
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], ebx
xor esi, esi
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 8]
mov byte [esp + 0x4c], 1
push eax
call fcn.00423f60
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42454d
lea edx, [esp + 8]
push edx
call fcn.00424380
add esp, 4
lea ecx, [esp + 0x34]
call fcn.0043140e
mov eax, dword [esp + 8]
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x42453a
mov edx, dword [esp + 0x34]
push ebx
push ebx
lea ecx, [esp + 0x3c]
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CFile::CFile
jmp 0x424552
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CFile::CFile
jmp 0x424952
mov esi, 1
push 0x43f7fc
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
push 0x80000002
lea eax, [esp + 0x28]
push ebx
push eax
push str.VERSION
mov byte [esp + 0x5c], 3
call fcn.00423f80
add esp, 0x10
lea ecx, [esp + 0x20]
push 0x43f7fc
call sub.MFC42.DLL_CString::CString_3
push 0x80000002
lea ecx, [esp + 0x24]
push ebx
push ecx
push str.VERSION2
mov byte [esp + 0x5c], 4
call fcn.00423f80
add esp, 0x10
lea ecx, [esp + 0x1c]
push 0x43f7fc
call sub.MFC42.DLL_CString::CString_3
push 0x80000002
lea edx, [esp + 0x20]
push ebx
push edx
push str.VERSION3
mov byte [esp + 0x5c], 5
call fcn.00423f80
add esp, 0x10
lea ecx, [esp + 0x10]
push 0x43f7fc
call sub.MFC42.DLL_CString::CString_3
push 0x80000002
lea eax, [esp + 0x14]
push ebx
push eax
push str.VERSION
mov byte [esp + 0x5c], 6
call fcn.004213a0
add esp, 0x10
lea ecx, [esp + 0xc]
push 0x43f7fc
call sub.MFC42.DLL_CString::CString_3
push 0x80000002
lea ecx, [esp + 0x10]
push ebx
push ecx
push str.VERSION2
mov byte [esp + 0x5c], 7
call fcn.004213a0
add esp, 0x10
lea ecx, [esp + 0x14]
push 0x43f7fc
call sub.MFC42.DLL_CString::CString_3
push 0x80000002
lea edx, [esp + 0x18]
push ebx
push edx
push str.VERSION3
mov byte [esp + 0x5c], 8
call fcn.004213a0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp dword [eax - 8], ebx
je 0x424666
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], ebx
jne 0x4246d5
cmp esi, ebx
je 0x424675
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
call fcn.0043140e
mov eax, dword [esp + 8]
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 9
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x4248f0
mov edx, dword [esp + 0x34]
push ebx
push ebx
lea ecx, [esp + 0x3c]
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
push ecx
call esi
add esp, 8
test eax, eax
jne 0x4247cf
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push edx
push eax
call esi
add esp, 8
test eax, eax
jne 0x4247cf
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call esi
add esp, 8
test eax, eax
jne 0x4247cf
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4247cf
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], ebx
je 0x4247cf
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], ebx
je 0x4247cf
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
push 0x43f7fc
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x2c]
mov byte [esp + 0x4c], 0xa
push eax
call fcn.00422a00
add esp, 4
lea ecx, [esp + 0x28]
push 0x43f7fc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
push str.RegFile.bin
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x58], 0xb
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
push eax
call fcn.00423b40
mov esi, eax
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
je 0x42484f
call fcn.00424990
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret