Function at 0x4358e6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x34c
mov eax, 0x475b2e
call fcn.00470dac
mov ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34c], edx
mov byte [ebp - 0x341], 0
call fcn.0041f946
test al, al
jne 0x435d2d
mov ecx, edx
call fcn.0041f946
test al, al
jne 0x435d2d
mov dword [ebp - 0x28], str.Zoom.exe
lea esi, [ebp - 0x28]
mov dword [ebp - 0x24], 0x48e5bc
mov dword [ebp - 0x20], 0x48e5d4
mov dword [ebp - 0x1c], 0x48e5f0
mov dword [ebp - 0x18], str.CptInstall.exe
mov dword [ebp - 0x14], str.CptService.exe
mov edx, dword [esi]
mov ecx, edi
mov dword [ebp - 0x348], edx
call fcn.0041f830
mov ecx, eax
call fcn.00445d40
test eax, eax
je 0x435cc5
add esi, 4
lea eax, [ebp - 0x10]
cmp esi, eax
jne 0x435955
mov ecx, dword [ebp - 0x34c]
call fcn.0041f830
mov esi, str.Installer.exe
mov ecx, eax
mov edx, esi
call fcn.00445d40
test eax, eax
jne 0x4359fe
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x238]
call fcn.0041f735
push 2
pop esi
push 0xffffffffffffffff
push str._CZoomInstaller::CheckPreInstallZoomProductInfo__check_file_failed__wrong_key_file
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], esi
call fcn.0041f735
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x130]
mov edx, esi
push eax
mov ecx, 0x2713
call fcn.00437b62
add esp, 0xc
lea ecx, [ebp - 0x130]
call fcn.0041f7d9
lea ecx, [ebp - 0x238]
jmp 0x435d28
push edi
lea ecx, [ebp - 0x340]
call fcn.0041f766
push 0x485444
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 4
call fcn.0041faa2
push str.ZoomInstall.xml
lea ecx, [ebp - 0x340]
call fcn.0041faa2
lea eax, [ebp - 0x340]
mov ecx, ebx
push eax
call fcn.0043697f
test al, al
jne 0x435a4e
lea ecx, [ebp - 0x340]
jmp 0x435d28
xor eax, eax
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], eax
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebx + 0x880]
call fcn.00439abc
mov eax, dword [ebp - 0x354]
mov ecx, 0x428
mov esi, dword [ebp - 0x358]
mov dword [ebp - 0x348], eax
jmp 0x435b3b
cmp dword [esi + 0x420], 1
jne 0x435b39
lea eax, [esi + 0x210]
push eax
lea ecx, [ebp - 0x130]
call fcn.0041f766
push ecx
mov ecx, edi
call fcn.0041f830
push eax
push str._bin_
lea ecx, [ebp - 0x130]
call fcn.0041fced
push 0x485444
lea ecx, [ebp - 0x130]
call fcn.0041faa2
lea edx, [esi + 0x318]
mov ecx, edx
call fcn.0041f946
test al, al
mov ecx, esi
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x130]
call fcn.0041fa85
lea ecx, [ebp - 0x130]
call fcn.0041f830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435be3
test al, 0x10
jne 0x435be3
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 5
call fcn.0041f7d9
mov eax, dword [ebp - 0x348]
mov ecx, 0x428
add esi, ecx
cmp esi, eax
jne 0x435a94
push edi
lea ecx, [ebx + 0x218]
call fcn.0041f982
push dword [ebp - 0x34c]
lea ecx, [ebx + 0x530]
call fcn.0041f982
mov esi, dword [ebp - 0x358]
mov byte [ebp - 0x341], 1
test esi, esi
je 0x435a43
mov edi, dword [ebp - 0x354]
mov ebx, 0x428
cmp esi, edi
je 0x435b97
mov ecx, esi
call fcn.00436c2f
add esi, ebx
cmp esi, edi
jne 0x435b84
mov esi, dword [ebp - 0x358]
mov eax, dword [ebp - 0x350]
sub eax, esi
mov dword [ebp - 0x348], esi
cdq
idiv ebx
imul eax, eax, 0x428
mov dword [ebp - 0x34c], eax
cmp eax, 0x1000
jb 0x435ca3
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.0040149b
mov eax, dword [ebp - 0x34c]
mov esi, dword [ebp - 0x348]
jmp 0x435ca1
push 0xffffffffffffffff
push str._CZoomInstaller::CheckPreInstallZoomProductInfo__check_file_failed__cannot_find_file
lea ecx, [ebp - 0x238]
call fcn.0041f735
push esi
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x238]
mov ecx, 0x2713
push eax
push 2
pop edx
call fcn.00437b62
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.0041f7d9
lea ecx, [ebp - 0x130]
call fcn.0041f7d9
mov esi, dword [ebp - 0x358]
test esi, esi
je 0x435a43
mov edi, dword [ebp - 0x354]
mov ebx, 0x428
cmp esi, edi
je 0x435c5e
mov ecx, esi
call fcn.00436c2f
add esi, ebx
cmp esi, edi
jne 0x435c4b
mov esi, dword [ebp - 0x358]
mov eax, dword [ebp - 0x350]
sub eax, esi
mov dword [ebp - 0x34c], esi
cdq
idiv ebx
imul eax, eax, 0x428
mov dword [ebp - 0x348], eax
cmp eax, 0x1000
jb 0x435ca3
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.0040149b
mov eax, dword [ebp - 0x348]
mov esi, dword [ebp - 0x34c]
pop ecx
pop ecx
push eax
push esi
call fcn.00465474
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], eax
jmp 0x435a43
push 0xffffffffffffffff
push dword [ebp - 0x348]
lea ecx, [ebp - 0x130]
call fcn.0041f735
and dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
push 0xffffffffffffffff
push str._CZoomInstaller::CheckPreInstallZoomProductInfo__check_file_failed__wrong_key_file
call fcn.0041f735
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x238]
mov ecx, 0x2713
push eax
push 2
pop edx
call fcn.00437b62
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.0041f7d9
lea ecx, [ebp - 0x130]
call fcn.0041f7d9
mov al, byte [ebp - 0x341]
call fcn.00470d5b
ret 8