Function at 0x10123ac
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 0x10294c2
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 0x10126ca
push 0x80
lea eax, [esi + 0x94]
push eax
push 0x2022
push dword [0x1046f08]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10126dc
lea eax, [esi + 0x94]
push eax
call fcn.01012352
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.0101016d
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 0x10125a8
push dword [esi + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [ebp - 0x78], eax
je 0x101259c
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 0x1012590
mov edx, dword [ebp - 0xc0]
push 0x17
pop ecx
xor eax, eax
push 0x1010cf4
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.010065d7
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
test eax, eax
mov dword [esi + 0x28], eax
je 0x101258e
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 0x1012584
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x5c], 0
je 0x1029508
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 0x10126dc
push 1
push edi
push 0x1012298
push 0x100bdb8
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 0x1029540
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 0x10126e0
push ebx
call fcn.01006c74
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x10126dc
push eax
lea ecx, [esi + 4]
call fcn.01010d09
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x1012687
push ebx
push eax
push 0x30
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push 0x1010120
push 0x100bdb8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x102954e
mov ecx, esi
call fcn.010126f3
lea eax, [esi + 0x30]
push eax
push 0x1010ce4
push 1
push ebx
push 0x101111c
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 0x10126cd
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 0x1012448
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetLayout]
test al, 1
mov eax, 0x1029560
jne 0x102951f
mov eax, 0x1011f34
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 0x101258e
cmp eax, ebx
jge 0x1029546
xor eax, eax
mov dword [esi + 0x58], eax
jmp 0x101261f
mov ecx, esi
call 0x1041e96
mov dword [esi + 0x14], eax
jmp 0x10126a2