Function at 0x4a99aa
Capabilities:
Set registry value

Disassembly:
push 0x88
mov eax, 0x694648
call fcn.0056e23b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ebx
call fcn.004173bc
mov dword [ebp - 4], ebx
mov ecx, 0x6cedf8
test esi, esi
mov eax, 0x6cedc4
cmove eax, ecx
lea ecx, [ebp - 0x80]
push eax
call fcn.0041d41a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push str.HKEY_LOCAL_MACHINE_X64SOFTWAREClassesCLSID645FF040_5081_101B_9F08_00AA002F954E
call fcn.004179fb
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push 0x20019
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00567b83
pop ecx
pop ecx
test eax, eax
je 0x4a9bf6
push ebx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], ebx
push ecx
push ebx
mov esi, 0xf003f
push esi
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push str.shell
push eax
call ebx
test eax, eax
jne 0x4a9bf4
xor edx, edx
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
push edx
cmovae eax, dword [ebp - 0x7c]
push ecx
push edx
push esi
push edx
push edx
push edx
push eax
push dword [ebp - 0x8c]
mov dword [ebp - 0x84], edx
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4a9be8
push dword [ebp - 0x90]
call fcn.00647fd1
pop ecx
add eax, eax
push eax
push dword [ebp - 0x90]
push 1
push 0
push 0
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x2c]
call fcn.004173bc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 3
mov ecx, 0x796258
cmp dword [0x79626c], 8
mov eax, 0x796274
cmovae ecx, dword [0x796258]
cmp dword [0x796288], 8
push ecx
cmovae eax, dword [0x796274]
push eax
lea eax, [ebp - 0x2c]
push str.__s_s_
push eax
call fcn.0041ccda
add esp, 0x10
lea eax, [ebp - 0x88]
xor ecx, ecx
mov dword [ebp - 0x88], ecx
push ecx
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push 0x6ceee8
push dword [ebp - 0x84]
call ebx
test eax, eax
jne 0x4a9b9e
test edi, edi
je 0x4a9b5a
push edi
call fcn.00647fd1
pop ecx
test eax, eax
je 0x4a9b5a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push str._s___s
push eax
call fcn.0041ccda
add esp, 0x10
jmp 0x4a9b66
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004248f3
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
add eax, eax
push eax
push ecx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x88]
call esi
mov dword [ebp - 0x94], 1
jmp 0x4a9ba0
xor ebx, ebx
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push 1
push ebx
push str.Icon
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x84]
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.0041786a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0041786a
jmp 0x4a9bea
xor ebx, ebx
push dword [ebp - 0x8c]
call esi
jmp 0x4a9bf6
xor ebx, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0041786a
mov eax, dword [ebp - 0x94]
call fcn.0056e1e5
ret