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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58497a
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.00431f30
mov dword [ebp - 4], 0
cmp dword [ebp - 0x470], 0
jne 0x432f93
mov eax, 0x5bd6ec
mov ecx, 0xf
jmp 0x433bc1
lea eax, [ebp - 0x480]
mov ecx, esi
push eax
call fcn.00432a50
add esi, 0x20
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x432fae
mov ecx, dword [esi]
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
push ecx
cmovae eax, dword [ebp - 0x480]
push eax
call fcn.00556b4e
add esp, 8
push 6
test eax, eax
je 0x433b75
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433018
cmp dword [esi + 0x14], 8
jb 0x432fea
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:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 6
call fcn.00428a80
add esp, 0x10
push 6
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433068
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
mov edx, str.E:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_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.00428a80
add esp, 0x10
mov esi, dword [ebp - 0x50c]
lea eax, [ebp - 0x438]
push eax
mov ecx, esi
call fcn.00432040
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005561e0
add esp, 0xc
cmp dword [ebp - 0x428], 0
jne 0x4332f4
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 0x4330eb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x438]
mov byte [ebp - 0x4f9], 0
call fcn.00425730
jmp 0x433bd1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x433144
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433110
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00425790
push 9
push str.Installer
lea ecx, [ebp - 0x438]
call fcn.004258a0
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.00428970
push 0x19
push str.SecurityScan_Release.exe
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.004258a0
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 0x433a52
push 0xf
push str.downloadsuccess
mov ecx, edi
call fcn.00425790
push 6
call fcn.004deb80
add esp, 4
test eax, eax
je 0x43320e
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edx, str.E:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_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.00428a80
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 0x43355e
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.00425790
lea eax, [ebp - 0x450]
mov ecx, esi
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.0042fb00
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x500], eax
cmp byte [eax + 0xd], 0
jne 0x433408
cmp dword [eax + 0x24], 8
lea edx, [eax + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x504], eax
jb 0x4332a0
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.0042f980
add esp, 0xc
test eax, eax
jne 0x4333fb
mov eax, dword [ebp - 0x504]
mov ecx, esi
cmp eax, ecx
jbe 0x4333f7
or eax, 0xffffffff
jmp 0x4333fb
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 0x433144
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 0x433144
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00434f10
push eax
mov edx, str.createdestdirfails:
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4b0]
call fcn.004343f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x433397
mov ecx, edi
call fcn.00425730
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.00425730
lea ecx, [ebp - 0x498]
mov byte [ebp - 4], 1
call fcn.00425730
push 1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x4333e0
push str.CreateDirectory_failed
push 0xab
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428ac0
add esp, 0xc
lea ecx, [ebp - 0x438]
mov byte [ebp - 0x4f9], 0
call fcn.00425730
jmp 0x433bd1
sbb eax, eax
neg eax
mov esi, dword [ebp - 0x50c]
shr eax, 0x1f
test al, al
je 0x433410
mov eax, dword [esi]
mov dword [ebp - 0x500], eax
lea ecx, [ebp - 0x450]
call fcn.00425730
mov eax, dword [ebp - 0x500]
cmp eax, dword [esi]
je 0x43355e
cmp dword [eax + 0x3c], 8
lea ecx, [eax + 0x28]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x504], edx
jb 0x43343d
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.0042f980
add esp, 0xc
test eax, eax
jne 0x43355e
cmp dword [ebp - 0x504], 4
jb 0x43355e
ja 0x43355e
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 0x4334b3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00425790
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.00443f30
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.00425730
test esi, esi
jne 0x433558
push 0x19
push str.signaturevalidationfailed
mov ecx, edi
call fcn.00425790
push 1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433b56
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edx, str.E:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_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.00428a80
add esp, 0x10
jmp 0x433b56
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.00432940
mov byte [ebp - 4], 8
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x428]
sub eax, ecx
cmp eax, 1
jb 0x433bff
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.004344f0
push 0x5bdb44
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00434380
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.004258a0
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.00425730
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xd
call fcn.00425730
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005561e0
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 0x43370e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43370e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4336f0
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 0x433804
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00434f10
push eax
mov edx, 0x5bdb50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x468]
call fcn.004343f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x4337ba
mov ecx, edi
call fcn.00425730
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.00425730
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 0xd
call fcn.00425730
push 1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433941
cmp dword [edi + 0x14], 8
jb 0x4337ee
mov edi, dword [edi]
lea eax, [ebp - 0x500]
push eax
push str.CreateProcess_failed:__s
push 0xe4
jmp 0x433924
push 0xffffffffffffffff
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x433863
push 0x13
push str.waitonprocessfailed
mov ecx, edi
call fcn.00425790
push 1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433941
push str.WaitForSingleObject_failed
push 0xeb
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428ac0
add esp, 0xc
mov byte [ebp - 0x4f9], 0
jmp 0x433a13
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 0x43394d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00434f10
push eax
mov edx, str.exitcodeprocessfailed:
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4c8]
call fcn.004343f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x4338e3
mov ecx, edi
call fcn.00425730
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.00425730
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xd
call fcn.00425730
push 1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433941
cmp dword [edi + 0x14], 8
jb 0x433913
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:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov dword [ebp - 0x500], edi
mov ecx, 1
call fcn.00428a80
add esp, 0x10
mov byte [ebp - 0x4f9], 0
jmp 0x433a13
push dword [ebp - 0x508]
lea eax, [ebp - 0x468]
push eax
call fcn.00434f10
add esp, 8
mov byte [ebp - 4], 0x10
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x458]
sub eax, ecx
cmp eax, 0x1b
jb 0x433c04
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.004344f0
lea eax, [ebp - 0x450]
cmp edi, eax
je 0x4339f6
mov ecx, edi
call fcn.00425730
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.00425730
lea ecx, [ebp - 0x468]
mov byte [ebp - 0x4f9], 1
call fcn.00425730
lea ecx, [ebp - 0x4b0]
call fcn.00425730
lea ecx, [ebp - 0x498]
call fcn.00425730
mov eax, dword [ebp - 0x518]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x433a3c
push eax
call esi
mov eax, dword [ebp - 0x51c]
test eax, eax
je 0x433b5d
push eax
call esi
jmp 0x433b5d
push 1
lea ecx, [ebp - 0x5f8]
call fcn.00433f60
lea eax, [ebp - 0x5f8]
mov byte [ebp - 4], 4
push 0x5bda54
push eax
call fcn.00426cc0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
call fcn.00434ef0
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x500]
call fcn.00424230
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00433e80
push eax
mov edx, str.downloadfailederror:
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c8]
call fcn.004343f0
mov esi, eax
add esp, 4
cmp edi, esi
je 0x433aed
mov ecx, edi
call fcn.00425730
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.00425730
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 4
call fcn.00425730
push 1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433b4b
cmp dword [edi + 0x14], 8
jb 0x433b1d
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:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428a80
add esp, 0x10
lea ecx, [ebp - 0x5f8]
call fcn.00433c10
mov byte [ebp - 0x4f9], 0
lea ecx, [ebp - 0x4e0]
call fcn.00425730
lea ecx, [ebp - 0x438]
call fcn.00425730
jmp 0x433bd1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x433bb7
cmp dword [esi + 0x14], 8
jb 0x433b89
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:BT7c039243_72da_4e0d_8a2b_71068e04940dFreetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 6
call fcn.00428a80
add esp, 0x10
mov eax, str.invaliddownloadurl
mov ecx, 0x12
push ecx
push eax
mov ecx, edi
call fcn.00425790
mov byte [ebp - 0x4f9], 0
lea ecx, [ebp - 0x480]
call fcn.00425730
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.00553d2a
mov esp, ebp
pop ebp
ret 4
call fcn.004213b0
call fcn.004213b0
int3