Function at 0x1010252
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xb8
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
mov dword [esi + 0x1c], eax
jne 0x10165a5
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
push 0x40000068
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1010565
push 0x80
lea eax, [esi + 0x94]
push eax
push 0x2022
push dword [0x1040340]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x101660d
lea eax, [esi + 0x94]
push eax
call fcn.010097e6
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.0100f5d1
push dword [ebp + 0x70]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, edi
mov dword [ebp + 0x7c], eax
je 0x1010438
push dword [esi + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [ebp + 0x54], eax
je 0x101042c
lea eax, [ebp + 0x48]
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 + 0x7c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x2d
call ebx
add eax, dword [ebp + 0x48]
mov dword [esi + 0x54], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x1010420
mov edx, dword [ebp + 0x10]
push 0x17
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
push 0x101c6d0
lea eax, [ebp - 0x34]
push eax
mov dword [esi + 0x4c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x40], 0x190
mov byte [ebp - 0x39], 2
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
test eax, eax
mov dword [esi + 0x28], eax
je 0x101041e
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x10103eb
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x5c], 0
jne 0x101041e
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_GetLayout]
test al, 1
mov eax, 0x101c77c
jne 0x1010408
mov eax, 0x101c6cc
lea ecx, [ebp + 0x48]
push ecx
push 1
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x5c], eax
xor edi, edi
push dword [ebp + 0x54]
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x7c]
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esi + 0x50], edi
je 0x101660d
push 1
push edi
push 0x101c640
push 0x101b3a8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
mov edi, eax
lea eax, [ebp + 0x58]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x60]
add dword [ebp + 0x58], eax
mov eax, dword [esi + 0x64]
sub dword [ebp + 0x60], eax
mov eax, dword [esi + 0x68]
add dword [ebp + 0x5c], eax
mov eax, dword [esi + 0x6c]
sub dword [ebp + 0x64], 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 + 0x60]
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 + 0x58]
cmp ecx, eax
jg 0x1026bf0
mov ecx, dword [ebp + 0x64]
sub edi, dword [ebp + 0x58]
mov eax, ecx
sub eax, dword [esi + 0x4c]
sub ecx, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x5c]
push ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x70], eax
push dword [0x104033c]
lea eax, [esi + 0x94]
push 1
push dword [esi + 0xc]
push ecx
push edi
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push 0x5600000b
push eax
push 0x101c76c
push ebx
call fcn.0100977b
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x101660d
lea ecx, [esi + 4]
push ecx
push ebx
push 0x1005cb8
push eax
call fcn.0100f447
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x1010522
push ebx
push eax
push 0x30
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push 0x101c590
push 0x101b3a8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1026bfe
mov ecx, esi
call fcn.01019be4
lea eax, [esi + 0x30]
push eax
push 0x101c698
push 1
push ebx
push 0x101c6a8
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
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10
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 + 0x50]
push eax
push 1
push edi
push edi
push 3
push edi
push dword [esi + 0x1c]
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x54], edi
call dword [sym.imp.UxTheme.dll_GetThemePartSize]
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x5c], eax
jmp 0x10102be
xor eax, eax
jmp 0x1010568
cmp eax, ebx
jge 0x1026bf6
xor eax, eax
mov dword [esi + 0x58], eax
jmp 0x10104af
mov ecx, esi
call fcn.01039315
mov dword [esi + 0x14], eax
jmp 0x101053d