Function at 0x10009d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b58b6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100dcc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 2
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp dword [ebp + 0x24], 0xf
lea edx, [ebp - 0x34]
push edx
push 0x20019
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], 1
cmova eax, dword [ebp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009ec4
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
cmp dword [ebp + 0x3c], 0xf
lea ecx, [ebp - 0x30]
push ecx
push esi
push esi
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 3
cmova eax, dword [ebp + 0x28]
push esi
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10009e93
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10009e93
lea ecx, [ebp - 0x29]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100010f0
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
cmp dword [ebp + 0x3c], 0xf
lea eax, [ebp + 0x28]
push ecx
cmova eax, dword [ebp + 0x28]
push esi
push 0
push 0
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10009e93
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
dec eax
movups xmmword [ebp - 0x28], xmm0
cmp esi, eax
jne 0x10009e48
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x10009e54
sub eax, esi
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10003b70
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10009bf0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10009e93
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009e89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009f5c
push ecx
push edx
call fcn.1008c3c5
add esp, 8
test esi, esi
je 0x10009ec4
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10009eba
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009f5c
push ecx
push esi
call fcn.1008c3c5
add esp, 8
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x10009efd
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009ef3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009f61
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0xf
mov byte [ebp + 0x10], 0
cmp ecx, 0xf
jbe 0x10009f3f
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009f35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009f61
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov eax, edi
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.1008c3d3
mov esp, ebp
pop ebp
ret
call fcn.1009189f
call fcn.1009189f
int3