Function at 0x4a6b00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5322a8]
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.004e7d90
add esp, 0xc
xor eax, eax
jmp 0x4a6b40
movzx ecx, word [eax + str._shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a6b40
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a6b60
mov edx, dword [0x521c18]
mov ecx, dword [0x521c1c]
mov dword [eax], edx
mov edx, dword [0x521c20]
mov dword [eax + 4], ecx
mov ecx, dword [0x521c24]
mov dword [eax + 8], edx
mov dx, word [0x521c28]
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 0x4a6ba3
mov ecx, dword [str.Command]
mov edx, dword [0x523ce4]
mov dword [eax], ecx
mov ecx, dword [0x523ce8]
mov dword [eax + 4], edx
mov edx, dword [0x523cec]
mov dword [eax + 8], ecx
mov cx, word [0x523cf0]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push closesocket
mov word [eax + 0x10], cx
call esi
xor eax, eax
jmp 0x4a6c00
movzx ecx, word [eax + str.Folder_shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a6c00
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a6c20
mov ecx, dword [0x521c18]
mov edx, dword [0x521c1c]
mov dword [eax], ecx
mov ecx, dword [0x521c20]
mov dword [eax + 4], edx
mov edx, dword [0x521c24]
mov dword [eax + 8], ecx
mov cx, word [0x521c28]
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 0x4a6c63
mov edx, dword [str.Command]
mov ecx, dword [0x523ce4]
mov dword [eax], edx
mov edx, dword [0x523ce8]
mov dword [eax + 4], ecx
mov ecx, dword [0x523cec]
mov dword [eax + 8], edx
mov dx, word [0x523cf0]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
lea eax, [ebp - 0x20c]
push eax
push closesocket
call esi
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 0x4a6cb0
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a6cd0
mov ecx, dword [0x521c18]
mov edx, dword [0x521c1c]
mov dword [eax], ecx
mov ecx, dword [0x521c20]
mov dword [eax + 4], edx
mov edx, dword [0x521c24]
mov dword [eax + 8], ecx
mov cx, word [0x521c28]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push closesocket
mov word [eax + 0x10], cx
call esi
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + str.Folder_shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a6d20
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a6d40
mov ecx, dword [0x521c18]
mov edx, dword [0x521c1c]
mov dword [eax], ecx
mov ecx, dword [0x521c20]
mov dword [eax + 4], edx
mov edx, dword [0x521c24]
mov dword [eax + 8], ecx
mov cx, word [0x521c28]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push closesocket
mov word [eax + 0x10], cx
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e3946
mov esp, ebp
pop ebp
ret