Function at 0xbb20ce
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb02a45
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
mov dword [ebp - 0xf4], ebx
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd0], 0x9e71e8
call fcn.00a53e97
lea eax, [ebp - 0xb4]
push ecx
mov ecx, eax
mov dword [ebp - 0xb8], eax
call fcn.00bb08f0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xd0], 0x9d69e8
call fcn.00bb27d1
push 0xa19190
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
push 1
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 2
push eax
mov ecx, 0xc969e0
mov dword [ebp - 0xf0], ebx
call fcn.00a57592
mov ecx, dword [ebp + 4]
test eax, eax
jns 0xbb21a0
push eax
push 0xa192a4
mov edx, 0x119
call fcn.00b607a3
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xec], ebx
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
lea ecx, [ebp - 0xec]
push ecx
mov ecx, 0x9f16c8
push ecx
push ecx
push eax
mov ecx, esi
call dword [0xc99200]
call esi
mov ecx, dword [ebp + 4]
test eax, eax
jns 0xbb21e2
push eax
push 0xa192a4
mov edx, 0x11c
jmp 0xbb219b
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
mov dword [ebp - 0xe4], ebx
mov esi, dword [ecx + 0x10]
lea ecx, [ebp - 0xe4]
push ecx
push eax
mov ecx, esi
call dword [0xc99200]
call esi
mov ecx, dword [ebp + 4]
test eax, eax
jns 0xbb2226
push eax
push 0xa192a4
mov edx, 0x11f
jmp 0xbb219b
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
push dword [ebp - 0xe4]
call fcn.00a4aa72
push 6
pop eax
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], al
lea eax, [ebp - 0xfc]
push ebx
push eax
call fcn.00a7debb
mov byte [ebp - 4], 7
lea eax, [ebp - 0xfc]
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x114]
push eax
call fcn.00a7debb
mov byte [ebp - 4], 8
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x108]
call fcn.00a4ac69
test al, al
je 0xbb2468
mov esi, dword [ebp - 0x104]
mov dword [ebp - 0xe0], esi
test esi, esi
je 0xbb22ba
mov eax, dword [esi]
push esi
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0xc99200]
call edi
mov byte [ebp - 4], 9
mov eax, dword [esi]
mov edi, dword [eax + 0x6c]
lea eax, [ebp - 0xf4]
push eax
push esi
mov ecx, edi
call dword [0xc99200]
call edi
mov ecx, dword [ebp + 4]
test eax, eax
jns 0xbb23a6
push eax
push 0xa192a4
mov edx, 0x124
call fcn.00ab606d
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xe0]
test cl, 1
je 0xbb2324
and ecx, 0xfffffffe
mov dword [ebp - 0xd8], ecx
test eax, eax
je 0xbb2324
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0xc99200]
call edi
test bl, bl
je 0xbb2441
xor ebx, ebx
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
mov dword [ebp - 0xdc], ebx
mov edi, dword [eax + 0x44]
lea eax, [ebp - 0xdc]
push eax
push esi
mov ecx, edi
call dword [0xc99200]
call edi
test eax, eax
js 0xbb2426
mov eax, dword [ebp - 0xd4]
test eax, eax
jne 0xbb23fe
push ebx
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], ebx
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0xa19190
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov ecx, dword [ebp + 4]
test eax, eax
je 0xbb23f8
push eax
push 0xa192a4
mov edx, 0x12d
call fcn.00bb318d
cmp dword [ebp - 0xf4], 0
je 0xbb22f0
mov esi, dword [ebp - 0xe0]
mov eax, dword [esi]
mov edi, dword [eax]
lea eax, [ebp - 0xe8]
push eax
push 0x9f4c48
push esi
mov ecx, edi
call dword [0xc99200]
call edi
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe8]
or ecx, 1
mov dword [ebp - 0xd8], ecx
test eax, eax
je 0xbb2302
mov bl, 1
jmp 0xbb2302
mov eax, dword [ebp - 0xd4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xdc]
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ecx, dword [ebp + 4]
test eax, eax
je 0xbb2426
push eax
push 0xa192a4
mov edx, 0x12f
jmp 0xbb23a1
mov byte [ebp - 4], 9
cmp dword [ebp - 0xdc], 0
je 0xbb2443
push dword [ebp - 0xdc]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
jmp 0xbb2443
xor ebx, ebx
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call fcn.00a39d42
inc dword [ebp - 0x108]
lea ecx, [ebp - 0x108]
call fcn.00a7deee
jmp 0xbb2280
lea ecx, [ebp - 0x110]
call fcn.00a39d42
lea ecx, [ebp - 0x104]
call fcn.00a39d42
lea ecx, [ebp - 0xfc]
call fcn.00a48c38
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00bb286c
mov byte [ebp - 4], 4
cmp dword [ebp - 0xd4], 0
je 0xbb24ae
push dword [ebp - 0xd4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0xbb24cc
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0xc99200]
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xec]
test eax, eax
je 0xbb24ea
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0xc99200]
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0xbb2508
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0xc99200]
call esi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x9d69e8
call fcn.00bb10ce
lea ecx, [ebp - 0x18]
call fcn.00bb3288
lea ecx, [ebp - 0x24]
call fcn.00a48c27
lea ecx, [ebp - 0x8c]
call fcn.00a7d7ad
cmp dword [ebp - 0xb4], 1
jne 0xbb255e
mov dword [ebp - 0xb4], 2
call fcn.00ab75e6
lea edx, [ebp - 0xac]
mov ecx, dword [eax + 4]
call fcn.00b61345
cmp dword [ebp - 0xc0], 0
mov dword [ebp - 0xb4], 3
je 0xbb2596
lea ecx, [ebp - 0xcc]
call fcn.00a59db6
jmp 0xbb2596
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00ab3c50
leave
ret