Function at 0x4097e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f95d5
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xd0]
lea eax, [ebp + 8]
push eax
call fcn.00404020
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.004108f0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 2
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallExTab
push SysReAllocString
mov dword [ebp - 0x14c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x409c5a
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push ecx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x14c]
call edi
push 0xa
push 0x513840
push 1
push 0
push str.DisplayName
push dword [ebp - 0x14c]
call edi
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 7
xor eax, eax
mov dword [ebp - 0x18], 0
push str.1.0.0.0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405110
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.0041cbb0
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 5
test eax, eax
jne 0x40991c
movups xmm0, xmmword [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
jmp 0x409955
mov edx, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call dword [edx + 0x2c]
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.00405080
lea ecx, [ebp - 0x150]
call fcn.00411140
lea ecx, [ebp - 0x28]
call fcn.00405080
lea ecx, [ebp - 0x88]
call fcn.00405080
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
add eax, eax
push eax
push ecx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x14c]
call edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00415eb0
mov esi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xd0]
call fcn.00415eb0
mov ecx, dword [esi + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4099c9
mov eax, dword [eax]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.Location
push dword [ebp - 0x14c]
call edi
lea ecx, [ebp - 0x40]
call fcn.00405080
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00405080
lea ecx, [ebp - 0x40]
call fcn.00410a60
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x409a04
mov ecx, dword [eax]
mov edx, dword [eax + 0x10]
mov byte [ebp - 4], 9
xor eax, eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x150], 5
call fcn.004113f0
add esp, 4
mov dword [ebp - 4], 0xb
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409a70
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cdb
push edx
push ecx
call fcn.004d1750
add esp, 8
push 0xa
push 0x513840
push 1
push 0
push str.Publisher
push dword [ebp - 0x14c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call edi
push 0xd
xor eax, eax
mov dword [ebp - 0x18], 0
push str.uninstall.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405110
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xd0]
call fcn.00415eb0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push ecx
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, eax
call fcn.00416040
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
call fcn.00404020
lea ecx, [ebp - 0xe8]
call fcn.00405080
lea ecx, [ebp - 0x100]
call fcn.00405080
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00405080
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x90]
cmovae ecx, dword [ebp - 0xa0]
add eax, eax
push eax
push ecx
push 1
push 0
push str.UninstallString
push dword [ebp - 0x14c]
call edi
xor eax, eax
mov dword [ebp - 0x30], 0
push eax
push 0x513480
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00405110
mov edx, 0x6b
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x148]
call fcn.0042f7e0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.00404020
mov byte [ebp - 4], 0x15
mov edx, 0x65
lea ecx, [ebp - 0x130]
call fcn.0042f7e0
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x16
call fcn.00404020
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00409cf0
lea ecx, [ebp - 0x118]
call fcn.00405080
lea ecx, [ebp - 0x88]
call fcn.00405080
lea ecx, [ebp - 0x130]
call fcn.00405080
lea ecx, [ebp - 0x28]
call fcn.00405080
lea ecx, [ebp - 0x148]
call fcn.00405080
lea ecx, [ebp - 0x40]
call fcn.00405080
cmp byte [ebp + 0x20], 0
jne 0x409c3f
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
add eax, eax
push eax
push ecx
push 1
push 0
push 0x513a14
push dword [ebp - 0x14c]
call edi
lea ecx, [ebp - 0xa0]
call fcn.00405080
lea ecx, [ebp - 0x58]
call fcn.00405080
lea ecx, [ebp - 0x70]
call fcn.00405080
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x409c90
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409c86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ce0
push edx
push ecx
call fcn.004d1750
add esp, 8
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.00405080
lea ecx, [ebp + 8]
call fcn.00405080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d170a
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004da89d
call fcn.004da89d
int3