Function at 0x1009adc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0c1b
mov eax, dword fs:[0]
push eax
mov eax, 0x1110
call fcn.100bf790
mov eax, dword [0x1011d1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1110]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
mov dword [ebp - 0x111c], esi
mov dword [ebp - 0x1110], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1009ae7a
mov ecx, dword [0x1011de3c]
cmp ecx, 0x1011de3c
je 0x1009ae5d
test byte [ecx + 0x1c], 4
je 0x1009ae5d
cmp byte [ecx + 0x19], 5
jb 0x1009ae5d
push eax
push dword [ecx + 0x14]
mov edx, 0x101059c4
push dword [ecx + 0x10]
mov ecx, 0x1ee
call fcn.10022cf0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100be435
mov esp, ebp
pop ebp
ret 4
xor edi, edi
mov dword [ebp - 0x1118], edi
cmp dword [ebp - 0x1110], edi
jbe 0x1009ae5d
nop word [eax + eax]
lea eax, [ebp - 0x110c]
mov dword [ebp - 0x1114], 0xc8
push eax
lea eax, [ebp - 0x10d8]
mov dword [ebp - 0x110c], 0x1000
push eax
push 0
push 0
lea eax, [ebp - 0x1114]
push eax
lea eax, [ebp - 0xd8]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, eax
test ecx, ecx
jne 0x1009b0ad
cmp dword [ebp - 0x1114], eax
je 0x1009b0ad
xorps xmm0, xmm0
mov dword [ebp - 0x10e0], eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x10dc], eax
movups xmmword [ebp - 0x10f0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009af01
sub ecx, edx
lea eax, [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0x10f0]
call fcn.10022b30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10f0]
push 2
push 0x10101c18
call fcn.10021a80
push 1
push dword [ebp - 0x110c]
lea edx, [ebp - 0x10d8]
lea ecx, [ebp - 0x1108]
call fcn.10024590
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1009af61
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x10f0]
call fcn.10021a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1108]
call fcn.10016bf0
push 3
push 0x101058e4
lea ecx, [ebp - 0x10f0]
call fcn.10021a80
xor esi, esi
cmp dword [ebp - 0x110c], esi
jbe 0x1009aff4
mov edi, 1
nop
mov cl, byte [ebp + edi - 0x10d9]
test cl, cl
jne 0x1009afcd
test esi, esi
je 0x1009afe4
cmp edi, dword [ebp - 0x110c]
jae 0x1009afe4
cmp byte [ebp + edi - 0x10da], cl
jne 0x1009afe4
cmp byte [ebp + edi - 0x10d8], cl
jne 0x1009afe4
push 0x7c
jmp 0x1009afd9
lea eax, [ecx - 0x20]
cmp al, 0x5e
ja 0x1009afd7
push ecx
jmp 0x1009afd9
push 0x2e
lea ecx, [ebp - 0x10f0]
call fcn.10021980
inc esi
inc edi
cmp esi, dword [ebp - 0x110c]
jb 0x1009afa0
mov edi, dword [ebp - 0x1118]
push 1
push 0x10102dd8
lea ecx, [ebp - 0x10f0]
call fcn.10021a80
mov ecx, dword [0x1011de3c]
cmp ecx, 0x1011de3c
je 0x1009b04d
test byte [ecx + 0x1c], 4
je 0x1009b04d
cmp byte [ecx + 0x19], 4
jb 0x1009b04d
cmp dword [ebp - 0x10dc], 0xf
lea eax, [ebp - 0x10f0]
mov edx, 0x101059c4
cmova eax, dword [ebp - 0x10f0]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1f0
call fcn.1002d7a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10dc]
cmp ecx, 0xf
jbe 0x1009b08a
mov edx, dword [ebp - 0x10f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b080
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009b0f6
push ecx
push edx
call fcn.100be473
add esp, 8
mov esi, dword [ebp - 0x111c]
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10dc], 0xf
mov byte [ebp - 0x10f0], 0
jmp 0x1009b0de
mov eax, dword [0x1011de3c]
cmp eax, 0x1011de3c
je 0x1009b0de
test byte [eax + 0x1c], 4
je 0x1009b0de
cmp byte [eax + 0x19], 5
jb 0x1009b0de
push ecx
push dword [eax + 0x14]
mov edx, 0x101059c4
mov ecx, 0x1ef
push dword [eax + 0x10]
call fcn.10022cf0
add esp, 0xc
inc edi
mov dword [ebp - 0x1118], edi
cmp edi, dword [ebp - 0x1110]
jb 0x1009ae90
jmp 0x1009ae5d
call fcn.100c3f97
int3