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

Disassembly:
sub esp, 0x484
push ebx
mov ebx, dword [esp + 0x48c]
push ebp
push esi
push edi
push ebx
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, [esp + 0x114]
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
xor ebx, ebx
cmp ecx, ebx
jle 0x45a08f
lea esi, [esp + ecx + 0x114]
mov dl, byte [esi]
cmp dl, 0x5c
mov byte [esp + eax + 0x14], dl
jne 0x45a089
cmp eax, 2
jge 0x45a08f
inc eax
dec esi
cmp eax, ecx
jl 0x45a079
sub ecx, eax
mov edx, ecx
cmp edx, ebx
jle 0x45a0b3
mov ebp, ecx
lea esi, [esp + 0x114]
lea edi, [esp + 0x394]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + edx + 0x394], bl
jle 0x45a0de
lea esi, [esp + edx + 0x115]
mov dl, byte [esi + ecx]
cmp dl, 0x5c
je 0x45a0d5
mov byte [esp + ecx + 0x14], dl
jne 0x45a0d9
mov byte [esp + ecx + 0x14], bl
inc ecx
cmp ecx, eax
jl 0x45a0c7
mov byte [esp + eax + 0x14], bl
lea edi, [esp + 0x394]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x114]
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]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
cmp ecx, ebx
jle 0x45a142
mov dl, byte [esp + eax + 0x114]
cmp dl, 0x5c
mov byte [esp + eax + 0x214], dl
jne 0x45a138
inc esi
cmp esi, 3
je 0x45a142
inc eax
cmp eax, ecx
jl 0x45a124
mov byte [esp + eax + 0x214], bl
inc eax
xor ecx, ecx
lea edx, [esp + eax + 0x114]
mov al, byte [esp + eax + 0x114]
cmp al, bl
je 0x45a16d
inc edx
mov byte [esp + ecx + 0x294], al
inc ecx
mov al, byte [edx]
cmp al, bl
jne 0x45a15e
mov byte [esp + ecx + 0x294], bl
lea ecx, [esp + 0x214]
push str.REGISTRYUSER
push ecx
call fcn.0047fde0
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 8
test eax, eax
jne 0x45a209
lea edx, [esp + 0x10]
lea eax, [esp + 0x294]
push edx
push 0xf003f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call edi
test eax, eax
jne 0x45a209
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call esi
lea eax, [esp + 0x14]
push str.default
push eax
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x45a1f5
lea ecx, [esp + 0x14]
push str._default_
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x45a1fd
mov edx, dword [esp + 0x10]
push ebx
push edx
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
lea edx, [esp + 0x214]
push str.REGISTRYMACHINE
push edx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x45a28c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x294]
push eax
push 0xf003f
push ebx
push ecx
push closesocket
call edi
test eax, eax
jne 0x45a28c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call esi
lea ecx, [esp + 0x14]
push str.default
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x45a278
lea edx, [esp + 0x14]
push str._default_
push edx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x45a280
mov eax, dword [esp + 0x10]
push ebx
push eax
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0x484
ret