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

Disassembly:
mov eax, 0x1201c2fb
call fcn.1201a4d8
sub esp, 0x230
mov eax, dword [section..cdata]
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.1201b254
jmp 0x1200a63b
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
push 0x120019c4
push edi
call esi
mov ebx, eax
neg ebx
push 0x120019e8
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1200a456
test ebx, ebx
je 0x1200a514
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1200a514
mov dword [ebp - 0x21c], esi
push 0x5c
push edi
mov byte [ebp - 4], 2
call fcn.1201b254
test eax, eax
pop ecx
pop ecx
jne 0x1200a957
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
test eax, eax
je 0x1200a4c1
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.1200925c
mov dword [ebp - 0x21c], esi
cmp ebx, esi
je 0x1200a505
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a9ae
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x1200a9b4
mov byte [ebp - 4], 1
call fcn.12008556
jmp 0x1200a904
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.12008556
push 0x120019d4
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x1200a540
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x234], eax
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
push 0x12001a00
push edi
xor ebx, ebx
call esi
test eax, eax
jne 0x1200a644
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.1201b254
mov esi, eax
cmp esi, ebx
jl 0x1200a967
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
cmp esi, ebx
jl 0x1200a967
cmp word [edi], 0x3d
jne 0x1200a962
cmp dword [ebp + 0x10], ebx
je 0x1200a5da
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.1201b254
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.12008556
cmp esi, ebx
jmp 0x1200a902
cmp dword [ebp + 0x14], ebx
jne 0x1200a62f
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.1201b254
cmp eax, ebx
jne 0x1200a9a0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1200a624
cmp eax, 2
jne 0x1200a99e
lea ecx, [ebp - 0x21c]
call fcn.12008556
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
cmp esi, ebx
jmp 0x1200a949
push 0x5c
push edi
call fcn.1201b254
test eax, eax
pop ecx
pop ecx
jne 0x1200a962
cmp dword [ebp + 0x10], ebx
je 0x1200a721
push 0xf003f
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.1201b254
test eax, eax
je 0x1200a6b8
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.1201b254
test eax, eax
je 0x1200a6b8
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.1201b254
test eax, eax
jne 0x1200a962
mov ax, word [edi]
cmp ax, 0x4c
mov byte [ebp - 0x230], 0
je 0x1200a6ce
cmp ax, 0x6c
jne 0x1200a6e1
push 0x12001f58
push edi
call esi
test eax, eax
jne 0x1200a6e1
mov byte [ebp - 0x230], 1
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
cmp word [edi], 0x3d
jne 0x1200a904
push dword [ebp - 0x230]
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.1201b254
jmp 0x1200a8fe
cmp dword [ebp + 0x14], ebx
jne 0x1200a748
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.1201b254
test eax, eax
je 0x1200a748
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], ebx
jne 0x1200a78d
mov esi, 0x208
push esi
call fcn.12008405
test al, al
pop ecx
je 0x1200a76f
mov eax, esi
call fcn.1201a440
mov dword [ebp - 0x22c], esp
jmp 0x1200a781
push esi
lea ecx, [ebp - 0x238]
call fcn.1201b254
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], ebx
je 0x1200a9bb
push 0x104
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.kernel32.dll_lstrcpynW]
cmp dword [ebp + 0x14], ebx
jne 0x1200a7d2
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.1201b254
test eax, eax
jne 0x1200a7d2
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.1201b254
test eax, eax
je 0x1200a8a1
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
push edi
mov ecx, ebx
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
cmp word [edi], 0x7b
jne 0x1200a84d
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.1200a3c7
mov esi, eax
test esi, esi
jl 0x1200a967
cmp dword [ebp + 0x14], 0
je 0x1200a85d
mov eax, dword [ebp - 0x23c]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
push edi
mov ecx, ebx
call fcn.1201b254
jmp 0x1200a945
cmp dword [ebp + 0x14], 0
jne 0x1200a94b
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.1201b254
test eax, eax
je 0x1200a897
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.1201b254
test eax, eax
je 0x1200a890
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.1200925c
mov ecx, ebx
jmp 0x1200a93f
cmp dword [ebp + 0x14], 0
jne 0x1200a94b
lea ecx, [ebp - 0x224]
call fcn.12008556
test eax, eax
jne 0x1200a962
cmp dword [ebp - 0x234], eax
je 0x1200a8e0
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.12008556
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
cmp dword [ebp + 0x10], 0
je 0x1200a94b
cmp word [edi], 0x7b
jne 0x1200a94b
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x1200a94b
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.1200a3c7
mov esi, eax
test esi, esi
jl 0x1200a967
mov ecx, dword [ebp - 0x220]
push edi
call fcn.1201b254
mov esi, eax
test esi, esi
jl 0x1200a967
cmp word [edi], 0x7d
jne 0x1200a42d
jmp 0x1200a967
lea ecx, [ebp - 0x21c]
call fcn.12008556
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.12008556
lea ecx, [ebp - 0x238]
call fcn.12008e8b
mov eax, esi
lea esp, [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1201a428
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x1200a9ac
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.12008556
jmp 0x1200a967
mov esi, 0x8007000e
jmp 0x1200a967