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

Disassembly:
mov eax, 0x1211a97d
call fcn.120820e8
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.12099f0a
jmp 0x1206db8a
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
push 0x12051c64
push edi
call esi
mov ebx, eax
neg ebx
push 0x12051c88
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1206d9a5
test ebx, ebx
je 0x1206da63
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1206da63
mov dword [ebp - 0x21c], esi
push 0x5c
push edi
mov byte [ebp - 4], 2
call fcn.12099f0a
test eax, eax
pop ecx
pop ecx
jne 0x1206dea6
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
test eax, eax
je 0x1206da10
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.1206a768
mov dword [ebp - 0x21c], esi
cmp ebx, esi
je 0x1206da54
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206defd
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x1206df03
mov byte [ebp - 4], 1
call fcn.12068a93
jmp 0x1206de53
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.12068a93
push 0x12051c74
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x1206da8f
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x234], eax
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
push 0x12051ca0
push edi
xor ebx, ebx
call esi
test eax, eax
jne 0x1206db93
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.12099f0a
mov esi, eax
cmp esi, ebx
jl 0x1206deb6
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
cmp esi, ebx
jl 0x1206deb6
cmp word [edi], 0x3d
jne 0x1206deb1
cmp dword [ebp + 0x10], ebx
je 0x1206db29
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.12099f0a
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.12068a93
cmp esi, ebx
jmp 0x1206de51
cmp dword [ebp + 0x14], ebx
jne 0x1206db7e
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.12099f0a
cmp eax, ebx
jne 0x1206deef
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1206db73
cmp eax, 2
jne 0x1206deed
lea ecx, [ebp - 0x21c]
call fcn.12068a93
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
cmp esi, ebx
jmp 0x1206de98
push 0x5c
push edi
call fcn.12099f0a
test eax, eax
pop ecx
pop ecx
jne 0x1206deb1
cmp dword [ebp + 0x10], ebx
je 0x1206dc70
push 0xf003f
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.12099f0a
test eax, eax
je 0x1206dc07
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.12099f0a
test eax, eax
je 0x1206dc07
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.12099f0a
test eax, eax
jne 0x1206deb1
mov ax, word [edi]
cmp ax, 0x4c
mov byte [ebp - 0x230], 0
je 0x1206dc1d
cmp ax, 0x6c
jne 0x1206dc30
push 0x12054924
push edi
call esi
test eax, eax
jne 0x1206dc30
mov byte [ebp - 0x230], 1
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
cmp word [edi], 0x3d
jne 0x1206de53
push dword [ebp - 0x230]
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.12099f0a
jmp 0x1206de4d
cmp dword [ebp + 0x14], ebx
jne 0x1206dc97
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.12099f0a
test eax, eax
je 0x1206dc97
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], ebx
jne 0x1206dcdc
mov esi, 0x208
push esi
call fcn.12068975
test al, al
pop ecx
je 0x1206dcbe
mov eax, esi
call fcn.12082050
mov dword [ebp - 0x22c], esp
jmp 0x1206dcd0
push esi
lea ecx, [ebp - 0x238]
call fcn.12099f0a
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], ebx
je 0x1206df0a
push 0x104
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.kernel32.dll_lstrcpynW]
cmp dword [ebp + 0x14], ebx
jne 0x1206dd21
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.12099f0a
test eax, eax
jne 0x1206dd21
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.12099f0a
test eax, eax
je 0x1206ddf0
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
push edi
mov ecx, ebx
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
cmp word [edi], 0x7b
jne 0x1206dd9c
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.1206d916
mov esi, eax
test esi, esi
jl 0x1206deb6
cmp dword [ebp + 0x14], 0
je 0x1206ddac
mov eax, dword [ebp - 0x23c]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
push edi
mov ecx, ebx
call fcn.12099f0a
jmp 0x1206de94
cmp dword [ebp + 0x14], 0
jne 0x1206de9a
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.12099f0a
test eax, eax
je 0x1206dde6
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.12099f0a
test eax, eax
je 0x1206dddf
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.1206a768
mov ecx, ebx
jmp 0x1206de8e
cmp dword [ebp + 0x14], 0
jne 0x1206de9a
lea ecx, [ebp - 0x224]
call fcn.12068a93
test eax, eax
jne 0x1206deb1
cmp dword [ebp - 0x234], eax
je 0x1206de2f
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.12068a93
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
cmp dword [ebp + 0x10], 0
je 0x1206de9a
cmp word [edi], 0x7b
jne 0x1206de9a
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x1206de9a
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.1206d916
mov esi, eax
test esi, esi
jl 0x1206deb6
mov ecx, dword [ebp - 0x220]
push edi
call fcn.12099f0a
mov esi, eax
test esi, esi
jl 0x1206deb6
cmp word [edi], 0x7d
jne 0x1206d97c
jmp 0x1206deb6
lea ecx, [ebp - 0x21c]
call fcn.12068a93
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.12068a93
lea ecx, [ebp - 0x238]
call fcn.1206a409
mov eax, esi
lea esp, [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.12082031
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x1206defb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.12068a93
jmp 0x1206deb6
mov esi, 0x8007000e
jmp 0x1206deb6