Function at 0x40fa46
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x82c
mov eax, 0x465703
call fcn.00464112
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:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
mov dword [ebp - 0x830], eax
call fcn.0040c3fa
and dword [ebp - 4], 0
mov edx, str.Start_DelProgId...
mov ecx, 0x490320
call fcn.004103ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0040c599
push esi
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x814]
call fcn.00410630
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.0040fe19
push 0
push edi
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x814]
push ebx
push eax
call fcn.0040ff09
mov esi, eax
test esi, esi
je 0x40fd0e
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.0045d8a0
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 0x40fc0d
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x47a6bc
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fbf9
cmp dword [ebp - 0x818], 1
jne 0x40fbf9
lea eax, [ebp - 0x7e4]
push eax
call fcn.0043cd78
mov edi, dword [ebp - 0x81c]
pop ecx
push eax
lea eax, [ebp - 0x7e4]
mov ecx, edi
push eax
call fcn.0040acdb
push 0x2ea
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push ebx
lea ecx, [ebp - 0x82c]
call fcn.0040c3fa
mov edx, str.DelProgId_DefaultIcon:
mov byte [ebp - 4], 3
mov ecx, 0x490320
call fcn.004103ea
mov edx, edi
mov ecx, eax
call fcn.0040b93e
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 2
call fcn.0040c599
jmp 0x40fbff
mov edi, dword [ebp - 0x81c]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40fc13
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.0045d8a0
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 0x40fd05
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x47a6bc
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fcf9
cmp dword [ebp - 0x818], 1
jne 0x40fcf9
lea eax, [ebp - 0x7e4]
push eax
call fcn.0043cd78
pop ecx
mov ecx, dword [ebp - 0x830]
push eax
lea eax, [ebp - 0x7e4]
push eax
call fcn.0040acdb
push 0x2f8
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
lea ecx, [ebp - 0x834]
call fcn.0040c3fa
mov edx, str.DelProgId_cmd:
mov byte [ebp - 4], 4
mov ecx, 0x490320
call fcn.004103ea
mov edx, dword [ebp - 0x830]
mov ecx, eax
call fcn.0040b93e
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 2
call fcn.0040c599
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40fd14
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.0040f547
mov eax, dword [ebp - 0x7e8]
cmp eax, 8
jb 0x40fd56
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x7fc]
call fcn.004036dc
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.0040ac61
call fcn.004640cd
ret 0x10