Function at 0x4063e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x472261
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x28], 3
mov eax, dword [esp + 0x30]
lea esi, [edi + 0x65c]
push eax
mov ecx, esi
call sub.HZDKernel.dll_public:_void___thiscall_HZD::Kernel::OS::CHash::SetHashFile_char_const__
push 5
mov ecx, esi
call sub.HZDKernel.dll_public:_void___thiscall_HZD::Kernel::OS::CHash::SetHashAlgorithm_int_
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.HZDKernel.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_HZD::Kernel::OS::CHash::DoHash_void_
mov byte [esp + 0x28], 4
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x406536
mov eax, dword [esp + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48068c
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0
push edi
push ecx
mov byte [esp + 0x38], 5
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
mov byte [esp + 0x3c], 6
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov ecx, 0x49403e
mov byte [esp + 0x3c], 4
call sub.HZDKernel.dll_public:_void___thiscall_HZD::Kernel::Net::CHttp::DownLoad_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_CWnd___bool__class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, esi
call sub.HZDKernel.dll_public:_void___thiscall_HZD::Kernel::OS::CHash::SetHashFile_char_const__
push 5
mov ecx, esi
call sub.HZDKernel.dll_public:_void___thiscall_HZD::Kernel::OS::CHash::SetHashAlgorithm_int_
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.HZDKernel.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_HZD::Kernel::OS::CHash::DoHash_void_
mov byte [esp + 0x28], 7
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x406525
mov ecx, dword [esp + 0x30]
push ecx
call ebp
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
mov byte [esp + 0x30], 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x30], 7
call sub.HZDKernel.dll_public:_static_bool___cdecl_HZD::Kernel::Helper::CBaseHelper::ReFileName_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 8
mov ecx, dword [esp + 0x38]
push ecx
call ebp
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret 0x10