Function at 0x10b6950
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113b911
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x1161d94]
mov esi, ecx
mov dword [ebp - 0x12c], eax
mov eax, dword [edx + 0xc]
xor ebx, ebx
mov ecx, 0x1161d94
mov dword [ebp - 0x120], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x124], eax
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], ebx
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x130], edi
push ebx
push 0x1016110
lea ecx, [ebp - 0x120]
push ecx
push 0x1016090
lea edx, [ebp - 0x11c]
push 2
push edx
mov byte [ebp - 4], 1
call fcn.01075110
add esp, 0x18
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], 2
jne 0x10b6a00
lea ebx, [esi + 0x80]
jmp 0x10b6a0c
cmp eax, 1
jne 0x10b6b29
lea ebx, [esi + 0x50]
xor eax, eax
cmp dword [ebx + 4], eax
mov dword [ebp - 0x128], ebx
je 0x10b6a35
mov edx, dword [ebx + 8]
test edx, edx
jbe 0x10b6a33
mov esi, dword [ebx]
mov ecx, esi
cmp dword [ecx], 0
jne 0x10b6a41
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x10b6a24
xor eax, eax
test eax, eax
mov esi, eax
je 0x10b6b33
jmp 0x10b6a4c
mov eax, dword [esi + eax*4]
jmp 0x10b6a35
mov ebx, dword [ebp - 0x128]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x10b6b03
test esi, esi
mov edi, esi
je 0x10b6a8f
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x10b6a8d
mov eax, dword [esi + 0xc]
mov esi, dword [ebx + 8]
xor edx, edx
div esi
add edx, 1
cmp edx, esi
jae 0x10b6a8d
mov eax, dword [ebx]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x10b6a86
mov ecx, dword [eax]
add edx, 1
test ecx, ecx
je 0x10b6a75
mov esi, ecx
push edi
lea ecx, [ebp - 0x124]
call fcn.0109c210
add edi, 4
push edi
lea ecx, [ebp - 0x130]
call fcn.0109c210
mov edi, dword [ebp - 0x130]
cmp dword [edi - 0xc], 0
jne 0x10b6ace
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x124]
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x10b6af5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x12c]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edx]
push edi
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10b6b0d
test esi, esi
jne 0x10b6a46
jmp 0x10b6b33
push 0x80004005
call fcn.01071710
jg 0x10b6b17
mov dword [ebp - 0x120], eax
jmp 0x10b6b33
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
jmp 0x10b6b33
mov dword [ebp - 0x120], 0x80070057
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 1
call fcn.01075230
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b6b68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b6b91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 8