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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559d10
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.004127e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x28]
call fcn.004922d0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3a90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x5c], 2
je 0x4a3a9d
xor bl, bl
jmp 0x4a3ea8
mov esi, dword [ebp - 0x60]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.0040a1d0
lea edi, [eax + 0x10]
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 4
mov ecx, str._cmdloc
mov eax, edi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a3ae6
test dx, dx
je 0x4a3ae2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a3ae6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a3ac0
xor eax, eax
jmp 0x4a3aeb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4a3af8
mov byte [ebp - 0xd], 0
jmp 0x4a3e8c
mov ecx, dword [esi + 4]
sub ecx, 0x10
call fcn.0040a1d0
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 7
push 0x5c
push esi
call fcn.00522f4c
add esp, 8
test eax, eax
je 0x4a3e6d
sub eax, esi
sar eax, 1
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x4a3e6d
push eax
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a040
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00411710
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.00411710
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call fcn.004becb0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jg 0x4a3b74
or eax, 0xffffffff
jmp 0x4a3b8d
push 0x5c
push eax
call fcn.00522c09
add esp, 8
test eax, eax
jne 0x4a3b88
or eax, 0xffffffff
jmp 0x4a3b8d
sub eax, dword [ebp - 0x20]
sar eax, 1
inc eax
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409f20
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x24]
push eax
push 0xf003f
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a3c00
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a3c00
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3d5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd], 0
jmp 0x4a3e11
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0047b390
push eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
call fcn.00409d90
mov byte [ebp - 4], 0x14
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x3c], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x34], eax
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x4a3c84
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x38], eax
jl 0x4a3c78
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4a3c78
mov ecx, dword [ebp - 0x34]
call fcn.0040a1d0
mov edx, dword [ebp - 0x38]
mov ecx, ebx
mov dword [ebp - 0x34], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a3c70
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x4a3c84
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c]
push edx
call fcn.004126c0
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3ca2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x14]
inc eax
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00409f20
mov byte [ebp - 4], 0x16
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x3c], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x44], eax
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x4a3d1d
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x40], eax
jl 0x4a3d11
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4a3d11
mov ecx, dword [ebp - 0x44]
call fcn.0040a1d0
mov edx, dword [ebp - 0x40]
mov ecx, ebx
mov dword [ebp - 0x44], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a3d09
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x44]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x4a3d1d
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.004126c0
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3d3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3d59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x24], 0
jne 0x4a3d68
mov byte [ebp - 0xd], 0
jmp 0x4a3e11
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x30]
inc eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409f20
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x2c]
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x24]
call fcn.004bca80
add esp, 4
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4a3def
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a3def
push eax
push eax
push eax
push eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4a3def
cmp dword [ebp - 0x28], 0
jne 0x4a3def
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3e11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3e2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3e4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3e71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a3e71
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a3e8c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4a3ea5
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov bl, byte [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0047dd80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret