Function at 0x1009ce86
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x34
mov eax, 0x100e76e0
call fcn.10002415
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push 0x10013b1c
push dword [eax + 4]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.10006b1a
push 0x20019
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.10006c79
test eax, eax
jne 0x1009d0f2
mov dword [ebp - 0x18], ebx
push ebx
push 0x1009d154
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.1004b8ce
test eax, eax
jne 0x1009cf4f
push 0x17
push 0x1002b41c
push 0x1009d168
lea ecx, [ebp - 0x14]
call fcn.1003ed3c
push esi
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.1009ce04
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 4
call fcn.1003f5ab
test al, al
jne 0x1009cf46
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1002ff03
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1002ff2e
mov ecx, dword [ebp - 0x14]
push 4
call fcn.1003000b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], ebx
call fcn.1002ea27
mov byte [ebp - 4], 3
jmp 0x1009d0d2
push ebx
push 0x1009d13c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1004b8ce
test eax, eax
jne 0x1009cff4
push 0x17
push 0x1002b41c
push 0x1009d168
lea ecx, [ebp - 0x14]
call fcn.1003ed3c
push esi
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.1009ce04
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 6
call fcn.1003f5ab
test al, al
jne 0x1009cfeb
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1002ff03
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1002ff2e
push dword [ebp - 0x18]
call fcn.1003f5ab
mov ecx, dword [ebp - 0x14]
test al, al
je 0x1009cfca
push 4
call fcn.1003000b
jmp 0x1009cfdc
push 1
call fcn.1003000b
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.1002ff59
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], ebx
call fcn.1002ea27
mov byte [ebp - 4], 5
jmp 0x1009d0d2
push ebx
push 0x1009d118
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1004b8ce
test eax, eax
je 0x1009d0e6
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
mov edi, 0x1009d12c
push edi
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009d0e6
cmp dword [ebp - 0x20], 1
jne 0x1009d0e6
push ebx
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1004b8ce
test eax, eax
jne 0x1009d0e6
push 0x17
push 0x1002b41c
push 0x1009d168
lea ecx, [ebp - 0x14]
call fcn.1003ed3c
push esi
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.1009ce04
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push eax
mov byte [ebp - 4], 8
call fcn.1003f5ab
test al, al
jne 0x1009d0ce
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.1002ff03
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1002ff2e
push dword [ebp - 0x18]
call fcn.1003f5ab
mov ecx, dword [ebp - 0x14]
test al, al
je 0x1009d0ad
push 4
call fcn.1003000b
jmp 0x1009d0bf
push 2
call fcn.1003000b
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.1002ffb2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 0x14], ebx
call fcn.1002ea27
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.10006bef
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100aabbb
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10006bef
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.10008662
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100aabbb
call fcn.10002556
ret 0x10