Function at 0x10091f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1478
call fcn.101f99e0
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1470], eax
or edi, 0x20019
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1478], eax
mov dword [ebp - 0x1474], 0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10091fd8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x31
call fcn.10003680
add esp, 4
test eax, eax
je 0x10091ffb
lea ecx, [ebp - 0x1474]
push ecx
push edi
push 0
push dword [ebp - 0x1470]
push ebx
call eax
jmp 0x10092012
lea eax, [ebp - 0x1474]
push eax
push edi
push 0
push dword [ebp - 0x1470]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test esi, esi
je 0x1009201f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x100921fe
push 0x1450
lea eax, [ebp - 0x1454]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor ebx, ebx
mov edi, dword [ebp - 0x1474]
mov dword [ebp - 0x1470], 0xa28
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10092064
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
push 0
push 0
push 0
push 0
test eax, eax
je 0x1009208e
lea ecx, [ebp - 0x1470]
push ecx
lea ecx, [ebp - 0x1454]
push ecx
push ebx
push edi
call eax
jmp 0x100920a4
lea eax, [ebp - 0x1470]
push eax
lea eax, [ebp - 0x1454]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x100920b1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x100921be
xor eax, eax
mov dword [ebp - 0x145c], edi
lea ecx, [ebp - 0x1454]
mov dword [ebp - 0x1458], 7
mov word [ebp - 0x146c], ax
lea edx, [ecx + 2]
jmp 0x100920e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100920e0
sub ecx, edx
lea eax, [ebp - 0x1454]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x146c]
call fcn.100070c0
mov edx, dword [ebp - 0x1478]
mov ecx, dword [edx + 4]
cmp dword [edx + 8], ecx
je 0x1009215e
mov eax, dword [ebp - 0x146c]
lea edi, [ebp - 0x1454]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1468]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1464]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1460]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x145c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x1458]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [edx + 4], 0x18
mov ecx, 0x514
rep stosd dword es:[edi], eax
inc ebx
jmp 0x1009203e
lea eax, [ebp - 0x146c]
push eax
push ecx
mov ecx, edx
call fcn.1001df20
mov edx, dword [ebp - 0x1458]
cmp edx, 8
jb 0x100921a9
mov ecx, dword [ebp - 0x146c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009219f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009220f
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
xor eax, eax
lea edi, [ebp - 0x1454]
mov ecx, 0x514
inc ebx
rep stosd dword es:[edi], eax
jmp 0x1009203e
mov edi, dword [ebp - 0x1474]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100921da
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x44
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x100921ed
call eax
jmp 0x100921f3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x100921fe
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
call fcn.101e6c40
int3