Function at 0x4065e1
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x11a8]
mov eax, 0x121c
call fcn.00412f50
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp + 0x11a4], eax
push ebx
push edi
mov ebx, ecx
lea eax, [ebp - 0x5d]
push eax
lea edx, [ebp - 0x5f]
lea ecx, [ebp - 0x60]
lea edi, [ebp - 0x5e]
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 0
mov byte [ebp - 0x60], 0
mov byte [ebp - 0x5f], 0
call fcn.0040383f
test al, al
jne 0x406634
xor al, al
jmp 0x406acb
cmp byte [ebp - 0x5e], 0
je 0x40662d
lea edi, [ebx + 0x56]
mov dword [ebp - 0x64], edi
test edi, edi
je 0x40662d
call fcn.004032b9
test al, al
je 0x40662d
cmp byte [ebx + 0x45c], 0
push esi
je 0x4066fd
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x3a5]
push 0
push eax
mov byte [ebp + 0x3a4], 0
call fcn.00407320
push esi
lea eax, [ebp - 0x5b]
push 0
push eax
mov byte [ebp - 0x5c], 0
call fcn.00407320
add esp, 0x18
push str.domain
mov eax, 0x41dddc
call fcn.004033e3
inc esi
test eax, eax
je 0x4066a0
push eax
jmp 0x4066a5
push str.https:__ringcentral_officeathand_att.zoom.us
lea eax, [ebp + 0x3a4]
push esi
push eax
call fcn.00407da2
add esp, 0xc
push str._upgrade_oswin
lea eax, [ebp + 0x3a4]
push esi
push eax
call fcn.004075bd
push edi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00407da2
push str._upgrade_response
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.004075bd
add esp, 0x24
push 1
lea eax, [ebp - 0x5c]
push 0xc3800
push eax
lea eax, [ebp + 0x3a4]
lea edi, [ebx + 0x44]
jmp 0x406abe
mov esi, 0x41dddc
push str.downloadRoot
mov eax, esi
call fcn.004033e3
mov dword [ebp - 0x68], eax
push str.package.version
mov eax, esi
call fcn.004033e3
mov dword [ebp - 0x70], eax
push str.installer.exe
mov eax, esi
call fcn.004033e3
mov dword [ebp - 0x6c], eax
push str.package.name
mov eax, esi
call fcn.004033e3
xor ecx, ecx
cmp dword [ebp - 0x68], ecx
je 0x406ac8
cmp dword [ebp - 0x70], ecx
je 0x406ac8
cmp dword [ebp - 0x6c], ecx
je 0x406ac8
cmp eax, ecx
je 0x406ac8
push 0x1ff
push ecx
lea eax, [ebp + 0x7a5]
push eax
mov byte [ebp + 0x7a4], cl
call fcn.00407320
movzx eax, byte [ebp - 0x5d]
push eax
lea eax, [ebp + 0x7a4]
push str._CZpDownloadMgr::PrepareDownloadFileList__isxp:__d
push eax
call fcn.00406e0a
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x18
lea eax, [ebp + 0x7a4]
push eax
call edi
call fcn.00403ec0
mov esi, 0x400
test al, al
je 0x4067c3
call fcn.00403f40
test al, al
je 0x4067c3
push str._CZpDownloadMgr::NeedDownloadVCRed__return_true
call edi
jmp 0x40684d
push str._CZpDownloadMgr::NeedDownloadVCRed__return_false
call edi
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
mov byte [ebx + 0x54], 1
call fcn.00407320
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.00407320
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407da2
mov edi, str._vcredist_x86.exe
push edi
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407da2
push edi
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.004075bd
add esp, 0x48
push 0
push 0x1b2538
lea eax, [ebp + 0x9a4]
push eax
lea eax, [ebp + 0xda4]
push eax
lea edi, [ebx + 0x44]
call fcn.00401f69
cmp byte [ebp - 0x5d], 0
je 0x4068da
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
mov byte [ebx + 0x55], 1
call fcn.00407320
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.00407320
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407da2
mov edi, str._winhttp.dll
push edi
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407da2
push edi
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.004075bd
add esp, 0x48
push 0
push 0x61a80
lea eax, [ebp + 0x9a4]
push eax
lea eax, [ebp + 0xda4]
push eax
lea edi, [ebx + 0x44]
call fcn.00401f69
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
call fcn.00407320
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.00407320
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407da2
mov ebx, 0x417d60
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push dword [ebp - 0x70]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
add esp, 0x48
push dword [ebp - 0x6c]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407da2
push str._Installer.exe
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.004075bd
mov edi, dword [ebp - 0x74]
add esp, 0x24
push 0
push 0xc3800
lea eax, [ebp + 0x9a4]
push eax
lea eax, [ebp + 0xda4]
add edi, 0x44
push eax
mov dword [ebp - 0x74], edi
call fcn.00401f69
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
call fcn.00407320
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.00407320
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407da2
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push dword [ebp - 0x70]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
add esp, 0x48
mov edi, str.Zoom.msi
push edi
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.004075bd
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407da2
push ebx
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.004075bd
push edi
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.004075bd
add esp, 0x30
push str.package.size
mov eax, 0x41dddc
mov dword [ebp - 0x6c], 0x58aa00
call fcn.004033e3
mov ebx, eax
test ebx, ebx
je 0x406aa9
push ebx
call fcn.00407f90
mov edi, eax
lea eax, [edi + 5]
push eax
call fcn.00406eda
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x406aa9
lea eax, [edi + 5]
push eax
push 0
push esi
call fcn.00407320
push ebx
lea eax, [edi + 5]
push eax
push esi
call fcn.00407da2
lea eax, [esi + edi - 1]
mov cl, byte [eax]
add esp, 0x18
cmp cl, 0x6b
je 0x406a92
cmp cl, 0x4b
jne 0x406a95
mov byte [eax], 0
push esi
call fcn.00408ff1
cmp eax, 0xbb8
pop ecx
jle 0x406aa9
shl eax, 0xa
mov dword [ebp - 0x6c], eax
mov edi, dword [ebp - 0x74]
push 0
push dword [ebp - 0x6c]
lea eax, [ebp + 0x9a4]
push eax
lea eax, [ebp + 0xda4]
push eax
call fcn.00401f69
mov al, 1
jmp 0x406aca
xor al, al
pop esi
mov ecx, dword [ebp + 0x11a4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00406e30
add ebp, 0x11a8
leave
ret