Function at 0x100a286
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetSysColor]
inc dword [ebp - 4]
mov dword [edi], eax
add edi, 4
cmp dword [ebp - 4], 0x1f
jl 0x100a299
mov ecx, esi
call fcn.010096a5
mov ecx, esi
call fcn.010095f0
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x18
pop ecx
push ebx
lea eax, [esi + 0x84]
push eax
push ecx
push 0x32
mov dword [eax], ecx
call edi
push 0x1c
pop ecx
push ebx
lea eax, [esi + 0x9c]
push eax
push ecx
push 0x36
mov dword [eax], ecx
call edi
push 8
pop ecx
push ebx
lea eax, [esi + 0xb8]
push eax
push ecx
push 0x3a
mov dword [eax], ecx
call edi
push 8
pop ecx
push ebx
lea eax, [esi + 0xc0]
push eax
push ecx
push 0x34
mov dword [eax], ecx
call edi
push 0x30
pop ecx
push ebx
lea eax, [esi + 0xc8]
push eax
push ecx
push 0x40
mov dword [eax], ecx
call edi
push 0xc
pop ecx
push ebx
lea eax, [esi + 0xf8]
push eax
push ecx
push 0x3c
mov dword [eax], ecx
call edi
push 0x46
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [esi + 0x104], eax
lea eax, [esi + 0x108]
push eax
push ebx
push 0x44
call edi
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [esi + 0x10c], eax
lea eax, [esi + 0x110]
push eax
push ebx
push 0x5e
call edi
push ebx
lea eax, [esi + 0x114]
push eax
push ebx
push 0x70
call edi
push ebx
lea eax, [esi + 0x178]
push eax
push ebx
push 0x2006
call edi
push 0x10027a0
push 0x1002774
mov edi, 0x80000001
push edi
push 0x212
call fcn.01009c23
push ebx
mov dword [esi + 0x17c], eax
call fcn.01009426
lea ecx, [esi + 0x120]
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], ebx
call fcn.01007f16
call dword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x100a3ef
push 0x14
lea eax, [esi + 0x1188]
push eax
push 0x839
push dword [0x100db44]
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [esi + 0x11b0], ebx
jmp 0x100a4b5
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push 0x1002920
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a4b5
lea eax, [ebp - 4]
push eax
lea edi, [esi + 0x1188]
push edi
push ebx
push ebx
push 0x1002974
push dword [ebp - 8]
mov dword [ebp - 4], 0x28
mov word [edi], bx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a4ac
cmp dword [ebp - 4], 2
jbe 0x100a4ac
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a4ac
push 9
pop ecx
mov word [ebp - 0x34], bx
lea edi, [ebp - 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push 0x1002904
push dword [ebp - 0xc]
mov dword [ebp - 4], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp word [ebp - 0x34], bx
je 0x100a49a
cmp dword [ebp - 4], 2
jbe 0x100a49a
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
jmp 0x100a49d
or eax, 0xffffffff
push dword [ebp - 0xc]
mov dword [esi + 0x11b0], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret