Function at 0x100b0ea
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100eb54]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ebx
lea edi, [esi + 8]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetSysColor]
inc dword [ebp - 0x30]
mov dword [edi], eax
add edi, 4
cmp dword [ebp - 0x30], 0x1f
jl 0x100b107
mov ecx, esi
call fcn.0100a394
mov ecx, esi
call fcn.0100a2d1
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 0x1002788
push 0x100275c
mov edi, 0x80000001
push edi
push 0x212
call fcn.0100a969
push ebx
mov dword [esi + 0x17c], eax
call fcn.0100a0aa
lea ecx, [esi + 0x120]
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], ebx
call fcn.01008951
call dword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x100b25d
push 0x14
lea eax, [esi + 0x1188]
push eax
push 0x839
push dword [0x100eb74]
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [esi + 0x11b0], ebx
jmp 0x100b323
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ebx
push 0x1002908
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b323
lea eax, [ebp - 0x30]
push eax
lea edi, [esi + 0x1188]
push edi
push ebx
push ebx
push 0x100295c
push dword [ebp - 0x34]
mov dword [ebp - 0x30], 0x28
mov word [edi], bx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b31a
cmp dword [ebp - 0x30], 2
jbe 0x100b31a
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b31a
push 9
pop ecx
mov word [ebp - 0x2c], bx
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 0x10028ec
push dword [ebp - 0x38]
mov dword [ebp - 0x30], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp word [ebp - 0x2c], bx
je 0x100b308
cmp dword [ebp - 0x30], 2
jbe 0x100b308
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
jmp 0x100b30b
or eax, 0xffffffff
push dword [ebp - 0x38]
mov dword [esi + 0x11b0], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100bd6d
leave
ret