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

Disassembly:
sub esp, 0x304
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309D_shellexplorecommand
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
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, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309D_shellexplore
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x214]
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, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309D_shell
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push edx
push closesocket
call ebx
test eax, eax
jne 0x42b4f0
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
push 0xf003f
push 0
push eax
push closesocket
call ebx
test eax, eax
jne 0x42b52c
mov ecx, dword [esp + 0x10]
push str.command
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
lea ecx, [esp + 0x214]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call ebx
test eax, eax
jne 0x42b562
mov edx, dword [esp + 0x10]
push str.explore
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x10]
push eax
call ebp
mov edi, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309Dopenexplorecommand
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
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, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309Dopenexplore
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push edx
push closesocket
call ebx
test eax, eax
jne 0x42b5e0
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
push 0xf003f
push 0
push eax
push closesocket
call ebx
test eax, eax
jne 0x42b616
mov ecx, dword [esp + 0x10]
push str.command
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x10]
push edx
call ebp
mov edi, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309D_shellopencommand
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
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, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309D_shellopen
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x214]
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, str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309D_shell
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push edx
push closesocket
call ebx
test eax, eax
jne 0x42b6bd
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
push 0xf003f
push 0
push eax
push closesocket
call ebx
test eax, eax
jne 0x42b6f3
mov ecx, dword [esp + 0x10]
push str.command
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
lea ecx, [esp + 0x214]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call ebx
test eax, eax
jne 0x42b729
mov edx, dword [esp + 0x10]
push str.open
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x10]
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret