Function at 0x41bd50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x639440]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x61d468
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41bdbe
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallVKSaver
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41bdbe
xor al, al
jmp 0x41c137
mov dword [ebp - 0x208], 0
push 0x61d558
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
lea eax, [ebp - 0x204]
push eax
call fcn.004718f5
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
shl edx, 1
mov dword [ebp - 0x210], edx
cmp dword [ebp - 0x210], 0x200
jae 0x41be12
jmp 0x41be18
call fcn.0046c1cb
nop
xor eax, eax
mov ecx, dword [ebp - 0x210]
mov word [ebp + ecx - 0x204], ax
mov edx, dword [ebp - 0x208]
push edx
lea eax, [ebp - 0x204]
push eax
push 1
push 0
push str.DisplayName
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41be64
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41c137
push 0x65b828
push 0x61d580
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
call fcn.004718f5
add esp, 4
lea edx, [eax + eax + 2]
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x208]
shl eax, 1
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0x200
jae 0x41beb3
jmp 0x41beb9
call fcn.0046c1cb
nop
xor ecx, ecx
mov edx, dword [ebp - 0x214]
mov word [ebp + edx - 0x204], cx
mov eax, dword [ebp - 0x208]
push eax
lea ecx, [ebp - 0x204]
push ecx
push 1
push 0
push str.DisplayIcon
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41bf05
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41c137
push 0x65b828
push str.__s___uninstall
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call fcn.004718f5
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
shl ecx, 1
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x200
jae 0x41bf54
jmp 0x41bf5a
call fcn.0046c1cb
nop
xor edx, edx
mov eax, dword [ebp - 0x218]
mov word [ebp + eax - 0x204], dx
mov ecx, dword [ebp - 0x208]
push ecx
lea edx, [ebp - 0x204]
push edx
push 1
push 0
push str.UninstallString
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41bfa6
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41c137
push 0x65b828
mov ecx, 0x63b360
call fcn.00404ae0
mov ecx, eax
call fcn.0040b520
push eax
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.004718f5
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
shl edx, 1
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x21c], 0x200
jae 0x41c002
jmp 0x41c008
call fcn.0046c1cb
nop
xor eax, eax
mov ecx, dword [ebp - 0x21c]
mov word [ebp + ecx - 0x204], ax
mov edx, dword [ebp - 0x208]
push edx
lea eax, [ebp - 0x204]
push eax
push 1
push 0
push str.Publisher
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41c054
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41c137
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ecx + 0x63b304]
push edx
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x63b304]
push ecx
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x63b304]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [edx + 0x63b304]
push eax
push 0x61d5f8
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea edx, [ebp - 0x204]
push edx
call fcn.004718f5
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
shl ecx, 1
mov dword [ebp - 0x220], ecx
cmp dword [ebp - 0x220], 0x200
jae 0x41c0d9
jmp 0x41c0df
call fcn.0046c1cb
nop
xor edx, edx
mov eax, dword [ebp - 0x220]
mov word [ebp + eax - 0x204], dx
mov ecx, dword [ebp - 0x208]
push ecx
lea edx, [ebp - 0x204]
push edx
push 1
push 0
push str.DisplayVersion
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41c128
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41c137
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c2a8
mov esp, ebp
pop ebp
ret