Function at 0x432fa0
Capabilities:
Check if file exists
Create directory
Create process on windows
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5849fa
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x50c], esi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x480]
push eax
call fcn.00431fa0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x470], 0
jne 0x433003
mov eax, 0x5bd6ec
mov ecx, 0xf
jmp 0x433c31
lea eax, [ebp - 0x480]
mov ecx, esi
push eax
call fcn.00432ac0
add esi, 0x20
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x43301e
mov ecx, dword [esi]
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
push ecx
cmovae eax, dword [ebp - 0x480]
push eax
call fcn.00556bce
add esp, 8
push 6
test eax, eax
je 0x433be5
call fcn.004dec10
add esp, 4
test eax, eax
je 0x433088
cmp dword [esi + 0x14], 8
jb 0x43305a
mov esi, dword [esi]
lea eax, [ebp - 0x500]
mov dword [ebp - 0x500], esi
push eax
push str.Domain__s_is_present_in_download_URL
push 0x87
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 6
call fcn.00428b00
add esp, 0x10
push 6
call fcn.004dec10
add esp, 4
test eax, eax
je 0x4330d8
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 6
cmovae eax, dword [ebp - 0x480]
mov dword [ebp - 0x500], eax
lea eax, [ebp - 0x500]
push eax
push str.Successfully_formed_download_url_is:__s
push 0x90
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
call fcn.00428b00
add esp, 0x10
mov esi, dword [ebp - 0x50c]
lea eax, [ebp - 0x438]
push eax
mov ecx, esi
call fcn.004320b0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00556260
add esp, 0xc
cmp dword [ebp - 0x428], 0
jne 0x433364
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x104
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x504], eax
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
push dword [ebp - 0x504]
test eax, eax
jne 0x43315b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x438]
mov byte [ebp - 0x4f9], 0
call fcn.004257b0
jmp 0x433c41
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4331b4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433180
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00425810
push 9
push str.Installer
lea ecx, [ebp - 0x438]
call fcn.00425920
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004289f0
push 0x19
push str.SecurityScan_Release.exe
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.00425920
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
push 0
cmovae ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x480]
cmp dword [ebp - 0x46c], 8
push 0
cmovae eax, dword [ebp - 0x480]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x500], eax
test eax, eax
js 0x433ac2
push 0xf
push str.downloadsuccess
mov ecx, edi
call fcn.00425810
push 6
call fcn.004dec10
add esp, 4
test eax, eax
je 0x43327e
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 6
cmovae eax, dword [ebp - 0x438]
mov dword [ebp - 0x500], eax
lea eax, [ebp - 0x500]
push eax
push str.Successfully_download_the_file_at:__s
push 0xb7
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
call fcn.00428b00
add esp, 0x10
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4335ce
push 8
push str.VALIDATE
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
call fcn.00425810
lea eax, [ebp - 0x450]
mov ecx, esi
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.0042fb70
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x500], eax
cmp byte [eax + 0xd], 0
jne 0x433478
cmp dword [eax + 0x24], 8
lea edx, [eax + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x504], eax
jb 0x433310
mov edx, dword [edx]
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
mov eax, dword [ebp - 0x440]
mov esi, eax
cmovae ecx, dword [ebp - 0x450]
cmp dword [ebp - 0x504], esi
cmovb eax, dword [ebp - 0x504]
push eax
push edx
push ecx
call fcn.0042f9f0
add esp, 0xc
test eax, eax
jne 0x43346b
mov eax, dword [ebp - 0x504]
mov ecx, esi
cmp eax, ecx
jbe 0x433467
or eax, 0xffffffff
jmp 0x43346b
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4331b4
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 0
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4331b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00434f80
push eax
mov edx, str.createdestdirfails:
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4b0]
call fcn.00434460
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x433407
mov ecx, edi
call fcn.004257b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x4b0]
call fcn.004257b0
lea ecx, [ebp - 0x498]
mov byte [ebp - 4], 1
call fcn.004257b0
push 1
call fcn.004dec10
add esp, 4
test eax, eax
je 0x433450
push str.CreateDirectory_failed
push 0xab
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428b40
add esp, 0xc
lea ecx, [ebp - 0x438]
mov byte [ebp - 0x4f9], 0
call fcn.004257b0
jmp 0x433c41
sbb eax, eax
neg eax
mov esi, dword [ebp - 0x50c]
shr eax, 0x1f
test al, al
je 0x433480
mov eax, dword [esi]
mov dword [ebp - 0x500], eax
lea ecx, [ebp - 0x450]
call fcn.004257b0
mov eax, dword [ebp - 0x500]
cmp eax, dword [esi]
je 0x4335ce
cmp dword [eax + 0x3c], 8
lea ecx, [eax + 0x28]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x504], edx
jb 0x4334ad
mov ecx, dword [ecx]
cmp edx, 4
mov dword [ebp - 0x500], 4
mov eax, edx
cmova eax, dword [ebp - 0x500]
push eax
push str.TRUE
push ecx
call fcn.0042f9f0
add esp, 0xc
test eax, eax
jne 0x4335ce
cmp dword [ebp - 0x504], 4
jb 0x4335ce
ja 0x4335ce
cmp dword [ebp - 0x424], 8
lea edx, [ebp - 0x438]
mov dword [ebp - 0x450], eax
cmovae edx, dword [ebp - 0x438]
mov ecx, edx
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433523
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00425810
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.00443f70
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004257b0
test esi, esi
jne 0x4335c8
push 0x19
push str.signaturevalidationfailed
mov ecx, edi
call fcn.00425810
push 1
call fcn.004dec10
add esp, 4
test eax, eax
je 0x433bc6
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
lea ecx, [esi + 1]
cmovae eax, dword [ebp - 0x438]
mov dword [ebp - 0x500], eax
lea eax, [ebp - 0x500]
push eax
push str.IsMcAfeeSigned_failed_for_:__s
push 0xcf
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
call fcn.00428b00
add esp, 0x10
jmp 0x433bc6
mov esi, dword [ebp - 0x50c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x51c], xmm0
mov byte [ebp - 4], 7
xor eax, eax
mov word [ebp - 0x51e], ax
mov ecx, esi
mov word [ebp - 0x530], ax
lea eax, [ebp - 0x498]
push eax
movlpd qword [ebp - 0x55c], xmm0
movlpd qword [ebp - 0x554], xmm0
movlpd qword [ebp - 0x54c], xmm0
movlpd qword [ebp - 0x544], xmm0
movlpd qword [ebp - 0x53c], xmm0
movlpd qword [ebp - 0x52e], xmm0
movlpd qword [ebp - 0x526], xmm0
mov dword [ebp - 0x560], 0x44
mov dword [ebp - 0x534], 1
call fcn.004329b0
mov byte [ebp - 4], 8
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x428]
sub eax, ecx
cmp eax, 1
jb 0x433c6f
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push ecx
cmovae eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x450]
push eax
push 1
push 0x5bdb4c
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x508]
call fcn.00434560
push 0x5bdb44
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.004343f0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x498]
cmp dword [ebp - 0x484], 8
push dword [ebp - 0x488]
cmovae ecx, dword [ebp - 0x498]
push ecx
mov ecx, eax
call fcn.00425920
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x460], xmm0
movups xmmword [ebp - 0x4b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x4f8]
call fcn.004257b0
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xd
call fcn.004257b0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00556260
add esp, 0xc
lea esi, [ebp - 0x4b0]
cmp dword [ebp - 0x49c], 8
lea ecx, [ebp - 0x420]
mov eax, ecx
mov edx, 0x104
cmovae esi, dword [ebp - 0x460]
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x43377e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43377e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x433760
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x4cc], 8
mov word [eax], cx
lea ecx, [ebp - 0x51c]
push ecx
lea ecx, [ebp - 0x560]
push ecx
lea eax, [ebp - 0x4e0]
cmovae eax, dword [ebp - 0x4e0]
push eax
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x433874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00434f80
push eax
mov edx, 0x5bdb50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x468]
call fcn.00434460
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x43382a
mov ecx, edi
call fcn.004257b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x468]
call fcn.004257b0
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 0xd
call fcn.004257b0
push 1
call fcn.004dec10
add esp, 4
test eax, eax
je 0x4339b1
cmp dword [edi + 0x14], 8
jb 0x43385e
mov edi, dword [edi]
lea eax, [ebp - 0x500]
push eax
push str.CreateProcess_failed:__s
push 0xe4
jmp 0x433994
push 0xffffffffffffffff
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4338d3
push 0x13
push str.waitonprocessfailed
mov ecx, edi
call fcn.00425810
push 1
call fcn.004dec10
add esp, 4
test eax, eax
je 0x4339b1
push str.WaitForSingleObject_failed
push 0xeb
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428b40
add esp, 0xc
mov byte [ebp - 0x4f9], 0
jmp 0x433a83
lea eax, [ebp - 0x508]
mov dword [ebp - 0x508], 0
push eax
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4339bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00434f80
push eax
mov edx, str.exitcodeprocessfailed:
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4c8]
call fcn.00434460
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x433953
mov ecx, edi
call fcn.004257b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x4c8]
call fcn.004257b0
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xd
call fcn.004257b0
push 1
call fcn.004dec10
add esp, 4
test eax, eax
je 0x4339b1
cmp dword [edi + 0x14], 8
jb 0x433983
mov edi, dword [edi]
lea eax, [ebp - 0x500]
push eax
push str.Exit_Code_process_failed:__s
push 0xf3
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov dword [ebp - 0x500], edi
mov ecx, 1
call fcn.00428b00
add esp, 0x10
mov byte [ebp - 0x4f9], 0
jmp 0x433a83
push dword [ebp - 0x508]
lea eax, [ebp - 0x468]
push eax
call fcn.00434f80
add esp, 8
mov byte [ebp - 4], 0x10
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x458]
sub eax, ecx
cmp eax, 0x1b
jb 0x433c74
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
push ecx
cmovae eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x450]
push eax
push 0x1b
push str.executesuccesswithexitcode:
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x508]
call fcn.00434560
lea eax, [ebp - 0x450]
cmp edi, eax
je 0x433a66
mov ecx, edi
call fcn.004257b0
movups xmm0, xmmword [ebp - 0x450]
xor eax, eax
mov word [ebp - 0x450], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x440]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
lea ecx, [ebp - 0x450]
call fcn.004257b0
lea ecx, [ebp - 0x468]
mov byte [ebp - 0x4f9], 1
call fcn.004257b0
lea ecx, [ebp - 0x4b0]
call fcn.004257b0
lea ecx, [ebp - 0x498]
call fcn.004257b0
mov eax, dword [ebp - 0x518]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x433aac
push eax
call esi
mov eax, dword [ebp - 0x51c]
test eax, eax
je 0x433bcd
push eax
call esi
jmp 0x433bcd
push 1
lea ecx, [ebp - 0x5f8]
call fcn.00433fd0
lea eax, [ebp - 0x5f8]
mov byte [ebp - 4], 4
push 0x5bda54
push eax
call fcn.00426d40
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
call fcn.00434f60
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x500]
call fcn.004242b0
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00433ef0
push eax
mov edx, str.downloadfailederror:
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c8]
call fcn.00434460
mov esi, eax
add esp, 4
cmp edi, esi
je 0x433b5d
mov ecx, edi
call fcn.004257b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x4c8]
call fcn.004257b0
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 4
call fcn.004257b0
push 1
call fcn.004dec10
add esp, 4
test eax, eax
je 0x433bbb
cmp dword [edi + 0x14], 8
jb 0x433b8d
mov edi, dword [edi]
lea eax, [ebp - 0x500]
mov dword [ebp - 0x500], edi
push eax
push str.Failed_To_Download_File:__s
push 0xbe
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428b00
add esp, 0x10
lea ecx, [ebp - 0x5f8]
call fcn.00433c80
mov byte [ebp - 0x4f9], 0
lea ecx, [ebp - 0x4e0]
call fcn.004257b0
lea ecx, [ebp - 0x438]
call fcn.004257b0
jmp 0x433c41
call fcn.004dec10
add esp, 4
test eax, eax
je 0x433c27
cmp dword [esi + 0x14], 8
jb 0x433bf9
mov esi, dword [esi]
lea eax, [ebp - 0x500]
mov dword [ebp - 0x500], esi
push eax
push str.Domain__s_is_not_present_in_download_URL
push 0x8b
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 6
call fcn.00428b00
add esp, 0x10
mov eax, str.invaliddownloadurl
mov ecx, 0x12
push ecx
push eax
mov ecx, edi
call fcn.00425810
mov byte [ebp - 0x4f9], 0
lea ecx, [ebp - 0x480]
call fcn.004257b0
mov al, byte [ebp - 0x4f9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553daa
mov esp, ebp
pop ebp
ret 4
call fcn.00421430
call fcn.00421430
int3