Function at 0x48974f
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x320]
sub esp, 0x3a0
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp + 0x31c], eax
mov eax, dword [ebp + 0x338]
push ebx
push esi
push edi
lea esi, [ebp + 0x328]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x29c]
push 0x80
push eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 2
call fcn.0046a4fd
add esp, 0xc
push 1
push 0
lea eax, [ebp + 0x29c]
push eax
call fcn.00488deb
lea eax, [ebp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d9c0
mov eax, esp
push esi
lea ecx, [ebp + 0x29c]
push ecx
push eax
call fcn.00488078
sub esp, 0x10
lea esi, [ebp - 0x74]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 0x9c]
mov dword [ebp - 0x7c], eax
movsd dword es:[edi], dword [esi]
call fcn.00488335
lea esi, [ebp - 0x74]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
call fcn.004881c4
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push 0xf003f
push 0
mov eax, ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48985d
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x48983e
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x80], eax
cmp dword [ebp + 0x33c], 1
jne 0x489854
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x33c], 1
jne 0x489903
sub esp, 0x10
lea esi, [ebp - 0x74]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 0x9c]
movsd dword es:[edi], dword [esi]
call fcn.00488395
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push 0xf003f
push 0
mov eax, ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4898b6
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x10
lea esi, [ebp - 0x74]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 0x9c]
movsd dword es:[edi], dword [esi]
call fcn.00488335
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push 0xf003f
push 0
mov eax, ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x489903
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x31c]
xor ecx, ebp
call fcn.00467d4f
add ebp, 0x320
leave
ret