Function at 0x4b9520
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004e8ba0
add esp, 0xc
xor eax, eax
jmp 0x4b9560
movzx ecx, word [eax + str._shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b9560
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9580
mov edx, dword [0x52142c]
mov ecx, dword [0x521430]
mov dword [eax], edx
mov edx, dword [0x521434]
mov dword [eax + 4], ecx
mov ecx, dword [0x521438]
mov dword [eax + 8], edx
mov dx, word [0x52143c]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b95c3
mov ecx, dword [str.Command]
mov edx, dword [0x527350]
mov dword [eax], ecx
mov ecx, dword [0x527354]
mov dword [eax + 4], edx
mov edx, dword [0x527358]
mov dword [eax + 8], ecx
mov cx, word [0x52735c]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push bind
mov word [eax + 0x10], cx
call ebx
xor eax, eax
jmp 0x4b9620
movzx ecx, word [eax + 0x527048]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b9620
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9640
mov ecx, dword [0x52142c]
mov edx, dword [0x521430]
mov dword [eax], ecx
mov ecx, dword [0x521434]
mov dword [eax + 4], edx
mov edx, dword [0x521438]
mov dword [eax + 8], ecx
mov cx, word [0x52143c]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9683
mov edx, dword [str.Command]
mov ecx, dword [0x527350]
mov dword [eax], edx
mov edx, dword [0x527354]
mov dword [eax + 4], ecx
mov ecx, dword [0x527358]
mov dword [eax + 8], edx
mov dx, word [0x52735c]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
lea eax, [ebp - 0x20c]
push eax
push bind
call ebx
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + str._shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b96d0
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b96f0
mov ecx, dword [0x52142c]
mov edx, dword [0x521430]
mov dword [eax], ecx
mov ecx, dword [0x521434]
mov dword [eax + 4], edx
mov edx, dword [0x521438]
mov dword [eax + 8], ecx
mov cx, word [0x52143c]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push bind
mov word [eax + 0x10], cx
call ebx
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x527048]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b9740
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9760
mov ecx, dword [0x52142c]
mov edx, dword [0x521430]
mov dword [eax], ecx
mov ecx, dword [0x521434]
mov dword [eax + 4], edx
mov edx, dword [0x521438]
mov dword [eax + 8], ecx
mov cx, word [0x52143c]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push bind
mov word [eax + 0x10], cx
call ebx
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e8ba0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.004e8ba0
add esp, 0x18
xor eax, eax
jmp 0x4b97e0
movzx ecx, word [eax + 0x52142c]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4b97e0
push esi
push edi
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b9802
mov eax, dword [0x51d1f4]
mov dword [edi], eax
xor eax, eax
jmp 0x4b9820
movzx ecx, word [eax + str._shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b9820
lea eax, [ebp - 0x414]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b9840
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b9856
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x20c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x4b9880
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9880
mov ecx, dword [str.Command]
mov edx, dword [0x527350]
mov dword [eax], ecx
mov ecx, dword [0x527354]
mov dword [eax + 4], edx
mov edx, dword [0x527358]
mov dword [eax + 8], ecx
mov cx, word [0x52735c]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push bind
mov word [eax + 0x10], cx
call ebx
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x527048]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b98d0
lea eax, [ebp - 0x414]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b98f0
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b9906
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x20c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x4b9930
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9930
mov ecx, dword [str.Command]
mov edx, dword [0x527350]
mov dword [eax], ecx
mov ecx, dword [0x527354]
mov dword [eax + 4], edx
mov edx, dword [0x527358]
mov dword [eax + 8], ecx
mov cx, word [0x52735c]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push bind
mov word [eax + 0x10], cx
call ebx
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + str._shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b9980
lea eax, [ebp - 0x414]
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b99a0
lea edi, [ebp - 0x20c]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b99b6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x20c]
push eax
and ecx, 3
push bind
rep movsb byte es:[edi], byte [esi]
call ebx
xor eax, eax
movzx ecx, word [eax + 0x527048]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4b99e0
lea eax, [ebp - 0x414]
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b9a00
lea edi, [ebp - 0x20c]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b9a16
mov ecx, eax
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, [ebp - 0x20c]
push ecx
push bind
call ebx
xor esi, esi
call fcn.004bc0d0
test eax, eax
je 0x4b9a4e
mov esi, 0x100
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x418]
push edx
or esi, 0xf003f
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSMRCommand
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x418], 0
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4b9a9f
mov eax, dword [ebp - 0x418]
push 0x51c514
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x418]
push ecx
call ebx
lea edx, [ebp - 0x418]
push edx
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSMR
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4b9ad4
mov eax, dword [ebp - 0x418]
push 0x51c514
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x418]
push ecx
call ebx
lea edx, [ebp - 0x418]
push edx
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSEFCommand
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4b9b09
mov eax, dword [ebp - 0x418]
push 0x51c514
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x418]
push ecx
call ebx
lea edx, [ebp - 0x418]
push edx
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSEF
push reloc.WS2_32.dll_bind
call edi
pop edi
pop esi
test eax, eax
jne 0x4b9b40
mov eax, dword [ebp - 0x418]
push 0x51c514
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x418]
push ecx
call ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret