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

Disassembly:
mov eax, 0x4b16824e
call fcn.4b1678d8
sub esp, 0x230
mov eax, dword [0x4b16c628]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp + 0x14]
push edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x23c], eax
call fcn.4b161c1f
jmp 0x4b16283b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x4b151394
push edi
call esi
mov ebx, eax
neg ebx
push 0x4b1513b8
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x4b162658
test ebx, ebx
je 0x4b162714
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162b64
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4b162714
mov dword [ebp - 0x21c], esi
push 0x5c
push edi
mov byte [ebp - 4], 2
call fcn.4b161afa
test eax, eax
jne 0x4b162b54
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161d31
test eax, eax
je 0x4b1626c1
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.4b161fc3
mov dword [ebp - 0x21c], esi
cmp ebx, esi
je 0x4b162705
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162bab
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161e2e
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x4b162bb1
mov byte [ebp - 4], 1
call fcn.4b161651
jmp 0x4b162b01
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.4b161651
push 0x4b1513a4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4b162740
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x234], eax
push edi
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162b64
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x4b1513d0
push edi
xor ebx, ebx
call esi
test eax, eax
jne 0x4b162844
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.4b161c1f
mov esi, eax
cmp esi, ebx
jl 0x4b162b64
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161c1f
mov esi, eax
cmp esi, ebx
jl 0x4b162b64
cmp word [edi], 0x3d
jne 0x4b162b5f
cmp dword [ebp + 0x10], ebx
je 0x4b1627da
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
push ebx
mov dword [ebp - 0x21c], eax
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.4b16231e
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.4b161651
cmp esi, ebx
jmp 0x4b162aff
cmp dword [ebp + 0x14], ebx
jne 0x4b16282f
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.4b1616c4
cmp eax, ebx
jne 0x4b162b9d
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x4b162824
cmp eax, 2
jne 0x4b162b9b
lea ecx, [ebp - 0x21c]
call fcn.4b161651
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161e2e
mov esi, eax
cmp esi, ebx
jmp 0x4b162b46
push 0x5c
push edi
call fcn.4b161afa
test eax, eax
jne 0x4b162b5f
cmp dword [ebp + 0x10], ebx
je 0x4b16291f
push 0xf003f
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.4b1616c4
test eax, eax
je 0x4b1628b6
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.4b1616c4
test eax, eax
je 0x4b1628b6
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.4b16166f
test eax, eax
jne 0x4b162b5f
mov ax, word [edi]
cmp ax, 0x4c
mov byte [ebp - 0x230], 0
je 0x4b1628cc
cmp ax, 0x6c
jne 0x4b1628df
push 0x4b1535cc
push edi
call esi
test eax, eax
jne 0x4b1628df
mov byte [ebp - 0x230], 1
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162b64
cmp word [edi], 0x3d
jne 0x4b162b01
push dword [ebp - 0x230]
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.4b16231e
jmp 0x4b162afb
cmp dword [ebp + 0x14], ebx
jne 0x4b162946
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.4b1616c4
test eax, eax
je 0x4b162946
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], ebx
jne 0x4b16298a
mov esi, 0x208
push esi
call fcn.4b161553
test al, al
je 0x4b16296c
mov eax, esi
call fcn.4b167950
mov dword [ebp - 0x22c], esp
jmp 0x4b16297e
push esi
lea ecx, [ebp - 0x238]
call fcn.4b1622f3
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], ebx
je 0x4b162bb8
push 0x104
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], ebx
jne 0x4b1629cf
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.4b161d67
test eax, eax
jne 0x4b1629cf
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.4b161da3
test eax, eax
je 0x4b162a9e
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162b64
push edi
mov ecx, ebx
call fcn.4b161e2e
mov esi, eax
test esi, esi
jl 0x4b162b64
cmp word [edi], 0x7b
jne 0x4b162a4a
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.4b1625c9
mov esi, eax
test esi, esi
jl 0x4b162b64
cmp dword [ebp + 0x14], 0
je 0x4b162a5a
mov eax, dword [ebp - 0x23c]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162b64
push edi
mov ecx, ebx
call fcn.4b161e2e
jmp 0x4b162b42
cmp dword [ebp + 0x14], 0
jne 0x4b162b48
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.4b161d67
test eax, eax
je 0x4b162a94
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.4b161d31
test eax, eax
je 0x4b162a8d
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.4b161fc3
mov ecx, ebx
jmp 0x4b162b3c
cmp dword [ebp + 0x14], 0
jne 0x4b162b48
lea ecx, [ebp - 0x224]
call fcn.4b161651
test eax, eax
jne 0x4b162b5f
cmp dword [ebp - 0x234], eax
je 0x4b162add
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x21c]
call fcn.4b161651
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162b64
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161e2e
mov esi, eax
test esi, esi
jl 0x4b162b64
cmp dword [ebp + 0x10], 0
je 0x4b162b48
cmp word [edi], 0x7b
jne 0x4b162b48
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4b162b48
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.4b1625c9
mov esi, eax
test esi, esi
jl 0x4b162b64
mov ecx, dword [ebp - 0x220]
push edi
call fcn.4b161c1f
mov esi, eax
test esi, esi
jl 0x4b162b64
cmp word [edi], 0x7d
jne 0x4b16262f
jmp 0x4b162b64
lea ecx, [ebp - 0x21c]
call fcn.4b161651
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.4b161651
lea ecx, [ebp - 0x238]
call fcn.4b161f7f
mov eax, esi
lea esp, [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.4b163f8b
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x4b162ba9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.4b161651
jmp 0x4b162b64
mov esi, 0x8007000e
jmp 0x4b162b64