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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4838f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push ebx
mov dword [ebp - 4], 0
call fcn.00483565
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x394]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x42bbeb
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x394]
cmp dl, 0x5c
mov byte [ebp + eax - 0x114], dl
jne 0x42bbe8
cmp eax, 2
jge 0x42bbeb
inc eax
jmp 0x42bbc8
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x42bc06
mov cl, byte [ebp + edx - 0x394]
mov byte [ebp + edx - 0x494], cl
inc edx
jmp 0x42bbf1
mov byte [ebp + edi - 0x494], 0
xor esi, esi
cmp esi, eax
jge 0x42bc37
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x393]
cmp dl, 0x5c
je 0x42bc2c
mov byte [ebp + esi - 0x114], dl
jne 0x42bc34
mov byte [ebp + esi - 0x114], 0
inc esi
jmp 0x42bc10
mov byte [ebp + eax - 0x114], 0
lea edi, [ebp - 0x494]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x394]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov cl, byte [ebp + eax - 0x394]
cmp cl, 0x5c
je 0x42bc80
mov byte [ebp + eax - 0x194], cl
inc eax
jmp 0x42bc6a
mov byte [ebp + eax - 0x194], 0
inc eax
xor edx, edx
mov cl, byte [ebp + eax - 0x394]
test cl, cl
je 0x42bca1
mov byte [ebp + edx - 0x294], cl
inc eax
inc edx
jmp 0x42bc8b
lea ecx, [ebp - 0x194]
push str.HKCU
push ecx
mov byte [ebp + edx - 0x294], 0
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42bdd6
push 0x200
call fcn.0047afc7
add esp, 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push edx
call fcn.0042c0f0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push 0x57d044
push reloc.WS2_32.dll_closesocket
call ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
add edx, 0x100
push ecx
push 0xf003f
push 0
push edx
push eax
call ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
lea edx, [ebp - 0x294]
push 0
push edx
push eax
call ebx
test eax, eax
jne 0x42bda1
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x114]
push ecx
push edx
call esi
lea eax, [ebp - 0x114]
push str.default
push eax
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x42bd78
lea ecx, [ebp - 0x114]
push str._default_
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42bd80
mov edx, dword [ebp + 8]
push 0
push edx
call esi
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x114]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x14]
push edx
call fcn.0047afbc
add esp, 4
jmp 0x42bde8
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edx
call fcn.0047afbc
add esp, 4
jmp 0x42bde8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp - 0x194]
push str.HKCR
push eax
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42be6e
lea ecx, [ebp + 8]
lea edx, [ebp - 0x294]
push ecx
push 0xf003f
push eax
push edx
push closesocket
call ebx
test eax, eax
jne 0x42be6e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
push ecx
call esi
lea edx, [ebp - 0x114]
push str.default
push edx
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x42be59
lea eax, [ebp - 0x114]
push str._default_
push eax
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42be61
mov ecx, dword [ebp + 8]
push 0
push ecx
call esi
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x114]
push edx
push eax
call edi
lea ecx, [ebp - 0x194]
push str.HKLM
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42bef4
lea edx, [ebp + 8]
push edx
push 0xf003f
push eax
lea eax, [ebp - 0x294]
push eax
push closesocket
call ebx
test eax, eax
jne 0x42bef4
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x114]
push ecx
push edx
call esi
lea eax, [ebp - 0x114]
push str.default
push eax
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x42bedf
lea ecx, [ebp - 0x114]
push str._default_
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42bee7
mov edx, dword [ebp + 8]
push 0
push edx
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
push ecx
call edi
mov esi, 0x49c3e4
lea eax, [ebp - 0x194]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42bf23
test cl, cl
je 0x42bf1f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42bf23
add eax, 2
add esi, 2
test cl, cl
jne 0x42beff
xor eax, eax
jmp 0x42bf28
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42bfa1
lea eax, [ebp + 8]
lea ecx, [ebp - 0x294]
push eax
push 0xf003f
push 0
push ecx
push reloc.WS2_32.dll_closesocket
call ebx
test eax, eax
jne 0x42bfa1
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edx, [ebp - 0x114]
push edx
push eax
call esi
lea ecx, [ebp - 0x114]
push str.default
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x42bf8c
lea edx, [ebp - 0x114]
push str._default_
push edx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42bf94
mov eax, dword [ebp + 8]
push 0
push eax
call esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x114]
push ecx
push edx
call edi
mov esi, str.HKEY_CURRENT_CONFIG
lea eax, [ebp - 0x194]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42bfd0
test cl, cl
je 0x42bfcc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42bfd0
add eax, 2
add esi, 2
test cl, cl
jne 0x42bfac
xor eax, eax
jmp 0x42bfd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42c041
lea eax, [ebp + 8]
lea ecx, [ebp - 0x294]
push eax
push 0xf003f
push 0
push ecx
push getsockopt
call ebx
test eax, eax
jne 0x42c041
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edx, [ebp - 0x114]
push edx
push eax
call esi
lea ecx, [ebp - 0x114]
push str.default
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x42c039
lea edx, [ebp - 0x114]
push str._default_
push edx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42c041
mov eax, dword [ebp + 8]
push 0
push eax
call esi
mov esi, str.HKEY_DYN_DATA
lea eax, [ebp - 0x194]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42c070
test cl, cl
je 0x42c06c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42c070
add eax, 2
add esi, 2
test cl, cl
jne 0x42c04c
xor eax, eax
jmp 0x42c075
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42c0c8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x294]
push eax
push 0xf003f
push 0
push ecx
push getsockopt
call ebx
test eax, eax
jne 0x42c0c8
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edx, [ebp - 0x114]
push edx
push eax
call esi
lea ecx, [ebp - 0x114]
push str.default
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x42c0c8
mov edx, dword [ebp + 8]
push eax
push edx
call esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov ax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret