Function at 0x10b747e
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x10ed860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x100b18c
push eax
push 0x100a950
xor edi, edi
push 0x100b128
mov esi, ecx
lea eax, [ebp - 0x20c]
xor ecx, ecx
push 0x104
push eax
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov word [ebp - 0x20c], cx
call fcn.010ad159
add esp, 0x18
cmp eax, edi
jge 0x10b752b
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b77ea
test byte [ecx + 0x1c], 1
je 0x10b77ea
push eax
push 0x100b054
push 0x50
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
jmp 0x10b77ea
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push edi
lea eax, [ebp - 0x20c]
push eax
xor eax, eax
cmp dword [esi + 0x280], edi
setne al
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x10b7580
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b77ea
test byte [ecx + 0x1c], 4
je 0x10b77ea
push eax
push 0x100b054
push 0x51
jmp 0x10b751b
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x210]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10b77ea
mov eax, dword [ebp - 0x210]
cmp eax, edi
jne 0x10b75e0
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b77ea
test byte [eax + 0x1c], 4
je 0x10b77ea
push 0x100b054
push 0x52
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
jmp 0x10b77ea
push ebx
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010a0a62
pop ecx
mov dword [ebp - 0x218], eax
mov ebx, 0x100b054
cmp eax, edi
jne 0x10b763c
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b7772
test byte [eax + 0x1c], 1
je 0x10b7772
mov ecx, dword [ebp - 0x210]
shl ecx, 2
push ecx
push ebx
push 0x53
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
jmp 0x10b7772
cmp dword [ebp - 0x210], edi
jbe 0x10b7772
push 0x20
pop esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov dword [ebp - 0x224], esi
neg ecx
or ecx, eax
push ecx
call fcn.010a0a62
pop ecx
mov ecx, dword [ebp - 0x218]
lea esi, [ecx + edi*4]
mov dword [esi], eax
test eax, eax
je 0x10b7722
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x220]
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x21c], 8
push dword [esi]
push edi
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_RegEnumValueW]
test eax, eax
jne 0x10b774d
cmp dword [ebp - 0x220], 0xb
je 0x10b76fa
cmp dword [ebp - 0x21c], 8
jne 0x10b76fa
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b7713
test byte [eax + 0x1c], 2
je 0x10b7713
push dword [esi]
push dword [ebp - 0x220]
push ebx
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059cca
jmp 0x10b7713
mov eax, dword [ebp - 0x22c]
or eax, dword [ebp - 0x228]
je 0x10b7713
push dword [esi]
call fcn.010a0a51
and dword [esi], 0
pop ecx
inc edi
cmp edi, dword [ebp - 0x210]
jb 0x10b7648
jmp 0x10b7770
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b7770
test byte [eax + 0x1c], 1
je 0x10b7770
mov ecx, dword [ebp - 0x224]
add ecx, ecx
push ecx
push ebx
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
jmp 0x10b7770
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b7770
test byte [ecx + 0x1c], 1
je 0x10b7770
push eax
push ebx
push 0x55
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
xor edi, edi
cmp dword [ebp - 0x218], edi
je 0x10b77e9
cmp dword [ebp - 0x210], edi
jbe 0x10b77dd
mov eax, dword [ebp - 0x218]
lea esi, [eax + edi*4]
mov eax, dword [esi]
test eax, eax
je 0x10b77d2
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10b77c7
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b77c7
test byte [ecx + 0x1c], 2
je 0x10b77c7
push eax
push dword [esi]
push ebx
push 0x57
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01059d60
push dword [esi]
call fcn.010a0a51
and dword [esi], 0
pop ecx
inc edi
cmp edi, dword [ebp - 0x210]
jb 0x10b7782
xor edi, edi
push dword [ebp - 0x218]
call fcn.010a0a51
pop ecx
pop ebx
cmp dword [ebp - 0x214], edi
pop edi
pop esi
je 0x10b7800
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010a0c4b
leave
ret 4