Function at 0x1003c42b
Capabilities:
Check if file exists
Create process on windows
Delete file
Delete registry value
Download url
Receive data

Disassembly:
push 0x7c
mov eax, 0x1007b977
call fcn.100751fa
push 0x1009807c
lea ecx, [ebp - 0x4c]
call dword [0x10096f84]
mov ebx, eax
and dword [ebp - 4], 0
push 0x10098030
lea ecx, [ebp - 0x48]
call dword [0x10096f84]
mov edi, eax
push 0x10098048
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call dword [0x10096f84]
lea ecx, [ebp - 0x40]
push 0x10099998
push ecx
mov esi, eax
mov byte [ebp - 4], 2
call fcn.100064c1
lea ecx, [ebp - 0x3c]
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.100060e9
mov edi, 0x1009803c
lea ecx, [ebp - 0x38]
push edi
push ecx
mov esi, eax
mov byte [ebp - 4], 4
call fcn.100064c1
lea ecx, [ebp - 0x34]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.100060e9
lea ecx, [ebp - 0x30]
push edi
push ecx
mov esi, eax
mov byte [ebp - 4], 6
call fcn.100064c1
add esp, 0x28
mov edi, 0x100ea128
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call dword [0x10096f88]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
mov ebx, SysReAllocString
mov dword [ebp - 4], 8
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::constructor_struct_HKEY____const_const__
mov byte [ebp - 4], 9
call sym.ASOHelper.dll_wchar_t_const____cdecl_GetSystweakAppKey_void_
push eax
lea ecx, [ebp - 0x20]
call dword [0x10096f84]
push 1
mov byte [ebp - 4], 0xa
push dword [ebp - 0x20]
lea esi, [ebx + 1]
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], 0x20019
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::Open_struct_HKEY_____wchar_t_const___bool_
test eax, eax
je 0x1003c5ca
push str.sdurl
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::VerifyValue_wchar_t_const__
test eax, eax
je 0x1003c5a0
lea eax, [ebp - 0x14]
push eax
push str.sdurl
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::ReadString_wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push str.InstallSupportDock
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::VerifyValue_wchar_t_const__
test eax, eax
je 0x1003c5c2
lea eax, [ebp - 0x24]
push eax
push str.InstallSupportDock
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::ReadDWORD_wchar_t_const___unsigned_long_int__
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::Close_void_
cmp dword [ebp - 0x24], 0
jne 0x1003c5f3
xor esi, esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
jmp 0x1003c826
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x1003c80a
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x100ea124
call dword [0x10096f88]
lea ecx, [ebp - 0x1c]
call dword [0x10096f98]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xb
call sym.ASOHelper.dll_bool___cdecl_ReturnAppDataFolder_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call dword [0x10096f20]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call dword [0x10096f20]
lea eax, [ebp - 0x10]
push edi
push eax
mov byte [ebp - 4], 0xd
call sym.ASOHelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
lea eax, [ebp - 0x10]
push eax
call sym.ASOHelper.dll_enum_PCO_ERROR_CODES___cdecl_DoesPathExists_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
add esp, 0xc
test eax, eax
je 0x1003c66b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
xor edi, edi
push edi
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, edi
jl 0x1003c7ef
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003c7ef
mov edi, 0x100a24a0
push edi
lea ecx, [ebp - 0x40]
call dword [0x10096ef4]
mov dword [ebp - 0x4c], eax
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call dword [0x10096ef4]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.100060e9
mov byte [ebp - 4], 0x10
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100060e9
add esp, 0x10
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 1
push 0x1009f454
push 0x100a24a4
push dword [ebp - 0x28]
push 0x10098e70
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x4c], ebx
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::constructor_struct_HKEY____const_const__
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x80], 0x2001f
call sym.ASOHelper.dll_wchar_t_const____cdecl_GetSystweakAppKey_void_
push eax
lea ecx, [ebp - 0x18]
call dword [0x10096f84]
push 1
mov byte [ebp - 4], 0x16
push dword [ebp - 0x18]
lea ecx, [ebp - 0x84]
push esi
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::Open_struct_HKEY_____wchar_t_const___bool_
test eax, eax
je 0x1003c7a4
mov ebx, str.sdurl
push ebx
lea ecx, [ebp - 0x84]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::DeleteValue_wchar_t_const__
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x1003c788
push ebx
push dword [ebp - 0x18]
push esi
call edi
mov ebx, str.InstallSupportDock
push ebx
lea ecx, [ebp - 0x84]
call sym.ASOHelper.dll_public:_int___thiscall_CRegistry::DeleteValue_wchar_t_const__
test eax, eax
jne 0x1003c7a4
push ebx
push dword [ebp - 0x18]
push esi
call edi
lea ecx, [ebp - 0x84]
call sym.ASOHelper.dll_public:_void___thiscall_CRegistry::Close_void_
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x84]
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor esi, esi
inc esi
jmp 0x1003c5d2
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x68]
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
call fcn.100752d2
ret