Function at 0x10021ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov ebx, ecx
lea esi, [ebx + 0x44]
push esi
push 0x10054ce8
push 3
push 0
push 0x1004ec80
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edx, dword [esi]
test edx, edx
je 0x10021f9b
mov ecx, dword [edx]
lea eax, [ebx + 0x40]
push eax
push ebx
push edx
call dword [ecx + 0x10]
cmp dword [0x1005d064], 0
mov edx, 0x584808
mov eax, 0x585808
cmove edx, eax
cmp dword [0x1005d024], 0
je 0x10021b2a
or edx, 0x2000
mov eax, dword [esi]
push edi
push edx
push 0
push dword [ebx + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp byte [0x1005dbdc], 0
mov edi, dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
jne 0x10021b7b
push 0x29c
call edi
add esp, 4
test eax, eax
je 0x10021b6b
mov ecx, eax
call fcn.10032660
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
jmp 0x10021b80
xor eax, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], eax
jmp 0x10021b80
mov eax, dword [0x1005e0e4]
cmp byte [eax + 2], 0
je 0x10021c79
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push 0x10054cf8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x10021c79
cmp byte [0x1005dbdc], al
jne 0x10021be1
push 0x29c
call edi
add esp, 4
test eax, eax
je 0x10021bd0
mov ecx, eax
call fcn.10032660
mov edi, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x10021be7
xor edi, edi
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x10021be7
mov edi, dword [0x1005e0e4]
push 0x11
mov ecx, edi
call fcn.10032880
mov ecx, dword [sym.imp.UxTheme.dll_GetThemeFont]
mov dword [ebp - 8], eax
test eax, eax
je 0x10021c24
lea edx, [ebp - 0x70]
push edx
push 0xd2
push 0
push 0
push 0
push eax
call ecx
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.UxTheme.dll_CloseThemeData]
test esi, esi
je 0x10021c58
mov ecx, dword [sym.imp.UxTheme.dll_GetThemeFont]
lea eax, [ebp - 0x70]
push eax
push 0xd2
push 0
push 0x11
push 0
push dword [edi + 0x214]
call ecx
test eax, eax
je 0x10021c58
push 0
lea eax, [ebp - 0x70]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [edi + 0x238]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x70]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
lea esi, [ebx + 0x44]
mov eax, dword [esi]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea eax, [ebx + 0x20]
push eax
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_IUnknown_GetWindow]
push 0
push str.SysTreeView32
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
push 0
mov esi, eax
mov dword [ebp - 0x14], 0xc
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0x42
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test byte [ebp - 0x10], 1
jne 0x10021d0c
push str.NarratorRunning
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x10021ce9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10021d0c
cmp dword [0x1005d050], 0
je 0x10021d0c
push 1
call dword [sym.imp.COMCTL32.dll_DPA_Create]
push eax
push 0x100181f0
push 0x100181f0
push esi
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
push 0
push str.SysTreeView32
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push 0
push 0x1119
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, dword [0x1005dc08]
test eax, eax
je 0x10021d55
cmp dword [0x1005d02c], 0
jne 0x10021d55
push 1
push esi
call eax
push 0
push str.Explorer
push esi
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0
push 0x10
push str.Start_LargeAllAppsIcons
push str.SoftwareStartIsBack
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push dword [ebp - 4]
mov ecx, ebx
call fcn.100234e0
mov esi, dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
push 0
push ebx
push 0x10021fb0
push dword [ebx + 0x20]
call esi
push 0
push ebx
push 0x10022000
push 0
push str.SysTreeView32
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
call esi
mov cl, byte [0x1005dbdc]
test cl, cl
jne 0x10021dfd
push 0x29c
call edi
add esp, 4
test eax, eax
je 0x10021dec
mov ecx, eax
call fcn.10032660
mov cl, 1
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], cl
jmp 0x10021e02
xor eax, eax
mov cl, 1
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], cl
jmp 0x10021e02
mov eax, dword [0x1005e0e4]
cmp byte [eax + 2], 0
je 0x10021f9a
test cl, cl
jne 0x10021e36
push 0x29c
call edi
add esp, 4
test eax, eax
je 0x10021e27
mov ecx, eax
call fcn.10032660
jmp 0x10021e29
xor eax, eax
mov cl, 1
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], cl
xor edx, edx
mov esi, 2
cmp byte [eax + 0x249], dl
cmove esi, edx
test cl, cl
jne 0x10021e6f
push 0x29c
call edi
add esp, 4
test eax, eax
je 0x10021e61
mov ecx, eax
call fcn.10032660
jmp 0x10021e63
xor eax, eax
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
mov eax, dword [eax + 0x214]
test eax, eax
je 0x10021e9a
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0xfa1
push 0
push 0x11
push eax
call dword [sym.imp.UxTheme.dll_GetThemeEnumValue]
cmp dword [ebp - 4], 2
jne 0x10021e9f
mov esi, 1
push 0
push str.SysTreeView32
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
push str.GetSystemMetricsForDpi
push str.user32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1005e0cc], eax
test eax, eax
je 0x10021f9a
push str.comctl32.dll
call edi
mov ecx, dword [0x1005e3a8]
mov edi, eax
test cl, 1
jne 0x10021f1e
or ecx, 1
mov edx, str.uxtheme.dll
push 0x1002e370
mov dword [0x1005e3a8], ecx
mov ecx, edi
push 0x10055d68
call fcn.1001c5e0
mov ecx, dword [0x1005e3a8]
test eax, eax
setne al
mov byte [0x1005e3ac], al
jmp 0x10021f23
mov al, byte [0x1005e3ac]
test al, al
jne 0x10021f3f
push str.patchedComctl
push str.SIB_ASSERTION_FAILED:__s
call fcn.10001be0
mov ecx, dword [0x1005e3a8]
add esp, 8
test cl, 2
jne 0x10021f70
or ecx, 2
mov edx, 0x1004fd78
push 0x1002e910
push dword [0x1005e0cc]
mov dword [0x1005e3a8], ecx
mov ecx, edi
call fcn.1001c730
test eax, eax
setne al
mov byte [0x1005e3ad], al
jmp 0x10021f75
mov al, byte [0x1005e3ad]
test al, al
jne 0x10021f8b
push str.patchedComctl2
push str.SIB_ASSERTION_FAILED:__s
call fcn.10001be0
add esp, 8
push esi
push 0
push 0x1002e7e0
push ebx
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret