Function at 0x40e797
Capabilities:
Set registry value

Disassembly:
push 0x64
mov eax, 0x462782
call fcn.00461432
mov ebx, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push 0x14e
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x4c], ecx
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x64], eax
call fcn.0040c17a
and dword [ebp - 4], 0
mov edx, str.Start_SetInternetCallInfo
mov ecx, 0x48b250
call fcn.004102a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040c319
push dword [ebp - 0x68]
mov edx, str.SoftwareClientsZoomPBX_
lea ecx, [ebp - 0x44]
call fcn.004104e6
pop ecx
push 0
push esi
push edi
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
call fcn.0040fd8c
mov edi, eax
test edi, edi
je 0x40e89f
mov eax, dword [ebp - 0x68]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40e83e
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor esi, esi
add eax, eax
push eax
push ecx
push 1
push esi
push 0x4764dc
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40e8fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x15a
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0040c17a
mov byte [ebp - 4], 2
mov edx, str.RegSetValueEx_fail_error_code:
push esi
push ecx
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409ec1
lea ecx, [ebp - 0x48]
call fcn.0040c319
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.0040a991
test edi, edi
je 0x40e8b5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x50], 0
je 0x40e8c4
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x58], 0
je 0x40e8d3
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x5c], 0
je 0x40e8e2
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x60], 0
je 0x40e8f1
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.004613ed
ret 0x18
push esi
lea eax, [ebp - 0x50]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push 0x4768b4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40e93e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x161
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0040c17a
mov byte [ebp - 4], 3
jmp 0x40e87e
lea ecx, [ebx + 0x18]
cmp dword [ecx + 0x14], 8
jb 0x40e949
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x28]
add eax, eax
push eax
push ecx
push 1
push esi
push str.ApplicationDescription
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40e98a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x168
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0040c17a
mov byte [ebp - 4], 4
jmp 0x40e87e
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x40e994
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
add eax, eax
push eax
push ecx
push 1
push esi
push str.ApplicationIcon
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40e9d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x16f
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0040c17a
mov byte [ebp - 4], 5
jmp 0x40e87e
lea ecx, [ebx + 0x30]
cmp dword [ecx + 0x14], 8
jb 0x40e9e0
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x40]
add eax, eax
push eax
push ecx
push 1
push esi
push str.ApplicationName
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40ea21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x176
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0040c17a
mov byte [ebp - 4], 6
jmp 0x40e87e
push esi
lea eax, [ebp - 0x58]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.UrlAssociations
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40ea6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x17d
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0040c17a
mov byte [ebp - 4], 7
mov edx, str.RegCreateKeyEx_fail_error_code:
jmp 0x40e883
mov eax, dword [ebp - 0x6c]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x40ea78
mov edx, dword [eax]
mov esi, dword [ebp - 0x54]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x40ea85
mov ecx, dword [esi]
mov eax, dword [eax + 0x10]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40eadf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x184
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0040c17a
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov byte [ebp - 4], 8
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409ec1
lea ecx, [ebp - 0x54]
jmp 0x40e89a
push esi
mov edx, str.Protocols_
lea ecx, [ebp - 0x2c]
call fcn.004104e6
pop ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push ecx
push edx
push 0x2001f
push edx
push edx
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40eb67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x18b
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0040c17a
push esi
push ecx
mov edx, str.RegCreateKeyEx_fail_error_code:
mov byte [ebp - 4], 0xa
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409ec1
lea ecx, [ebp - 0x54]
call fcn.0040c319
lea ecx, [ebp - 0x2c]
call fcn.0040a991
jmp 0x40e89f
push ecx
push ecx
push dword [ebp - 0x64]
mov ecx, ebx
push esi
push dword [ebp - 0x5c]
call fcn.0040e1c3
mov esi, eax
test esi, esi
jne 0x40eb8a
lea ecx, [ebp - 0x2c]
call fcn.0040a991
jmp 0x40e8a2
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.shellopencommand
push edi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40ebee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x198
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.0040c17a
push esi
push ecx
mov edx, str.RegCreateKeyEx_fail_error_code:
mov byte [ebp - 4], 0xb
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409ec1
lea ecx, [ebp - 0x64]
jmp 0x40eb55
lea ecx, [ebx + 0x48]
cmp dword [ecx + 0x14], 8
jb 0x40ebf9
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x58]
add eax, eax
push eax
push ecx
push 1
push esi
push 0x4764dc
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40ec56
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x19f
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040c17a
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov byte [ebp - 4], 0xc
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409ec1
lea ecx, [ebp - 0x70]
jmp 0x40eb55
xor esi, esi
inc esi
jmp 0x40eb7d