Function at 0x103850b
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 0x1038575
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 0x10385d8
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
push 0x40000068
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x103888a
push 0x80
lea eax, [esi + 0x94]
push eax
push 0x2022
push dword [0x103d6e8]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1038819
lea eax, [esi + 0x94]
push eax
call fcn.0102b625
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.0103433e
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 0x1038752
push dword [esi + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [ebp + 0x54], eax
je 0x1038746
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 0x103873a
mov edx, dword [ebp + 0x10]
push 0x17
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
push 0x10082d0
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 0x1038738
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 0x1038705
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x5c], 0
jne 0x1038738
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_GetLayout]
test al, 1
mov eax, 0x10085ac
jne 0x1038722
mov eax, 0x10082cc
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 0x1038819
push 1
push edi
push 0x1004c5c
push 0x1002d80
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
jle 0x10387ce
cmp eax, ebx
jge 0x10387cb
xor eax, eax
mov dword [esi + 0x58], eax
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 [0x103d6e4]
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 0x100859c
push ebx
call fcn.01029af7
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x103881d
xor eax, eax
jmp 0x103888d
lea ecx, [esi + 4]
push ecx
push ebx
push 0x1036da2
push eax
call fcn.01029e4f
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x1038841
push ebx
push eax
push 0x30
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push 0x1004f98
push 0x1002d80
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
jne 0x1038862
mov ecx, esi
call fcn.01037dc2
mov dword [esi + 0x14], eax
mov ecx, esi
call fcn.01037d9a
lea eax, [esi + 0x30]
push eax
push 0x100548c
push 1
push ebx
push 0x100549c
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