Function at 0x45a170
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573a47
mov eax, dword fs:[0]
push eax
sub esp, 0x7dc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x710], esi
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0053efc0
add esp, 0xc
mov dword [ebp - 0x638], 0x104
lea eax, [ebp - 0x648]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x628]
push eax
mov eax, dword [ebp - 0x72c]
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45a744
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0053efc0
xorps xmm0, xmm0
mov dword [ebp - 0x62c], 0
movq qword [ebp - 0x634], xmm0
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x583848
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004407c0
add esp, 0x20
mov esi, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x70c], 0
test esi, esi
je 0x45a2eb
cmp dword [esi], 0
je 0x45a2de
push 0x580320
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45a2b4
lea ecx, [eax + 1]
jmp 0x45a305
push 0x58033c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45a2e4
push 0
push dword [esi]
lea ecx, [ebp - 0x70c]
push ecx
push edi
push 0
lea ecx, [ebp - 0x420]
push ecx
push ebx
call eax
jmp 0x45a303
cmp dword [esi + 4], 0
jne 0x45a2eb
mov ecx, 1
jmp 0x45a305
lea eax, [ebp - 0x70c]
push eax
push edi
push 0
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x45a337
mov eax, dword [ebp - 0x634]
test eax, eax
je 0x45a31c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
mov edx, dword [ebp - 0x70c]
mov eax, edi
and eax, 0x300
mov dword [ebp - 0x634], edx
mov dword [ebp - 0x630], eax
jmp 0x45a33d
mov edx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
jne 0x45a739
push 0x208
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.0053efc0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
xor eax, eax
test edi, 0x100
je 0x45a380
cmp ebx, 0x80000001
setne al
push eax
push str._d1_s
jmp 0x45a38f
cmp ebx, 0x80000001
setne al
push eax
push str._d0_s
lea eax, [ebp - 0x218]
push eax
call fcn.00411980
mov esi, dword [0x5d76b4]
add esp, 0x10
test esi, esi
jne 0x45a418
push 0x5cc240
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5d76b4], esi
jne 0x45a407
push 0x128
call fcn.004f9d2c
mov esi, eax
add esp, 4
mov dword [ebp - 0x738], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x45a3f1
push 0x128
push 0
push esi
call fcn.0053efc0
add esp, 0xc
mov ecx, esi
call fcn.0043b680
jmp 0x45a3f3
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x640]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x5d76b4], eax
push 0x5cc240
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x5d76b4]
xor eax, eax
mov dword [ebp - 0x718], 0
lea edx, [ebp - 0x218]
mov dword [ebp - 0x714], 7
mov word [ebp - 0x728], ax
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45a440
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [ebp - 0x728]
push edx
push eax
call fcn.00406a80
lea eax, [ebp - 0x728]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.0043f440
mov edx, dword [ebp - 0x714]
mov bl, al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x45a4ba
mov ecx, dword [ebp - 0x728]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a4b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a764
push edx
push ecx
call fcn.004f9d5c
add esp, 8
test bl, bl
jne 0x45a575
mov ecx, dword [0x5d76b4]
test ecx, ecx
jne 0x45a53d
push 0x5cc240
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5d76b4], 0
jne 0x45a52c
push 0x128
call fcn.004f9d2c
mov esi, eax
add esp, 4
mov dword [ebp - 0x734], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x45a516
push 0x128
push 0
push esi
call fcn.0053efc0
add esp, 0xc
mov ecx, esi
call fcn.0043b680
jmp 0x45a518
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x63c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x5d76b4], eax
push 0x5cc240
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5d76b4]
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x708]
push eax
call fcn.0043cdb0
lea ecx, [ebp - 0x708]
mov byte [ebp - 4], 5
call fcn.0043da00
test al, al
je 0x45a5b9
lea ecx, [ebp - 0x708]
call fcn.0043b930
mov esi, dword [ebp - 0x710]
mov eax, dword [ebp - 0x634]
inc esi
mov dword [ebp - 0x710], esi
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x45a5a4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x634], 0
mov ebx, dword [ebp - 0x730]
mov dword [ebp - 0x630], 0
jmp 0x45a1c0
call fcn.00467400
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x45a6a3
push 0x41
push str.d:jenkins.jenkinsworkspacepcstorepcstoremain_softwaremgr.cpp
lea ecx, [ebp - 0x750]
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x73c], 0xf
mov byte [ebp - 0x750], al
call fcn.00406f00
push 3
push 0x57fd94
lea ecx, [ebp - 0x728]
mov byte [ebp - 4], 6
mov dword [ebp - 0x718], 0
mov dword [ebp - 0x714], 0xf
mov byte [ebp - 0x728], 0
call fcn.00406f00
push 0xc0
lea eax, [ebp - 0x750]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x728]
push eax
lea ecx, [ebp - 0x7e8]
call fcn.0040a870
mov esi, eax
push str.have_new._reg_path
push esi
mov byte [ebp - 4], 8
call fcn.00409440
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00409440
add esp, 0x10
call fcn.00467400
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x7e8]
call fcn.0040b790
lea ecx, [ebp - 0x728]
call fcn.00406da0
lea ecx, [ebp - 0x750]
mov byte [ebp - 4], 5
call fcn.00406da0
call fcn.0042cb10
sub esp, 0xc0
mov esi, eax
lea eax, [ebp - 0x708]
mov dword [ebp - 0x63c], esp
mov ecx, esp
push eax
call fcn.0043b090
sub esp, 0x18
mov byte [ebp - 4], 9
mov edx, esp
lea ecx, [ebp - 0x218]
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a6f0
sub ecx, edi
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00406a80
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0043c9a0
lea ecx, [ebp - 0x708]
call fcn.0043b930
mov eax, dword [ebp - 0x634]
test eax, eax
je 0x45a735
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x45a746
test edx, edx
je 0x45a744
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 0xc
call fcn.00542850
int3