Function at 0x40faa6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x82c
mov eax, 0x465f73
call fcn.00464982
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:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
mov dword [ebp - 0x830], eax
call fcn.0040c45a
and dword [ebp - 4], 0
mov edx, str.Start_DelProgId...
mov ecx, 0x490340
call fcn.0041044a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0040c5f9
push esi
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x814]
call fcn.00410690
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.0040fe79
push 0
push edi
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x814]
push ebx
push eax
call fcn.0040ff69
mov esi, eax
test esi, esi
je 0x40fd6e
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.0045e110
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 0x40fc6d
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x47a6ec
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fc59
cmp dword [ebp - 0x818], 1
jne 0x40fc59
lea eax, [ebp - 0x7e4]
push eax
call fcn.0043d5e8
mov edi, dword [ebp - 0x81c]
pop ecx
push eax
lea eax, [ebp - 0x7e4]
mov ecx, edi
push eax
call fcn.0040ad3b
push 0x2ea
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push ebx
lea ecx, [ebp - 0x82c]
call fcn.0040c45a
mov edx, str.DelProgId_DefaultIcon:
mov byte [ebp - 4], 3
mov ecx, 0x490340
call fcn.0041044a
mov edx, edi
mov ecx, eax
call fcn.0040b99e
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 2
call fcn.0040c5f9
jmp 0x40fc5f
mov edi, dword [ebp - 0x81c]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40fc73
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.0045e110
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 0x40fd65
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x47a6ec
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fd59
cmp dword [ebp - 0x818], 1
jne 0x40fd59
lea eax, [ebp - 0x7e4]
push eax
call fcn.0043d5e8
pop ecx
mov ecx, dword [ebp - 0x830]
push eax
lea eax, [ebp - 0x7e4]
push eax
call fcn.0040ad3b
push 0x2f8
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
lea ecx, [ebp - 0x834]
call fcn.0040c45a
mov edx, str.DelProgId_cmd:
mov byte [ebp - 4], 4
mov ecx, 0x490340
call fcn.0041044a
mov edx, dword [ebp - 0x830]
mov ecx, eax
call fcn.0040b99e
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 2
call fcn.0040c5f9
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40fd74
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.0040f5a7
mov eax, dword [ebp - 0x7e8]
cmp eax, 8
jb 0x40fdb6
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x7fc]
call fcn.00403711
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.0040acc1
call fcn.0046493d
ret 0x10