Function at 0x4a70f0
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 0x4a7130
movzx ecx, word [eax + str._shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a7130
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a7150
mov edx, dword [0x521c04]
mov ecx, dword [0x521c08]
mov dword [eax], edx
mov edx, dword [0x521c0c]
mov dword [eax + 4], ecx
mov ecx, dword [0x521c10]
mov dword [eax + 8], edx
mov dx, word [0x521c14]
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 0x4a7193
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 0x4a71f0
movzx ecx, word [eax + str.Folder_shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a71f0
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a7210
mov ecx, dword [0x521c04]
mov edx, dword [0x521c08]
mov dword [eax], ecx
mov ecx, dword [0x521c0c]
mov dword [eax + 4], edx
mov edx, dword [0x521c10]
mov dword [eax + 8], ecx
mov cx, word [0x521c14]
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 0x4a7253
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 0x4a72a0
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a72c0
mov ecx, dword [0x521c04]
mov edx, dword [0x521c08]
mov dword [eax], ecx
mov ecx, dword [0x521c0c]
mov dword [eax + 4], edx
mov edx, dword [0x521c10]
mov dword [eax + 8], ecx
mov cx, word [0x521c14]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x20c]
push edx
push closesocket
mov word [eax + 0x10], cx
call esi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e7d90
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + str.Folder_shell_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x4a7320
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a7340
mov ecx, dword [0x521c04]
mov edx, dword [0x521c08]
mov dword [eax], ecx
mov ecx, dword [0x521c0c]
mov dword [eax + 4], edx
mov edx, dword [0x521c10]
mov dword [eax + 8], ecx
mov cx, word [0x521c14]
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