Function at 0x10123fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x1046080]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
mov dword [esi + 0x1c], eax
je 0x1029672
lea ecx, [esi + 0x34]
push ecx
push 0xedb
push edi
push 2
push eax
call dword [sym.imp.UxTheme.dll_GetThemeColor]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x60]
push eax
push edi
push 0xe12
push edi
push 2
push edi
push dword [esi + 0x1c]
mov dword [esi + 0x40], 0x1d
mov dword [esi + 0x44], 0xe
call dword [sym.imp.UxTheme.dll_GetThemeMargins]
lea eax, [ebp - 0x7c]
push eax
push 1
push edi
push edi
push 3
push edi
push dword [esi + 0x1c]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call dword [sym.imp.UxTheme.dll_GetThemePartSize]
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x5c], eax
push 0x40000068
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x101271a
push 0x80
lea eax, [esi + 0x94]
push eax
push 0x2022
push dword [0x1046f08]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x101272c
lea eax, [esi + 0x94]
push eax
call fcn.010123a2
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push edi
push edi
push 2
push dword [esi + 0x1c]
mov word [esi + 0x88], ax
call fcn.010101bd
push dword [ebp - 0x80]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, edi
mov dword [ebp - 0x64], eax
je 0x10125f8
push dword [esi + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [ebp - 0x78], eax
je 0x10125ec
lea eax, [ebp - 0x88]
push eax
lea eax, [esi + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esi + 0x94]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x2d
call ebx
add eax, dword [ebp - 0x88]
mov dword [esi + 0x54], eax
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x10125e0
mov edx, dword [ebp - 0xc0]
push 0x17
pop ecx
xor eax, eax
push 0x1010d44
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
push 0x20
lea eax, [ebp - 0x44]
push eax
mov dword [esi + 0x4c], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x50], 0x190
mov byte [ebp - 0x49], 2
call fcn.0100660f
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
test eax, eax
mov dword [esi + 0x28], eax
je 0x10125de
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x10125d4
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x5c], 0
je 0x10296b8
xor edi, edi
push dword [ebp - 0x78]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x64]
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esi + 0x50], edi
je 0x101272c
push 1
push edi
push 0x10122e8
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x60]
add dword [ebp - 0x74], eax
mov eax, dword [esi + 0x64]
sub dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x68]
add dword [ebp - 0x70], eax
mov eax, dword [esi + 0x6c]
sub dword [ebp - 0x68], eax
neg edi
sbb edi, edi
and edi, 0xffffffda
add edi, 0x31
push edi
call ebx
push 0x2d
mov edi, eax
call ebx
lea eax, [eax + eax*2]
lea ecx, [edi + eax]
mov edi, dword [ebp - 0x6c]
mov eax, edi
sub eax, dword [esi + 0x5c]
xor ebx, ebx
sub eax, dword [esi + 0x54]
mov dword [esi + 0x58], ecx
sub eax, dword [ebp - 0x74]
cmp ecx, eax
jg 0x10296f0
mov ecx, dword [ebp - 0x68]
sub edi, dword [ebp - 0x74]
mov eax, ecx
sub eax, dword [esi + 0x4c]
sub ecx, dword [ebp - 0x70]
sub eax, dword [ebp - 0x70]
push ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x70], eax
push dword [0x1046f04]
lea eax, [esi + 0x94]
push 1
push dword [esi + 0xc]
push ecx
push edi
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push 0x5600000b
push eax
push 0x1012730
push ebx
call fcn.01006cad
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x101272c
push eax
lea ecx, [esi + 4]
call fcn.01010d59
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x10126d7
push ebx
push eax
push 0x30
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push 0x1010170
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x10296fe
mov ecx, esi
call fcn.01012743
lea eax, [esi + 0x30]
push eax
push 0x1010d34
push 1
push ebx
push 0x101116c
call dword [sym.imp.ole32.dll_CoCreateInstance]
push esi
push dword [esi + 0x10]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001aff
leave
ret 0x10
xor eax, eax
jmp 0x101271d
push 7
call dword [sym.imp.USER32.dll_GetSysColor]
push 4
mov dword [esi + 0x34], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 4
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x2d
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], 0xd
mov dword [esi + 0x44], 0xe
call ebx
shl eax, 1
push 0x2d
mov dword [esi + 0x60], eax
call ebx
shl eax, 1
mov dword [esi + 0x64], eax
jmp 0x1012498
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetLayout]
test al, 1
mov eax, 0x1029710
jne 0x10296cf
mov eax, 0x1011f84
lea ecx, [ebp - 0x88]
push ecx
push 1
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x5c], eax
jmp 0x10125de
cmp eax, ebx
jge 0x10296f6
xor eax, eax
mov dword [esi + 0x58], eax
jmp 0x101266f
mov ecx, esi
call fcn.01042236
mov dword [esi + 0x14], eax
jmp 0x10126f2