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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573b37
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.0053f0a0
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 0x45a824
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0053f0a0
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 0x5838b8
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004408b0
add esp, 0x20
mov esi, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x70c], 0
test esi, esi
je 0x45a3cb
cmp dword [esi], 0
je 0x45a3be
push 0x580320
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45a394
lea ecx, [eax + 1]
jmp 0x45a3e5
push 0x58033c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45a3c4
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 0x45a3e3
cmp dword [esi + 4], 0
jne 0x45a3cb
mov ecx, 1
jmp 0x45a3e5
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 0x45a417
mov eax, dword [ebp - 0x634]
test eax, eax
je 0x45a3fc
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 0x45a41d
mov edx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
jne 0x45a819
push 0x208
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.0053f0a0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
xor eax, eax
test edi, 0x100
je 0x45a460
cmp ebx, 0x80000001
setne al
push eax
push str._d1_s
jmp 0x45a46f
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 0x45a4f8
push 0x5cc240
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5d76b4], esi
jne 0x45a4e7
push 0x128
call fcn.004f9dfc
mov esi, eax
add esp, 4
mov dword [ebp - 0x738], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x45a4d1
push 0x128
push 0
push esi
call fcn.0053f0a0
add esp, 0xc
mov ecx, esi
call fcn.0043b770
jmp 0x45a4d3
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 0x45a520
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.0043f530
mov edx, dword [ebp - 0x714]
mov bl, al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x45a59a
mov ecx, dword [ebp - 0x728]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a590
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a844
push edx
push ecx
call fcn.004f9e2c
add esp, 8
test bl, bl
jne 0x45a655
mov ecx, dword [0x5d76b4]
test ecx, ecx
jne 0x45a61d
push 0x5cc240
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5d76b4], 0
jne 0x45a60c
push 0x128
call fcn.004f9dfc
mov esi, eax
add esp, 4
mov dword [ebp - 0x734], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x45a5f6
push 0x128
push 0
push esi
call fcn.0053f0a0
add esp, 0xc
mov ecx, esi
call fcn.0043b770
jmp 0x45a5f8
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.0043cea0
lea ecx, [ebp - 0x708]
mov byte [ebp - 4], 5
call fcn.0043daf0
test al, al
je 0x45a699
lea ecx, [ebp - 0x708]
call fcn.0043ba20
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 0x45a684
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 0x45a2a0
call fcn.004674e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x45a783
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.004674e0
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.0043b180
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 0x45a7d0
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.0043ca90
lea ecx, [ebp - 0x708]
call fcn.0043ba20
mov eax, dword [ebp - 0x634]
test eax, eax
je 0x45a815
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x45a826
test edx, edx
je 0x45a824
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.004fa0d4
mov esp, ebp
pop ebp
ret 0xc
call fcn.00542930
int3