Function at 0x41abe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54c040]
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 edi, edx
mov eax, dword [ebp + 0x14]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], esi
mov eax, 0x7ffffffe
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x34
jb 0x41ae6a
cmp dword [ecx + 0x14], 7
jbe 0x41ac3f
mov ecx, dword [ecx]
push edx
push ecx
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.0041dea0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41ae3b
cmp dword [edi + 0x14], 7
mov esi, dword [ebp - 0x30]
jbe 0x41ac9a
mov edi, dword [edi]
test edi, edi
je 0x41ae2e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aca7
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.DisplayName
push esi
call edi
test eax, eax
jne 0x41ae2e
cmp dword [0x555ef0], 7
mov edx, 0x555edc
jbe 0x41acf5
mov edx, dword [0x555edc]
test edx, edx
je 0x41ae2e
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ad00
sub ecx, dword [ebp - 0x30]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push esi
call edi
test eax, eax
jne 0x41ae2e
cmp dword [ebx + 0x14], 7
jbe 0x41ad35
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ae2e
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ad42
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push str.Publisher
push esi
call edi
test eax, eax
jne 0x41ae2e
cmp dword [0x555f98], 7
mov edx, 0x555f84
jbe 0x41ad8a
mov edx, dword [0x555f84]
test edx, edx
je 0x41ae2e
mov ecx, edx
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ad90
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.InstallLocation
push esi
call edi
test eax, eax
jne 0x41ae2e
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 7
jbe 0x41adc3
mov edx, dword [edx]
test edx, edx
je 0x41ae2e
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41add0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallString
push esi
call edi
test eax, eax
jne 0x41ae2e
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
push 4
push 0
push str.NoModify
push esi
call edi
test eax, eax
jne 0x41ae2e
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
push 4
push 0
push str.NoRepair
push esi
call edi
test esi, esi
je 0x41ae3b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.004177f0
test esi, esi
je 0x41ae4e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004c048e
mov esp, ebp
pop ebp
ret
call fcn.00401570
int3