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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58453a
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.00431f10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x470], 0
jne 0x432f73
mov eax, 0x5bd5cc
mov ecx, 0xf
jmp 0x433ba1
lea eax, [ebp - 0x480]
mov ecx, esi
push eax
call fcn.00432a30
add esi, 0x20
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x432f8e
mov ecx, dword [esi]
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
push ecx
cmovae eax, dword [ebp - 0x480]
push eax
call fcn.00556aee
add esp, 8
push 6
test eax, eax
je 0x433b55
call fcn.004deaf0
add esp, 4
test eax, eax
je 0x432ff8
cmp dword [esi + 0x14], 8
jb 0x432fca
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:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 6
call fcn.00428a80
add esp, 0x10
push 6
call fcn.004deaf0
add esp, 4
test eax, eax
je 0x433048
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
mov edx, str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_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.00432020
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00556180
add esp, 0xc
cmp dword [ebp - 0x428], 0
jne 0x4332d4
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 0x4330cb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x438]
mov byte [ebp - 0x4f9], 0
call fcn.00425730
jmp 0x433bb1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x433124
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4330f0
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 0x433a32
push 0xf
push str.downloadsuccess
mov ecx, edi
call fcn.00425790
push 6
call fcn.004deaf0
add esp, 4
test eax, eax
je 0x4331ee
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edx, str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_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 0x43353e
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.0042fae0
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x500], eax
cmp byte [eax + 0xd], 0
jne 0x4333e8
cmp dword [eax + 0x24], 8
lea edx, [eax + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x504], eax
jb 0x433280
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.0042f960
add esp, 0xc
test eax, eax
jne 0x4333db
mov eax, dword [ebp - 0x504]
mov ecx, esi
cmp eax, ecx
jbe 0x4333d7
or eax, 0xffffffff
jmp 0x4333db
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 0x433124
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 0x433124
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00434ef0
push eax
mov edx, str.createdestdirfails:
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4b0]
call fcn.004343d0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x433377
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.004deaf0
add esp, 4
test eax, eax
je 0x4333c0
push str.CreateDirectory_failed
push 0xab
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428ac0
add esp, 0xc
lea ecx, [ebp - 0x438]
mov byte [ebp - 0x4f9], 0
call fcn.00425730
jmp 0x433bb1
sbb eax, eax
neg eax
mov esi, dword [ebp - 0x50c]
shr eax, 0x1f
test al, al
je 0x4333f0
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 0x43353e
cmp dword [eax + 0x3c], 8
lea ecx, [eax + 0x28]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x504], edx
jb 0x43341d
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.0042f960
add esp, 0xc
test eax, eax
jne 0x43353e
cmp dword [ebp - 0x504], 4
jb 0x43353e
ja 0x43353e
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 0x433493
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.00443ee0
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.00425730
test esi, esi
jne 0x433538
push 0x19
push str.signaturevalidationfailed
mov ecx, edi
call fcn.00425790
push 1
call fcn.004deaf0
add esp, 4
test eax, eax
je 0x433b36
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edx, str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_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 0x433b36
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.00432920
mov byte [ebp - 4], 8
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x428]
sub eax, ecx
cmp eax, 1
jb 0x433bdf
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 0x5bda2c
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x508]
call fcn.004344d0
push 0x5bda24
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00434360
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.00556180
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 0x4336ee
movzx eax, word [esi + ecx]
test ax, ax
je 0x4336ee
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4336d0
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 0x4337e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.00434ef0
push eax
mov edx, 0x5bda30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x468]
call fcn.004343d0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x43379a
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.004deaf0
add esp, 4
test eax, eax
je 0x433921
cmp dword [edi + 0x14], 8
jb 0x4337ce
mov edi, dword [edi]
lea eax, [ebp - 0x500]
push eax
push str.CreateProcess_failed:__s
push 0xe4
jmp 0x433904
push 0xffffffffffffffff
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x433843
push 0x13
push str.waitonprocessfailed
mov ecx, edi
call fcn.00425790
push 1
call fcn.004deaf0
add esp, 4
test eax, eax
je 0x433921
push str.WaitForSingleObject_failed
push 0xeb
push str.CMcUpdateExecutor::DownloadAndExecuteInstaller
mov edx, str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428ac0
add esp, 0xc
mov byte [ebp - 0x4f9], 0
jmp 0x4339f3
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 0x43392d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00434ef0
push eax
mov edx, str.exitcodeprocessfailed:
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4c8]
call fcn.004343d0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x4338c3
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.004deaf0
add esp, 4
test eax, eax
je 0x433921
cmp dword [edi + 0x14], 8
jb 0x4338f3
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:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov dword [ebp - 0x500], edi
mov ecx, 1
call fcn.00428a80
add esp, 0x10
mov byte [ebp - 0x4f9], 0
jmp 0x4339f3
push dword [ebp - 0x508]
lea eax, [ebp - 0x468]
push eax
call fcn.00434ef0
add esp, 8
mov byte [ebp - 4], 0x10
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x458]
sub eax, ecx
cmp eax, 0x1b
jb 0x433be4
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.004344d0
lea eax, [ebp - 0x450]
cmp edi, eax
je 0x4339d6
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 0x433a1c
push eax
call esi
mov eax, dword [ebp - 0x51c]
test eax, eax
je 0x433b3d
push eax
call esi
jmp 0x433b3d
push 1
lea ecx, [ebp - 0x5f8]
call fcn.00433f40
lea eax, [ebp - 0x5f8]
mov byte [ebp - 4], 4
push 0x5bd934
push eax
call fcn.00426cc0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
call fcn.00434ed0
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.00433e60
push eax
mov edx, str.downloadfailederror:
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c8]
call fcn.004343d0
mov esi, eax
add esp, 4
cmp edi, esi
je 0x433acd
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.004deaf0
add esp, 4
test eax, eax
je 0x433b2b
cmp dword [edi + 0x14], 8
jb 0x433afd
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:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcXMLUpdaterMcUpdateExecutor.cpp
mov ecx, 1
call fcn.00428a80
add esp, 0x10
lea ecx, [ebp - 0x5f8]
call fcn.00433bf0
mov byte [ebp - 0x4f9], 0
lea ecx, [ebp - 0x4e0]
call fcn.00425730
lea ecx, [ebp - 0x438]
call fcn.00425730
jmp 0x433bb1
call fcn.004deaf0
add esp, 4
test eax, eax
je 0x433b97
cmp dword [esi + 0x14], 8
jb 0x433b69
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:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_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.00553cca
mov esp, ebp
pop ebp
ret 4
call fcn.004213b0
call fcn.004213b0
int3