Function at 0x406390
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x11a8]
mov eax, 0x121c
call fcn.00412d00
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.004037bb
test al, al
jne 0x4063e3
xor al, al
jmp 0x40687a
cmp byte [ebp - 0x5e], 0
je 0x4063dc
lea edi, [ebx + 0x3a]
mov dword [ebp - 0x64], edi
test edi, edi
je 0x4063dc
call fcn.00403235
test al, al
je 0x4063dc
cmp byte [ebx + 0x440], 0
push esi
je 0x4064ac
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x3a5]
push 0
push eax
mov byte [ebp + 0x3a4], 0
call fcn.004070d0
push esi
lea eax, [ebp - 0x5b]
push 0
push eax
mov byte [ebp - 0x5c], 0
call fcn.004070d0
add esp, 0x18
push str.domain
mov eax, 0x41dddc
call fcn.0040335f
inc esi
test eax, eax
je 0x40644f
push eax
jmp 0x406454
push str.https:__ringcentral.zoom.us
lea eax, [ebp + 0x3a4]
push esi
push eax
call fcn.00407b52
add esp, 0xc
push str._upgrade_oswin
lea eax, [ebp + 0x3a4]
push esi
push eax
call fcn.0040736d
push edi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00407b52
push str._upgrade_response
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0040736d
add esp, 0x24
push 1
lea eax, [ebp - 0x5c]
push 0xc3800
push eax
lea eax, [ebp + 0x3a4]
lea edi, [ebx + 0x28]
jmp 0x40686d
mov esi, 0x41dddc
push str.downloadRoot
mov eax, esi
call fcn.0040335f
mov dword [ebp - 0x68], eax
push str.package.version
mov eax, esi
call fcn.0040335f
mov dword [ebp - 0x70], eax
push str.installer.exe
mov eax, esi
call fcn.0040335f
mov dword [ebp - 0x6c], eax
push str.package.name
mov eax, esi
call fcn.0040335f
xor ecx, ecx
cmp dword [ebp - 0x68], ecx
je 0x406877
cmp dword [ebp - 0x70], ecx
je 0x406877
cmp dword [ebp - 0x6c], ecx
je 0x406877
cmp eax, ecx
je 0x406877
push 0x1ff
push ecx
lea eax, [ebp + 0x7a5]
push eax
mov byte [ebp + 0x7a4], cl
call fcn.004070d0
movzx eax, byte [ebp - 0x5d]
push eax
lea eax, [ebp + 0x7a4]
push str._CZpDownloadMgr::PrepareDownloadFileList__isxp:__d
push eax
call fcn.00406bb9
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x18
lea eax, [ebp + 0x7a4]
push eax
call edi
call fcn.00403e3c
mov esi, 0x400
test al, al
je 0x406572
call fcn.00403ebc
test al, al
je 0x406572
push str._CZpDownloadMgr::NeedDownloadVCRed__return_true
call edi
jmp 0x4065fc
push str._CZpDownloadMgr::NeedDownloadVCRed__return_false
call edi
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
mov byte [ebx + 0x38], 1
call fcn.004070d0
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.004070d0
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407b52
mov edi, str._vcredist_x86.exe
push edi
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407b52
push edi
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.0040736d
add esp, 0x48
push 0
push 0x1b2538
lea eax, [ebp + 0x9a4]
push eax
lea eax, [ebp + 0xda4]
push eax
lea edi, [ebx + 0x28]
call fcn.00401f1d
cmp byte [ebp - 0x5d], 0
je 0x406689
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
mov byte [ebx + 0x39], 1
call fcn.004070d0
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.004070d0
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407b52
mov edi, str._winhttp.dll
push edi
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407b52
push edi
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.0040736d
add esp, 0x48
push 0
push 0x61a80
lea eax, [ebp + 0x9a4]
push eax
lea eax, [ebp + 0xda4]
push eax
lea edi, [ebx + 0x28]
call fcn.00401f1d
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
call fcn.004070d0
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.004070d0
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407b52
mov ebx, 0x417d60
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push dword [ebp - 0x70]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
add esp, 0x48
push dword [ebp - 0x6c]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407b52
push str._Installer.exe
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.0040736d
mov edi, dword [ebp - 0x74]
add esp, 0x24
push 0
push 0xc3800
lea eax, [ebp + 0x9a4]
push eax
lea eax, [ebp + 0xda4]
add edi, 0x28
push eax
mov dword [ebp - 0x74], edi
call fcn.00401f1d
push esi
lea eax, [ebp + 0xda4]
push 0
push eax
call fcn.004070d0
push esi
lea eax, [ebp + 0x9a4]
push 0
push eax
call fcn.004070d0
push dword [ebp - 0x68]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.00407b52
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push dword [ebp - 0x70]
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push ebx
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
add esp, 0x48
mov edi, str.Zoom.msi
push edi
lea eax, [ebp + 0xda4]
push esi
push eax
call fcn.0040736d
push dword [ebp - 0x64]
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.00407b52
push ebx
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.0040736d
push edi
lea eax, [ebp + 0x9a4]
push esi
push eax
call fcn.0040736d
add esp, 0x30
push str.package.size
mov eax, 0x41dddc
mov dword [ebp - 0x6c], 0x58aa00
call fcn.0040335f
mov ebx, eax
test ebx, ebx
je 0x406858
push ebx
call fcn.00407d40
mov edi, eax
lea eax, [edi + 5]
push eax
call fcn.00406c89
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x406858
lea eax, [edi + 5]
push eax
push 0
push esi
call fcn.004070d0
push ebx
lea eax, [edi + 5]
push eax
push esi
call fcn.00407b52
lea eax, [esi + edi - 1]
mov cl, byte [eax]
add esp, 0x18
cmp cl, 0x6b
je 0x406841
cmp cl, 0x4b
jne 0x406844
mov byte [eax], 0
push esi
call fcn.00408da1
cmp eax, 0xbb8
pop ecx
jle 0x406858
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.00401f1d
mov al, 1
jmp 0x406879
xor al, al
pop esi
mov ecx, dword [ebp + 0x11a4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00406bdf
add ebp, 0x11a8
leave
ret