Function at 0x40f8b9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x82c
mov eax, 0x462a2b
call fcn.00461432
mov dword [ebp - 0x81c], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x82c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push 0x2d9
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
mov dword [ebp - 0x830], eax
call fcn.0040c17a
and dword [ebp - 4], 0
mov edx, str.Start_DelProgId...
mov ecx, 0x48b250
call fcn.004102a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0040c319
push esi
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x814]
call fcn.004104e6
pop ecx
mov dword [ebp - 4], 1
xor eax, eax
and dword [ebp - 0x7ec], 0
mov dword [ebp - 0x7e8], 7
mov word [ebp - 0x7fc], ax
push edi
push ebx
lea eax, [ebp - 0x7fc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0040fc9c
push 0
push edi
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x814]
push ebx
push eax
call fcn.0040fd8c
mov esi, eax
test esi, esi
je 0x40fb5d
xor ebx, ebx
lea eax, [ebp - 0x7e4]
push 0x7d0
push ebx
push eax
mov dword [ebp - 0x820], ebx
mov dword [ebp - 0x818], ebx
call fcn.0045a980
add esp, 0xc
mov dword [ebp - 0x824], 0x7ce
lea eax, [ebp - 0x820]
push eax
push 0x20019
push ebx
push str.DefaultIcon
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fa6a
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x4764dc
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 0x81c]
test eax, eax
jne 0x40fa5c
cmp dword [ebp - 0x818], 1
jne 0x40fa5c
lea eax, [ebp - 0x7e4]
mov ecx, edi
push eax
call fcn.0040aa0b
push 0x2ea
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push ebx
lea ecx, [ebp - 0x82c]
call fcn.0040c17a
mov edx, str.DelProgId_DefaultIcon:
mov byte [ebp - 4], 3
mov ecx, 0x48b250
call fcn.004102a0
mov edx, edi
mov ecx, eax
call fcn.0040b69e
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 2
call fcn.0040c319
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40fa70
mov edi, dword [ebp - 0x81c]
push 0x7d0
lea eax, [ebp - 0x7e4]
mov dword [ebp - 0x828], ebx
push ebx
push eax
mov dword [ebp - 0x818], ebx
call fcn.0045a980
add esp, 0xc
mov dword [ebp - 0x824], 0x7ce
lea eax, [ebp - 0x828]
push eax
push 0x20019
push ebx
push str.shellopencommand
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fb54
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x4764dc
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fb48
cmp dword [ebp - 0x818], 1
jne 0x40fb48
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x7e4]
push eax
call fcn.0040aa0b
push 0x2f8
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
lea ecx, [ebp - 0x834]
call fcn.0040c17a
mov edx, str.DelProgId_cmd:
mov byte [ebp - 4], 4
mov ecx, 0x48b250
call fcn.004102a0
mov edx, dword [ebp - 0x830]
mov ecx, eax
call fcn.0040b69e
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 2
call fcn.0040c319
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40fb63
mov edi, dword [ebp - 0x81c]
cmp dword [ebp - 0x7e8], 8
lea eax, [ebp - 0x7fc]
mov ecx, edi
cmovae eax, dword [ebp - 0x7fc]
push eax
push dword [ebp - 0x838]
call fcn.0040f397
mov eax, dword [ebp - 0x7e8]
cmp eax, 8
jb 0x40fba5
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x7fc]
call fcn.004031ab
pop ecx
pop ecx
and dword [ebp - 0x7ec], 0
lea ecx, [ebp - 0x814]
xor eax, eax
mov dword [ebp - 0x7e8], 7
mov word [ebp - 0x7fc], ax
call fcn.0040a991
call fcn.004613ed
ret 0x10