Function at 0x10b7220
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.010aceee
add esp, 0x18
cmp eax, edi
jge 0x10b72cd
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b758c
test byte [ecx + 0x1c], 1
je 0x10b758c
push eax
push 0x100b054
push 0x50
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
jmp 0x10b758c
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 0x10b7322
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b758c
test byte [ecx + 0x1c], 4
je 0x10b758c
push eax
push 0x100b054
push 0x51
jmp 0x10b72bd
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 0x10b758c
mov eax, dword [ebp - 0x210]
cmp eax, edi
jne 0x10b7382
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b758c
test byte [eax + 0x1c], 4
je 0x10b758c
push 0x100b054
push 0x52
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
jmp 0x10b758c
push ebx
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010a094e
pop ecx
mov dword [ebp - 0x218], eax
mov ebx, 0x100b054
cmp eax, edi
jne 0x10b73de
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b7514
test byte [eax + 0x1c], 1
je 0x10b7514
mov ecx, dword [ebp - 0x210]
shl ecx, 2
push ecx
push ebx
push 0x53
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x10b7514
cmp dword [ebp - 0x210], edi
jbe 0x10b7514
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.010a094e
pop ecx
mov ecx, dword [ebp - 0x218]
lea esi, [ecx + edi*4]
mov dword [esi], eax
test eax, eax
je 0x10b74c4
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 0x10b74ef
cmp dword [ebp - 0x220], 0xb
je 0x10b749c
cmp dword [ebp - 0x21c], 8
jne 0x10b749c
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b74b5
test byte [eax + 0x1c], 2
je 0x10b74b5
push dword [esi]
push dword [ebp - 0x220]
push ebx
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102c716
jmp 0x10b74b5
mov eax, dword [ebp - 0x22c]
or eax, dword [ebp - 0x228]
je 0x10b74b5
push dword [esi]
call fcn.010a093d
and dword [esi], 0
pop ecx
inc edi
cmp edi, dword [ebp - 0x210]
jb 0x10b73ea
jmp 0x10b7512
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b7512
test byte [eax + 0x1c], 1
je 0x10b7512
mov ecx, dword [ebp - 0x224]
add ecx, ecx
push ecx
push ebx
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x10b7512
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b7512
test byte [ecx + 0x1c], 1
je 0x10b7512
push eax
push ebx
push 0x55
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
xor edi, edi
cmp dword [ebp - 0x218], edi
je 0x10b758b
cmp dword [ebp - 0x210], edi
jbe 0x10b757f
mov eax, dword [ebp - 0x218]
lea esi, [eax + edi*4]
mov eax, dword [esi]
test eax, eax
je 0x10b7574
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10b7569
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10b7569
test byte [ecx + 0x1c], 2
je 0x10b7569
push eax
push dword [esi]
push ebx
push 0x57
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0104adee
push dword [esi]
call fcn.010a093d
and dword [esi], 0
pop ecx
inc edi
cmp edi, dword [ebp - 0x210]
jb 0x10b7524
xor edi, edi
push dword [ebp - 0x218]
call fcn.010a093d
pop ecx
pop ebx
cmp dword [ebp - 0x214], edi
pop edi
pop esi
je 0x10b75a2
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010a0b37
leave
ret 4