Function at 0x10db208
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd1
push 0
push 0
dec ecx
jne 0x10db210
push ebx
push esi
push edi
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x10db773
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x10db790
call fcn.0110b7bc
mov eax, 0x10db820
call fcn.0110b7bc
mov eax, 0x10db790
call fcn.0110b7bc
mov dl, 1
mov eax, dword [0x10473b8]
call fcn.010485bc
mov esi, eax
mov edx, 0x80000002
mov eax, esi
call fcn.010486a4
mov edx, 0x10db880
mov eax, esi
call fcn.01048b08
test al, al
je 0x10db28e
mov edx, 1
mov eax, 0x10db8b4
call fcn.0110b89c
mov eax, 0x10db8b4
call fcn.0110b7bc
jmp 0x10db2a7
mov edx, 1
mov eax, 0x10db908
call fcn.0110b89c
mov eax, 0x10db908
call fcn.0110b7bc
mov edx, 0x80000001
mov eax, esi
call fcn.010486a4
mov edx, 0x10db880
mov eax, esi
call fcn.01048b08
test al, al
je 0x10db2de
mov edx, 1
mov eax, 0x10db964
call fcn.0110b89c
mov eax, 0x10db964
call fcn.0110b7bc
jmp 0x10db2f7
mov edx, 1
mov eax, 0x10db9b8
call fcn.0110b89c
mov eax, 0x10db9b8
call fcn.0110b7bc
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x10dba08
push 0x80000002
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x10db755
or ebx, 0xffffffff
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [edi], eax
inc ebx
push 0x104
lea eax, [ebp - 0x228]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyW
cmp eax, 0x103
je 0x10db73b
lea eax, [ebp - 0x63c]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.01006d68
mov eax, dword [ebp - 0x63c]
call fcn.010dacfc
test al, al
je 0x10db732
push edi
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x10db732
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [edi]
push eax
call sub.advapi32.dll_RegQueryInfoKeyW
cmp dword [ebp - 0x14], 3
jbe 0x10db72b
cmp dword [ebp - 0x14], 0xa
jae 0x10db72b
mov edx, 0x10dba44
mov eax, dword [edi]
call fcn.010dad9c
test al, al
je 0x10db72b
lea eax, [ebp - 4]
push eax
push 0x10dba54
mov eax, dword [edi]
push eax
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
je 0x10db400
push ebp
call fcn.010db1c8
pop ecx
jmp 0x10db732
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x10dba64
mov eax, dword [edi]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
lea eax, [ebp - 0x640]
lea edx, [ebp - 0x638]
mov ecx, 0x104
call fcn.01006d68
mov eax, dword [ebp - 0x640]
call fcn.010dae10
test al, al
je 0x10db72b
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x10dba64
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
lea eax, [ebp - 0x644]
lea edx, [ebp - 0x430]
mov ecx, 0x104
call fcn.01006d68
cmp dword [ebp - 0x644], 0
je 0x10db4c6
lea eax, [ebp - 0x648]
lea edx, [ebp - 0x430]
mov ecx, 0x104
call fcn.01006d68
mov eax, dword [ebp - 0x648]
call fcn.010dacfc
test al, al
jne 0x10db4d2
push ebp
call fcn.010db1c8
pop ecx
jmp 0x10db732
lea eax, [ebp - 0x650]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.01006d68
mov ecx, dword [ebp - 0x650]
lea eax, [ebp - 0x64c]
mov edx, 0x10dba74
call fcn.0100703c
mov eax, dword [ebp - 0x64c]
mov edx, 1
call fcn.0110b89c
lea eax, [ebp - 0x658]
lea edx, [ebp - 0x430]
mov ecx, 0x104
call fcn.01006d68
mov ecx, dword [ebp - 0x658]
lea eax, [ebp - 0x654]
mov edx, 0x10dbaa8
call fcn.0100703c
mov eax, dword [ebp - 0x654]
mov edx, 1
call fcn.0110b89c
mov dl, 1
mov eax, dword [0x10473b8]
call fcn.010485bc
mov esi, eax
mov edx, 0x80000002
mov eax, esi
call fcn.010486a4
lea eax, [ebp - 0x660]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.01006d68
mov ecx, dword [ebp - 0x660]
lea eax, [ebp - 0x65c]
mov edx, 0x10dbae0
call fcn.0100703c
mov edx, dword [ebp - 0x65c]
mov eax, esi
call fcn.01048b08
test al, al
je 0x10db5f3
mov edx, 1
mov eax, 0x10dbb1c
call fcn.0110b89c
push 0x10dbb40
lea eax, [ebp - 0x668]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.01006d68
push dword [ebp - 0x668]
push 0x10dbba0
lea eax, [ebp - 0x664]
mov edx, 3
call fcn.01007120
mov eax, dword [ebp - 0x664]
call fcn.0110b7bc
jmp 0x10db643
mov edx, 1
mov eax, 0x10dbbc8
call fcn.0110b89c
push 0x10dbb40
lea eax, [ebp - 0x670]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.01006d68
push dword [ebp - 0x670]
push 0x10dbbf4
lea eax, [ebp - 0x66c]
mov edx, 3
call fcn.01007120
mov eax, dword [ebp - 0x66c]
call fcn.0110b7bc
lea eax, [ebp - 0x678]
lea edx, [ebp - 0x430]
mov ecx, 0x104
call fcn.01006d68
mov ecx, dword [ebp - 0x678]
lea eax, [ebp - 0x674]
mov edx, 0x10dbc24
call fcn.0100703c
mov edx, dword [ebp - 0x674]
mov eax, esi
call fcn.01048b08
test al, al
je 0x10db6d2
mov edx, 1
mov eax, 0x10dbc64
call fcn.0110b89c
push 0x10dbc88
lea eax, [ebp - 0x680]
lea edx, [ebp - 0x430]
mov ecx, 0x104
call fcn.01006d68
push dword [ebp - 0x680]
push 0x10dbba0
lea eax, [ebp - 0x67c]
mov edx, 3
call fcn.01007120
mov eax, dword [ebp - 0x67c]
call fcn.0110b7bc
jmp 0x10db722
mov edx, 1
mov eax, 0x10dbcec
call fcn.0110b89c
push 0x10dbc88
lea eax, [ebp - 0x688]
lea edx, [ebp - 0x430]
mov ecx, 0x104
call fcn.01006d68
push dword [ebp - 0x688]
push 0x10dbbf4
lea eax, [ebp - 0x684]
mov edx, 3
call fcn.01007120
mov eax, dword [ebp - 0x684]
call fcn.0110b7bc
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 4]
push ebp
call fcn.010db1c8
pop ecx
cmp ebx, 0xffffffff
jne 0x10db328
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, 0x10db790
call fcn.0110b7bc
xor eax, eax
call fcn.0110b7bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10db77a
lea eax, [ebp - 0x688]
mov edx, 0x14
call fcn.01006b60
ret