Function at 0x10023341
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x164
mov eax, 0x1003914b
call fcn.10037f42
mov ebx, ecx
push 0x10012d28
lea ecx, [ebp - 0x58]
call fcn.100247f9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x10010c50
call fcn.100247f9
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
mov edi, dword [ebx + 0xac]
push ebx
push 0x67f
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [esi + 0x10]
call dword [0x1004e348]
mov ecx, edi
call dword [esi + 0x10]
lea ecx, [ebp - 0x40]
call fcn.100247d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100247d4
lea ecx, [ebp - 0xd0]
call fcn.10019ce4
lea eax, [ebx + 0x80]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x170]
call fcn.10024305
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x170]
test edi, edi
jne 0x10023492
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x10012b28
call fcn.100247f9
push 0x684
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x154], esp
mov edi, 0x10012d28
push edi
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov eax, dword [ebx + 0xac]
push 2
push eax
mov esi, dword [eax]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 8]
call dword [0x1004e348]
call dword [esi + 8]
add esp, 0x58
push ebx
push 0x685
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push edi
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov edi, dword [ebx + 0xac]
mov eax, dword [edi]
mov byte [ebp - 4], 3
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1004e348]
mov ecx, edi
call esi
jmp 0x10023b18
mov eax, dword [edi]
lea ecx, [ebp - 0x148]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1004e348]
mov ecx, edi
call esi
push eax
lea ecx, [ebp - 0xd0]
call fcn.10023b38
lea ecx, [ebp - 0x148]
call fcn.100203c6
and dword [ebp - 0x168], 0
and dword [ebp - 0x164], 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x58]
call fcn.10024752
mov byte [ebp - 4], 8
cmp dword [ebp - 0x48], 0
jne 0x100235d9
push ebx
sub esp, 0x18
cmp byte [ebp - 0x5f], 0
mov ecx, esp
mov dword [ebp - 0x150], esp
je 0x1002355c
push 0x10012db0
call fcn.100247f9
push 0x691
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x154], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov edi, dword [ebx + 0xac]
push 0
mov eax, dword [edi]
mov byte [ebp - 4], 8
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1004e348]
mov ecx, edi
call esi
jmp 0x100235b5
push 0x10012df0
call fcn.100247f9
push 0x695
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x154], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov eax, dword [ebx + 0xac]
push 2
push eax
mov esi, dword [eax]
mov byte [ebp - 4], 8
mov ecx, dword [esi + 8]
call dword [0x1004e348]
call dword [esi + 8]
add esp, 0x58
push ebx
push 0x697
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x10012d28
call fcn.100247f9
mov byte [ebp - 4], 0xd
jmp 0x10023ac5
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x164]
push 0x48
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push 0x10012e48
push eax
lea eax, [ebp - 0x168]
mov byte [ebp - 0x14], 1
push eax
call dword [sym.imp.SystemEventsBrokerClient.dll_SebEnumerateEventsByType]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.10023bb9
test esi, esi
jns 0x1002369b
push esi
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x10012e50
call fcn.100247f9
push 0x6a1
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x154], esp
mov edi, 0x10012d28
push edi
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov eax, dword [ebx + 0xac]
push 2
push eax
mov esi, dword [eax]
mov byte [ebp - 4], 8
mov ecx, dword [esi + 8]
call dword [0x1004e348]
call dword [esi + 8]
add esp, 0x5c
push ebx
push 0x6a2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push edi
call fcn.100247f9
mov byte [ebp - 4], 0x10
jmp 0x10023ac5
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x168], 0
jbe 0x10023807
xor ecx, ecx
mov dword [ebp - 0x150], ecx
and dword [ebp - 0x14c], 0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x14c]
mov esi, dword [ebp - 0x164]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
sub esp, 0x10
mov byte [ebp - 0x14], 1
lea esi, [ecx + esi]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.SystemEventsBrokerClient.dll_SebQueryEventPackage]
cmp byte [ebp - 0x14], 0
mov esi, eax
je 0x10023702
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.10024a79
test esi, esi
jns 0x1002376e
push esi
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0x10012e78
call fcn.100247f9
push 0x6ab
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov eax, dword [ebx + 0xac]
push 2
push eax
mov esi, dword [eax]
mov byte [ebp - 4], 0x11
mov ecx, dword [esi + 8]
call dword [0x1004e348]
call dword [esi + 8]
add esp, 0x5c
jmp 0x100237c7
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x40]
call fcn.10024710
push ecx
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x40]
call fcn.100245f5
cmp eax, 0xffffffff
jne 0x100239bd
mov edi, dword [ebp - 0x14c]
test edi, edi
je 0x100237b8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push edi
mov esi, eax
call fcn.1001680a
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
and dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x40]
call fcn.10025097
mov byte [ebp - 4], 8
cmp dword [ebp - 0x14c], 0
je 0x100237df
push dword [ebp - 0x14c]
call fcn.1001680a
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
inc eax
add ecx, 0x10
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], ecx
cmp eax, dword [ebp - 0x168]
jb 0x100236b7
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x10012ec0
call fcn.100247f9
push 0x6b9
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0x18
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov edi, dword [ebx + 0xac]
push 0
mov esi, dword [edi]
mov byte [ebp - 4], 8
mov ecx, dword [esi + 4]
call dword [0x1004e348]
mov ecx, edi
call dword [esi + 4]
lea eax, [ebp - 0xd0]
mov edx, 0x10010950
push eax
lea ecx, [ebp - 0x28]
call fcn.100264ac
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x1002388e
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 4
push ecx
lea ecx, [ebp - 0x150]
xor esi, esi
push ecx
push esi
push 0x18
push 0x10010a10
push eax
push 0x80000001
mov dword [ebp - 0x150], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
push ebx
sub esp, 0x18
cmp dword [ebp - 0x150], 1
mov ecx, esp
mov dword [ebp - 0x15c], esp
jne 0x10023a43
push 0x10012f0c
call fcn.100247f9
push 0x6be
sub esp, 0x18
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0x1b
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov edi, dword [ebx + 0xac]
push esi
mov eax, dword [edi]
mov byte [ebp - 4], 0x19
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1004e348]
mov ecx, edi
call esi
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
jb 0x1002393e
mov edx, dword [ebp - 0x28]
push 0
push 0x10010a10
call fcn.10019b50
test eax, eax
jns 0x10023a9a
push eax
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x10012f38
call fcn.100247f9
push 0x6c2
sub esp, 0x18
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov eax, dword [ebx + 0xac]
push 2
push eax
mov esi, dword [eax]
mov byte [ebp - 4], 0x19
mov ecx, dword [esi + 8]
call dword [0x1004e348]
call dword [esi + 8]
add esp, 0x5c
jmp 0x10023a9a
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x10012ea0
call fcn.100247f9
push 0x6b2
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov edi, dword [ebx + 0xac]
push 0
mov eax, dword [edi]
mov byte [ebp - 4], 0x14
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1004e348]
mov ecx, edi
call esi
lea ecx, [ebp - 0x40]
call fcn.10025097
mov byte [ebp - 4], 8
cmp dword [ebp - 0x14c], 0
je 0x10023aa6
push dword [ebp - 0x14c]
call fcn.1001680a
jmp 0x10023aa6
push 0x10012f74
call fcn.100247f9
push 0x6c7
sub esp, 0x18
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x10012d28
call fcn.100247f9
sub esp, 0x18
mov byte [ebp - 4], 0x1f
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov edi, dword [ebx + 0xac]
push esi
mov eax, dword [edi]
mov byte [ebp - 4], 0x19
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1004e348]
mov ecx, edi
call esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.10025097
push ebx
push 0x6ca
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x10012d28
call fcn.100247f9
mov byte [ebp - 4], 0x20
sub esp, 0x18
mov ecx, esp
push 0x10010c50
call fcn.100247f9
mov edi, dword [ebx + 0xac]
mov eax, dword [edi]
mov byte [ebp - 4], 8
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1004e348]
mov ecx, edi
call esi
lea ecx, [ebp - 0x58]
call fcn.10025097
mov eax, dword [ebp - 0x164]
and dword [ebp - 0x164], 0
test eax, eax
je 0x10023b18
push eax
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x10023b27
call fcn.100150d0
lea ecx, [ebp - 0xd0]
call fcn.100203c6
call fcn.10037eec
ret