Function at 0x1012394
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 0x102954a
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 0x10126b2
push 0x80
lea eax, [esi + 0x94]
push eax
push 0x2022
push dword [0x1046f08]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10126c4
lea eax, [esi + 0x94]
push eax
call fcn.0101233a
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.01010159
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 0x1012590
push dword [esi + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [ebp - 0x78], eax
je 0x1012584
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 0x1012578
mov edx, dword [ebp - 0xc0]
push 0x17
pop ecx
xor eax, eax
push 0x1010cdc
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 0x1012576
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 0x101256c
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x5c], 0
je 0x1029590
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 0x10126c4
push 1
push edi
push 0x1012280
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 0x10295c8
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 0x10126c8
push ebx
call fcn.01006c75
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x10126c4
push eax
lea ecx, [esi + 4]
call fcn.01010cf1
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x101266f
push ebx
push eax
push 0x30
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push 0x101010c
push 0x100bdb8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x10295d6
mov ecx, esi
call fcn.010126db
lea eax, [esi + 0x30]
push eax
push 0x1010ccc
push 1
push ebx
push 0x1011104
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 0x10126b5
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 0x1012430
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetLayout]
test al, 1
mov eax, 0x10295e8
jne 0x10295a7
mov eax, 0x1011f1c
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 0x1012576
cmp eax, ebx
jge 0x10295ce
xor eax, eax
mov dword [esi + 0x58], eax
jmp 0x1012607
mov ecx, esi
call fcn.01041f1e
mov dword [esi + 0x14], eax
jmp 0x101268a