Function at 0x14003d214
Capabilities:
Check if file exists
Download url
Get file attributes
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov qword [rbp - 0x80], r13
lea r15d, [r13 + 4]
mov dword [rsp + 0x68], r15d
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x64], r15d
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r14, str.IgnoreHosts
mov r8, r14
lea rdx, str.SOFTWAREMcAfee
mov rcx, 0xffffffff80000002
call fcn.14005f4c0
lea rbx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonHostFileLocker.cpp
lea edi, [r13 + 1]
lea r12d, [r13 + 5]
test eax, eax
jne 0x14003d2f6
cmp dword [rsp + 0x50], edi
jne 0x14003d2f6
mov ecx, edi
call fcn.1400e2070
test eax, eax
je 0x14003d342
mov qword [rsp + 0x28], r14
lea rax, str.Skip_locking_hosts_file_as_per__s_setting
mov qword [rsp + 0x20], rax
mov r9d, 0xaf
lea r8, [0x14035f140]
mov rdx, rbx
mov ecx, edi
call fcn.140041cb4
jmp 0x14003d342
lea rcx, [rbp - 0x80]
call fcn.14005f9c4
mov dword [rsp + 0x6c], eax
test eax, eax
je 0x14003d342
mov ecx, r12d
call fcn.1400e2070
test eax, eax
je 0x14003d342
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, str._r_nUnable_to_lock_the_hosts_file._Error:__d
mov qword [rsp + 0x20], rax
mov r9d, 0xb6
lea r8, [0x14035f140]
mov rdx, rbx
mov ecx, r12d
call fcn.140032100
nop
mov dword [rsp + 0x74], r15d
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
mov r8, r14
lea rdx, str.SOFTWAREMcAfee
mov rcx, 0xffffffff80000002
call fcn.14005f4c0
test eax, eax
jne 0x14003d3c8
cmp dword [rsp + 0x54], edi
jne 0x14003d3c8
mov ecx, edi
call fcn.1400e2070
test eax, eax
je 0x14003d441
mov qword [rsp + 0x28], r14
lea rax, str.Skip_cleaning_hosts_file_as_per__s_setting
mov qword [rsp + 0x20], rax
mov r9d, 0xcb
lea r8, str.CSIS::HostFileLocker::CleanHostsFile
mov rdx, rbx
mov ecx, edi
call fcn.140041cb4
jmp 0x14003d441
mov ecx, edi
call fcn.1400e2070
test eax, eax
je 0x14003d3f6
lea rax, str.Clean_up_hosts_file
mov qword [rsp + 0x20], rax
mov r9d, 0xcf
lea r8, str.CSIS::HostFileLocker::CleanHostsFile
mov rdx, rbx
mov ecx, edi
call fcn.14003209c
mov rcx, qword [rbp - 0x80]
call fcn.14005fbec
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14003d441
mov ecx, r12d
call fcn.1400e2070
test eax, eax
je 0x14003d441
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.Could_not_clean_the_hosts_file._Error:__lu
mov qword [rsp + 0x20], rax
mov r9d, 0xd4
lea r8, str.CSIS::HostFileLocker::CleanHostsFile
mov rdx, rbx
mov ecx, r12d
call fcn.140032100
mov qword [rbp + 0x20], r13
mov r14d, 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x10], r13w
lea rdx, str._mantle_1.0.0.0__reqtypedwnmgrurllangiden_usaffid0osostosspiemode0wss1isbetafalseremediation1
lea rcx, [rbp + 0x10]
call fcn.140031d84
nop
mov dword [rsp + 0x5c], r13d
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r14
mov word [rbp - 0x30], r13w
mov dword [rsp + 0x58], r13d
lea rax, vtable.CSIS::WebServices.0
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], r13
xor eax, eax
mov byte [rbp + 0xa8], al
movdqa xmm0, xmmword [0x14037f990]
movdqa xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], r13w
mov qword [rbp], r13
mov qword [rbp + 8], r14
mov word [rbp - 0x10], r13w
lea rdx, str.consumerapps.mcafee.com
lea rcx, [rbp - 0x10]
call fcn.140031d84
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x90]
call fcn.14005b698
nop
mov rdx, qword [rbp + 8]
lea r15d, [r14 + 1]
cmp rdx, r15
jb 0x14003d505
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
call fcn.1400331fc
xor eax, eax
lock cmpxchg byte [rbp + 0xa8], dil
jne 0x14003d52e
call fcn.14005c1f0
test al, al
jne 0x14003d52e
lea rdx, str.192.168.0.1
lea rcx, [0x1403d9528]
call fcn.140031d84
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], r14
mov word [rbp + 0xd0], r13w
lea rdx, [0x140355f14]
lea rcx, [rbp + 0xd0]
call fcn.140031d84
nop
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r14
mov word [rbp + 0x70], r13w
lea rdx, [0x140355f14]
lea rcx, [rbp + 0x70]
call fcn.140031d84
nop
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r14
mov word [rbp + 0x50], r13w
lea rdx, case.0x1400c82a4.0
lea rcx, [rbp + 0x50]
call fcn.140031d84
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x90]
call fcn.14005b7f0
test al, al
sete bl
mov rdx, qword [rbp + 0x68]
cmp rdx, r15
jb 0x14003d5fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
call fcn.1400331fc
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r14
mov word [rbp + 0x50], r13w
mov rdx, qword [rbp + 0x88]
cmp rdx, r15
jb 0x14003d624
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
call fcn.1400331fc
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r14
mov word [rbp + 0x70], r13w
mov rdx, qword [rbp + 0xe8]
cmp rdx, r15
jb 0x14003d657
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
call fcn.1400331fc
test bl, bl
je 0x14003d702
mov rbx, qword [rsi + 0x208]
mov qword [rbp], r13
mov qword [rbp + 8], r14
mov word [rbp - 0x10], r13w
lea rdx, str.request_CSIS_download_URL_error
lea rcx, [rbp - 0x10]
call fcn.140031d84
nop
lea r9, [rbp - 0x10]
mov dl, byte [rsi + 0x160]
mov rcx, rbx
call fcn.140036918
nop
mov rdx, qword [rbp + 8]
cmp rdx, r15
jb 0x14003d6b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
call fcn.1400331fc
mov ecx, r12d
call fcn.1400e2070
test eax, eax
je 0x14003db79
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_request_CSIS_download_URL._HTTP_response:__ld__WinHTTP_error:_0x_08X
mov qword [rsp + 0x20], rax
mov r9d, 0x12f
lea r8, str.CSIS::Upgrade::DownloadInstaller
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISUpgradeUpgrade.cpp
mov ecx, r12d
call fcn.140041ad0
jmp 0x14003db79
lea r12, [rsi + 0x1f8]
mov al, byte [r12]
test al, al
je 0x14003d751
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14003db79
lea rax, str.Download_aborted
mov qword [rsp + 0x20], rax
mov r9d, 0x135
lea r8, str.CSIS::Upgrade::DownloadInstaller
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISUpgradeUpgrade.cpp
mov ecx, ebx
call fcn.14003209c
jmp 0x14003db79
lea rcx, [rbp - 0x30]
call fcn.140041b4c
mov dword [rbp - 0x58], 0x28
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], r15
cmovae rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x58]
call qword [sym.imp.SHLWAPI.dll_ParseURLW]
test eax, eax
jns 0x14003d82e
mov rbx, qword [rsi + 0x208]
mov qword [rbp], r13
mov qword [rbp + 8], r14
mov word [rbp - 0x10], r13w
lea rdx, str.CSIS_download_URL_bad_format_error
lea rcx, [rbp - 0x10]
call fcn.140031d84
nop
lea r9, [rbp - 0x10]
mov dl, byte [rsi + 0x160]
mov rcx, rbx
call fcn.140036918
nop
mov rdx, qword [rbp + 8]
cmp rdx, r15
jb 0x14003d7d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
call fcn.1400331fc
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14003db79
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], r15
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.CSIS_download_URL_is_invalid:__ls
mov qword [rsp + 0x20], rax
mov r9d, 0x142
lea r8, str.CSIS::Upgrade::DownloadInstaller
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISUpgradeUpgrade.cpp
mov ecx, ebx
call fcn.1400323dc
jmp 0x14003db79
lea r14, [rsi + 0x168]
mov rcx, r14
cmp qword [r14 + 0x18], r15
jb 0x14003d841
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003d854
test al, 0x10
jne 0x14003da1f
cmp qword [rsi + 0x178], r13
jne 0x14003d8a5
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], 7
mov word [rbp + 0xf0], r13w
lea rdx, str.McInstallTemp
lea rcx, [rbp + 0xf0]
call fcn.140031d84
nop
mov ebx, edi
mov dword [rsp + 0x60], ebx
mov rdx, r14
lea rcx, [rbp + 0xf0]
call fcn.14004b408
mov r15b, al
jmp 0x14003d8fa
mov qword [rbp + 0x120], r13
mov qword [rbp + 0x128], r13
mov rdx, r14
lea rcx, [rbp + 0x110]
call fcn.140034c5c
nop
mov dl, dil
lea rcx, [rbp + 0x110]
call fcn.14004afe0
mov r15b, al
mov rdx, qword [rbp + 0x128]
cmp rdx, 8
jb 0x14003d8f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x110]
call fcn.1400331fc
mov ebx, dword [rsp + 0x60]
test dil, bl
je 0x14003d920
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x14003d920
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
call fcn.1400331fc
test r15b, r15b
jne 0x14003da19
mov rbx, qword [rsi + 0x208]
mov qword [rbp], r13
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r13w
lea rdx, str.create_cache_dir_error
lea rcx, [rbp - 0x10]
call fcn.140031d84
nop
lea r9, [rbp - 0x10]
mov dl, byte [rsi + 0x160]
mov rcx, rbx
call fcn.140036918
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14003d980
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
call fcn.1400331fc
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14003d9d1
cmp qword [r14 + 0x18], 8
jb 0x14003d99a
mov r14, qword [r14]
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_create_cache_directory:__ls
mov qword [rsp + 0x20], rax
mov r9d, 0x14d
lea r8, str.CSIS::Upgrade::DownloadInstaller
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISUpgradeUpgrade.cpp
mov ecx, ebx
call fcn.1400323dc
nop
lea rcx, [rbp + 0x90]
call fcn.14005b61c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14003d9f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.1400331fc
mov qword [rbp - 0x20], r13
mov r14d, 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jmp 0x14003dbb4
mov r15d, 8
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov rdx, r14
lea rcx, [rbp + 0x30]
call fcn.140034c5c
nop
mov r8d, 0xe
lea rdx, str.CSISSetup.exe
lea rcx, [rbp + 0x30]
call fcn.140031c78
mov dword [rsp + 0x78], r13d
lea rax, vtable.CSIS::URLDownloadProgress.0
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r12
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], r15
cmovae r8, qword [rbp + 0x30]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], r15
cmovae rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [rsp + 0x7c], eax
test eax, eax
jns 0x14003dbcf
mov rbx, qword [rsi + 0x208]
mov qword [rbp], r13
mov r14d, 7
mov qword [rbp + 8], r14
mov word [rbp - 0x10], r13w
lea rdx, str.download_installer_error
lea rcx, [rbp - 0x10]
call fcn.140031d84
nop
lea r9, [rbp - 0x10]
mov dl, byte [rsi + 0x160]
mov rcx, rbx
call fcn.140036918
nop
mov rdx, qword [rbp + 8]
cmp rdx, r15
jb 0x14003daf9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
call fcn.1400331fc
mov ecx, edi
call fcn.1400e2070
test eax, eax
je 0x14003db52
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], r15
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_download_installer._Error:_0x_08X__URL:__ls
mov qword [rsp + 0x20], rax
mov r9d, 0x15c
lea r8, str.CSIS::Upgrade::DownloadInstaller
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISUpgradeUpgrade.cpp
mov ecx, edi
call fcn.140041c38
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, r15
jb 0x14003db6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
call fcn.1400331fc
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r14
mov word [rbp + 0x30], r13w
lea rcx, [rbp + 0x90]
call fcn.14005b61c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r15
jb 0x14003dba0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.1400331fc
mov word [rbp - 0x30], r13w
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x20], r13
mov rdx, qword [rbp + 0x28]
cmp rdx, r15
jb 0x14003dbc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
call fcn.1400331fc
mov dil, r13b
jmp 0x14003dcad
lea rbx, [rsi + 0x188]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.140036dcc
mov ecx, edi
call fcn.1400e2070
test eax, eax
je 0x14003dc2a
cmp qword [rbx + 0x18], r15
jb 0x14003dbf6
mov rbx, qword [rbx]
mov qword [rbp - 0x78], rbx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, str.Installer_package_is_downloaded_successfully_to__ls
mov qword [rsp + 0x20], rax
mov r9d, 0x161
lea r8, str.CSIS::Upgrade::DownloadInstaller
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISUpgradeUpgrade.cpp
mov ecx, edi
call fcn.1400323dc
mov eax, edi
xchg byte [rsi + 0x1f9], al
mov rdx, qword [rbp + 0x48]
cmp rdx, r15
jb 0x14003dc4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
call fcn.1400331fc
mov qword [rbp + 0x40], r13
mov r14d, 7
mov qword [rbp + 0x48], r14
mov word [rbp + 0x30], r13w
lea rcx, [rbp + 0x90]
call fcn.14005b61c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r15
jb 0x14003dc86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.1400331fc
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r14
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp + 0x28]
cmp rdx, r15
jb 0x14003dcad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
call fcn.1400331fc
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r14
mov word [rbp + 0x10], r13w
lea rcx, [rbp - 0x80]
call fcn.140060594
mov al, dil
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret