Function at 0x40bb63
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x824
mov eax, 0x4728bd
call fcn.00470dac
mov dword [ebp - 0x814], 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 0x2ea
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 0
mov dword [ebp - 0x828], eax
call fcn.0040808d
and dword [ebp - 4], 0
mov edx, str.Start_DelProgId...
mov ecx, 0x49f450
call fcn.0040c787
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0040822b
push esi
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x810]
call fcn.004077a4
pop ecx
mov dword [ebp - 4], 1
xor eax, eax
and dword [ebp - 0x7f8], 0
and dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
push edi
push ebx
lea eax, [ebp - 0x7f8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0040bf6d
push 0
push edi
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0040c0bc
mov edi, eax
test edi, edi
je 0x40be2d
xor ebx, ebx
lea eax, [ebp - 0x7e0]
mov esi, 0x7d0
mov dword [ebp - 0x824], ebx
push esi
push ebx
push eax
mov dword [ebp - 0x820], ebx
call fcn.00469380
add esp, 0xc
mov dword [ebp - 0x818], 0x7ce
lea eax, [ebp - 0x824]
push eax
push 0x20019
push ebx
push str.DefaultIcon
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bd33
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x820]
push eax
push ebx
push 0x4863a4
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bd1f
cmp dword [ebp - 0x820], 1
jne 0x40bd1f
lea eax, [ebp - 0x7e0]
push eax
call fcn.0044c8a9
mov ebx, dword [ebp - 0x814]
pop ecx
push eax
lea eax, [ebp - 0x7e0]
mov ecx, ebx
push eax
call fcn.004042fa
push 0x2fb
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 0
lea ecx, [ebp - 0x814]
call fcn.0040808d
mov edx, str.DelProgId_DefaultIcon:
mov byte [ebp - 4], 3
mov ecx, 0x49f450
call fcn.0040c787
mov edx, ebx
mov ecx, eax
call fcn.004076ff
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 2
call fcn.0040822b
jmp 0x40bd25
mov ebx, dword [ebp - 0x814]
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40bd39
mov ebx, dword [ebp - 0x814]
xor ecx, ecx
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x81c], ecx
mov dword [ebp - 0x820], ecx
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x40bd4d
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x818], 0x7ce
push eax
push 0x20019
push ecx
push str.shellopencommand
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40be24
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x820]
push eax
push esi
push 0x4863a4
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40be18
cmp dword [ebp - 0x820], 1
jne 0x40be18
lea eax, [ebp - 0x7e0]
push eax
call fcn.0044c8a9
mov esi, dword [ebp - 0x828]
pop ecx
push eax
lea eax, [ebp - 0x7e0]
mov ecx, esi
push eax
call fcn.004042fa
push 0x309
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 0
lea ecx, [ebp - 0x828]
call fcn.0040808d
mov edx, str.DelProgId_cmd:
mov byte [ebp - 4], 4
mov ecx, 0x49f450
call fcn.0040c787
mov edx, esi
mov ecx, eax
call fcn.004076ff
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 2
call fcn.0040822b
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40be33
mov ebx, dword [ebp - 0x814]
cmp dword [ebp - 0x7e4], 8
lea eax, [ebp - 0x7f8]
mov ecx, ebx
cmovae eax, dword [ebp - 0x7f8]
push eax
push dword [ebp - 0x830]
call fcn.0040b637
mov eax, dword [ebp - 0x7e4]
cmp eax, 8
jb 0x40beaa
mov ecx, dword [ebp - 0x7f8]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], ecx
cmp eax, 0x1000
jb 0x40bea1
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.0040149b
mov eax, dword [ebp - 0x81c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x818]
push eax
push ecx
call fcn.00465474
pop ecx
pop ecx
and dword [ebp - 0x7e8], 0
lea ecx, [ebp - 0x810]
xor eax, eax
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
call fcn.004042cc
call fcn.00470d5b
ret 0x10