Function at 0x4147f0
Capabilities:
Get installed programs
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe78
push esi
mov esi, ecx
mov ecx, 0x5101ed
push edi
mov dword [ebp - 0x58], esi
call fcn.004b532d
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.004043f0
add esp, 4
mov dword [ebp - 0x5c], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00402800
movups xmm0, xmmword [0x4e1f24]
mov dword [ebp - 0x30], 0x34
mov dword [ebp - 0x2c], 0x3f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x4e1f34]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x4e1f44]
movups xmmword [eax + 0x20], xmm0
mov ecx, dword [0x4e1f54]
mov dword [eax + 0x30], ecx
mov byte [eax + 0x34], 0
mov dword [ebp - 0x40], eax
push ecx
mov edi, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x14], edi
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x415242
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x4e1f5c
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00404300
test al, al
jne 0x4148ec
push 9
push 0x4e1f5c
mov ecx, edi
call fcn.00406280
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
mov edi, esp
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x415242
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x414ab3
push 0
test eax, 0xffff0000
jne 0x414a4a
movzx eax, ax
mov ecx, 0x50f044
mov dword [ebp - 0x10], eax
call fcn.004b75ae
mov edi, eax
mov dword [ebp - 0x18], 1
test edi, edi
je 0x414aba
mov eax, dword [ebp - 0x10]
shr eax, 4
inc eax
mov dword [ebp - 0x14], eax
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x414987
push dword [ebp - 0x10]
push eax
push edi
call fcn.0040a1d0
add esp, 0xc
test eax, eax
jne 0x4149a6
push dword [ebp - 0x18]
mov ecx, 0x50f044
call fcn.004b75ae
inc dword [ebp - 0x18]
mov edi, eax
test edi, edi
je 0x414aba
mov eax, dword [ebp - 0x14]
jmp 0x414966
test edi, edi
je 0x414aba
push 6
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414aba
push dword [ebp - 0x10]
push eax
push edi
call fcn.0040a1d0
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414aba
mov ecx, dword [ebp - 0x1c]
mov edx, 1
movzx edi, word [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov ecx, dword [ecx]
sub edx, dword [ecx - 4]
mov eax, dword [ecx - 8]
mov ecx, edi
mov edi, dword [ebp - 0x1c]
sub eax, ecx
or eax, edx
jge 0x414a0e
push ecx
mov ecx, edi
call fcn.00405aa0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
jmp 0x414a14
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx ecx, cx
add eax, 2
push ecx
push eax
push dword [ebp - 0x10]
push dword [edi]
call fcn.004bee40
push eax
call fcn.004041a0
mov eax, dword [edi]
add esp, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax - 8]
jg 0x41524c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
jmp 0x414aba
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x414ab0
mov ecx, dword [ebp - 0x1c]
mov edx, 1
mov ecx, dword [ecx]
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, edi
or eax, edx
jge 0x414a7f
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.00405aa0
mov eax, dword [ebp - 0x1c]
push edi
push dword [eax]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
cmp edi, dword [ecx - 8]
jg 0x41524c
mov dword [ecx - 0xc], edi
xor ecx, ecx
mov eax, dword [eax]
mov word [eax + edi*2], cx
jmp 0x414aba
mov edi, dword [ebp - 0x1c]
mov ecx, edi
call fcn.00404ba0
mov byte [ebp - 4], 3
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 1
call fcn.00406df0
add esp, 8
mov edi, esp
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x14], edi
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x415242
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x4e1f70
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00404300
test al, al
jne 0x414b14
push 9
push 0x4e1f70
mov ecx, edi
call fcn.00406280
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
mov edi, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x415256
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test eax, eax
je 0x414cbf
push 0
test eax, 0xffff0000
jne 0x414c56
movzx eax, ax
mov ecx, 0x50f044
mov dword [ebp - 0x18], eax
call fcn.004b75ae
mov edi, eax
mov dword [ebp - 0x10], 1
test edi, edi
je 0x414cc6
mov eax, dword [ebp - 0x18]
shr eax, 4
inc eax
mov dword [ebp - 0x14], eax
nop
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x414bb1
push dword [ebp - 0x18]
push eax
push edi
call fcn.0040a1d0
add esp, 0xc
test eax, eax
jne 0x414bd0
push dword [ebp - 0x10]
mov ecx, 0x50f044
call fcn.004b75ae
inc dword [ebp - 0x10]
mov edi, eax
test edi, edi
je 0x414cc6
mov eax, dword [ebp - 0x14]
jmp 0x414b90
test edi, edi
je 0x414cc6
push 6
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414cc6
push dword [ebp - 0x18]
push eax
push edi
call fcn.0040a1d0
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414cc6
mov edi, dword [ebp - 0x1c]
movzx edx, word [eax]
mov eax, 1
mov dword [ebp - 0x10], edx
mov ecx, dword [edi]
sub eax, dword [ecx - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx - 8]
mov ecx, edx
sub eax, ecx
or eax, dword [ebp - 0x18]
jge 0x414c36
push ecx
mov ecx, edi
call fcn.00405aa0
mov eax, dword [ebp - 0x14]
movzx edx, word [eax]
jmp 0x414c39
mov eax, dword [ebp - 0x14]
movzx ecx, dx
add eax, 2
push ecx
push eax
push dword [ebp - 0x10]
push dword [edi]
call fcn.004bee40
push eax
call fcn.004041a0
add esp, 0x14
jmp 0x414ca4
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [eax - 1]
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x414cbf
mov ecx, dword [edi]
mov eax, 1
sub eax, dword [ecx - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx - 8]
sub eax, edx
or eax, dword [ebp - 0x18]
jge 0x414c91
push edx
mov ecx, edi
call fcn.00405aa0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push dword [edi]
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax - 8]
jg 0x41524c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
jmp 0x414cc6
mov ecx, edi
call fcn.00404ba0
mov byte [ebp - 4], 6
push SysReAllocString
mov byte [ebp - 4], 1
call fcn.00406df0
push 0x400
lea eax, [ebp - 0x684]
push 0
push eax
call fcn.004b8400
push 0x400
lea eax, [ebp - 0xa84]
push 0
push eax
call fcn.004b8400
push 0x400
lea eax, [ebp - 0xe84]
push 0
push eax
call fcn.004b8400
push 0x4e1f84
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403e00
push 0x4e1f88
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00403e00
add esp, 0x48
push str.uninstall.exe
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00403e00
push dword [ebp - 0x50]
lea eax, [ebp - 0x684]
mov byte [ebp - 4], 0xa
push 0x4e1fc4
push eax
call fcn.004153a0
push esi
lea eax, [ebp - 0xa84]
push 0x4e1fcc
push eax
call fcn.004153a0
push dword [ebp - 0x4c]
lea eax, [ebp - 0xe84]
push str.__s___uninsgpt
push eax
call fcn.004153a0
add esp, 0x30
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x415242
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x4e2008
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00404300
test al, al
jne 0x414dd3
push 0x34
push 0x4e2008
lea ecx, [ebp - 0x1c]
call fcn.00406280
push 0x4e1ff4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0040ec90
push 0x208
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004b8400
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x415260
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x18]
call fcn.00404300
test al, al
jne 0x414e6f
lea ecx, [ebp - 0x284]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e50
sub ecx, edx
lea eax, [ebp - 0x284]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00406280
mov edi, dword [ebp - 0x18]
push 0x5c
push edi
mov byte [ebp - 4], 0xe
call fcn.004b8718
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x414e8c
or ecx, 0xffffffff
jmp 0x414e90
sub ecx, edi
sar ecx, 1
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x18]
dec eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406040
mov byte [ebp - 4], 0xf
mov esi, SysReAllocString
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x7c]
cmovne esi, ecx
mov ecx, dword [ebp - 0x58]
push eax
mov dword [ebp - 0x10], esi
call fcn.00411020
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x414ed7
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.00403680
mov edx, dword [ebp - 0x68]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x414f18
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414f0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41526a
push edx
push ecx
call fcn.004b531f
add esp, 8
push 0x4e2074
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call fcn.00403680
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x20106
push 0
push 0
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4150dd
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x684]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
push 0x4e209c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push 0x4e20b4
push 1
push 0
push str.DisplayName
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
lea eax, [ebp - 0xa84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xa84]
push eax
push 1
push 0
push 0x4e20e4
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
push 0x4e2118
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push 0x4e2180
push 1
push 0
push str.Publisher
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
lea eax, [ebp - 0xe84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xe84]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push str.PackageName
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
mov esi, dword [ebp - 0x44]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push str.InstallDate
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x4150d4
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], 1
jmp 0x4150e1
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], 0
jmp 0x4150e1
mov byte [ebp - 0x1d], 0
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4150fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
or eax, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41511b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41513a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415158
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415173
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415191
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4151af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4151cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x415201
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4151f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41526f
push edx
push ecx
call fcn.004b531f
add esp, 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41522f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x1d]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004042d0
push 0x80070057
call fcn.004042d0
push 0x80004005
call fcn.004042d0
push 0x80004005
call fcn.004042d0
call fcn.004bba0f
call fcn.004bba0f
int3