Function at 0x48f7f0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f60dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
test esi, esi
je 0x48faf4
test edi, edi
je 0x48faf4
push edi
push esi
call fcn.004c8fc1
add esp, 8
test eax, eax
je 0x48faf4
mov ecx, esi
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f880
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.0040a960
mov ecx, edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f8c0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.0040a960
push 0x530ad8
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48fada
push 0x534428
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x48fada
call fcn.004934c0
test al, al
jne 0x48f93d
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x48f932
cmp dword [ebp - 0x18], 0
jne 0x48f93d
mov dword [ebp - 0x18], 0xf003f
xor esi, esi
jmp 0x48f96e
lea ecx, [ebp - 0x30]
call fcn.0048f760
test al, al
mov ecx, 0x200
mov esi, 0x100
cmovne esi, ecx
lea ecx, [ebp - 0x4c]
call fcn.0048f760
test al, al
mov ecx, 0xf013f
mov edx, 0xf023f
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push 0
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
or esi, 0xf003f
push esi
push 0
push 0
push 0
push eax
push 0x80000002
mov dword [ebp - 0x74], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x48fae2
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x6c]
push esi
push ecx
push esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push esi
push esi
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x48fae2
cmp dword [ebp - 0x34], 2
jne 0x48f9f4
push eax
push dword [ebp - 0x6c]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
mov esi, eax
test esi, esi
jne 0x48fae2
push 0
push dword [ebp - 0x68]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x48fae2
push dword [ebp - 0x68]
mov esi, dword [ebp - 0x70]
mov ecx, esi
call dword [0x4f933c]
call esi
test eax, eax
je 0x48fa27
mov esi, 5
jmp 0x48fae2
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push ecx
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push 0
push ecx
push 2
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x48fae2
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x54], eax
push str.RegistryMACHINE_
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], eax
movups xmmword [ebp - 0x64], xmm0
call fcn.0040a960
mov ecx, edi
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fa90
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x64]
call fcn.0040a5c0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x50], 8
lea ecx, [eax + eax]
push ecx
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
push 6
push 0
push str.SymbolicLinkValue
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.0040aa40
jmp 0x48fae2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x4c]
call fcn.0040aa40
lea ecx, [ebp - 0x30]
call fcn.0040aa40
jmp 0x48faf9
mov esi, 0x57
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x48fb07
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x48fb15
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret