Function at 0x10ff1a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1142d0c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
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
xor ebx, ebx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x128], ebx
push ebx
push 0x10510e0
lea eax, [ebp - 0x120]
push eax
push 0x1051068
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov dword [ebp - 4], ebx
call fcn.01075110
add esp, 0x18
lea edx, [ebp - 0x124]
push edx
push 0x20019
push ebx
push 0x100356c
push VariantInit
mov byte [ebp - 4], 1
mov dword [ebp - 0x124], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10ff254
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x144], ebx
jmp 0x10ff2d6
jle 0x10ff260
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10ff289
mov ecx, dword [ebp - 0x120]
push ecx
push 0x1051030
push 0x1050fb8
push ebx
call fcn.01128b70
add esp, 0x10
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0
call fcn.01075230
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x10ff2af
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
mov ebx, dword [ebp - 0x13c]
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 2
mov dword [ebp - 0x130], 0x2000
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x12c], esi
mov edi, dword [ebp - 0x130]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
mov byte [ebp - 4], 3
jge 0x10ff32a
push edi
lea ecx, [ebp - 0x12c]
call fcn.010745e0
mov esi, dword [ebp - 0x12c]
test edi, edi
jl 0x10ff53f
cmp edi, dword [esi - 8]
jg 0x10ff53f
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x14c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x130]
push edx
push esi
push ebx
mov dword [esi - 0xc], edi
push eax
mov word [esi + edi*2], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add ebx, 1
mov ecx, esi
mov dword [ebp - 0x13c], ebx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10ff375
sub ecx, edi
sar ecx, 1
js 0x10ff53f
cmp ecx, dword [esi - 8]
jg 0x10ff53f
cmp eax, 0x103
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], dx
je 0x10ff4c8
test eax, eax
je 0x10ff3b4
cmp eax, 0xea
jne 0x10ff4de
cmp dword [esi - 0xc], 0
jne 0x10ff3dc
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ff4a9
mov ecx, dword [esi]
push esi
jmp 0x10ff4a2
push esi
call fcn.010fbeb0
test al, al
je 0x10ff40f
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10ff4a9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x10ff4a9
push ecx
lea edi, [esi - 0x10]
mov dword [ebp - 0x140], esp
mov ebx, esp
push edi
call fcn.01081e90
mov ecx, dword [ebp - 0x138]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.010fe460
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10ff48c
call fcn.01127f00
test al, al
je 0x10ff463
mov ecx, dword [ebp - 0x120]
push ecx
push esi
push 0x1050f68
push 0x1050ef0
push 0
call fcn.01128b70
add esp, 0x14
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 2
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10ff4a9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
jmp 0x10ff4a9
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ff4a9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [ebp - 0x134]
add eax, 1
cmp eax, 0x1f4
mov dword [ebp - 0x134], eax
jb 0x10ff2d0
jmp 0x10ff289
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x10ff52a
test eax, eax
jle 0x10ff4ec
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10ff516
mov ecx, dword [ebp - 0x120]
push ecx
push 0x10507c0
push 0x1050e78
push 0
call fcn.01128b70
add esp, 0x10
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10ff289
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x10ff289
push 0x80070057
call fcn.01071710
int3