Function at 0x48c2b0
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 0x4eb8ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x522104]
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 0x48c5b4
test edi, edi
je 0x48c5b4
push edi
push esi
call fcn.004be5e1
add esp, 8
test eax, eax
je 0x48c5b4
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 0x48c340
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.0040aa50
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 0x48c380
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.0040aa50
push 0x508fb8
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48c59a
push 0x509c68
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x48c59a
call fcn.00490180
test al, al
jne 0x48c3fd
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 0x48c3f2
cmp dword [ebp - 0x18], 0
jne 0x48c3fd
mov dword [ebp - 0x18], 0xf003f
xor esi, esi
jmp 0x48c42e
lea ecx, [ebp - 0x30]
call fcn.0048c220
test al, al
mov ecx, 0x200
mov esi, 0x100
cmovne esi, ecx
lea ecx, [ebp - 0x4c]
call fcn.0048c220
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 0x48c5a2
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 0x48c5a2
cmp dword [ebp - 0x34], 2
jne 0x48c4b4
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 0x48c5a2
push 0
push dword [ebp - 0x68]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x48c5a2
push dword [ebp - 0x68]
mov esi, dword [ebp - 0x70]
mov ecx, esi
call dword [0x4ee33c]
call esi
test eax, eax
je 0x48c4e7
mov esi, 5
jmp 0x48c5a2
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 0x48c5a2
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.0040aa50
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 0x48c550
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x64]
call fcn.0040a6b0
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.0040ab30
jmp 0x48c5a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x4c]
call fcn.0040ab30
lea ecx, [ebp - 0x30]
call fcn.0040ab30
jmp 0x48c5b9
mov esi, 0x57
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x48c5c7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x48c5d5
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.004a4c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret