Function at 0x41e0cb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
push edi
push dword [0x4ff6e8]
call fcn.0042df51
mov ebp, eax
call fcn.00425c77
call fcn.00422137
xor edi, edi
cmp dword [0x4fe720], edi
jne 0x41e24a
mov esi, 0xa4
push esi
push edi
push 0x4fe728
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4fe72c], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4fe728], 0x16
mov dword [0x4fe730], 0x41ddfc
push str.RICHED20.DLL
mov dword [0x4fe748], 0x41dd1c
mov dword [0x4fe740], 0x41e09a
mov dword [0x4fe744], 0x41e599
mov dword [0x4fe75c], 0x41de43
mov dword [0x4fe754], 0x41de29
mov dword [0x4fe750], 0x41e374
mov dword [0x4fe768], 0x41e02b
mov dword [0x4fe76c], 0x41e519
mov dword [0x4fe790], 0x41dfae
mov dword [0x4fe794], 0x41e3f7
mov dword [0x4fe7a4], 0x41dffb
mov dword [0x4fe7a0], 0x41e45a
mov dword [0x4fe7c0], 0x41e021
mov dword [0x4fe7c4], 0x41e4f4
call esi
mov dword [0x4fe724], eax
test eax, eax
jne 0x41e1ca
push str.RICHED32.DLL
call esi
mov eax, dword [0x4fe718]
test eax, eax
je 0x41e240
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x4fe718]
mov dword [0x4fe7d0], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x4fe718]
mov dword [0x4fe7d4], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x4fe718]
mov dword [0x4fe7d8], eax
call esi
push str.DrawThemeParentBackground
push dword [0x4fe718]
mov dword [0x4fe7dc], eax
call esi
push str.DrawThemeBackground
push dword [0x4fe718]
mov dword [0x4fe7e0], eax
call esi
mov dword [0x4fe7e4], eax
mov dword [0x4fe720], 1
mov ecx, dword [0x4fe714]
mov edx, str.RichEdit20W
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x200
cmp dword [0x4fe724], edi
jne 0x41e272
mov edx, str.RichEdit
mov eax, dword [esp + 0x24]
or esi, 0xffffffff
push edi
push dword [0x4fd978]
or eax, 0x503111c4
push esi
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
push edi
push edx
push ecx
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x41e367
push ebx
push dword [esp + 0x14]
push dword [0x4ff704]
call fcn.0042e101
mov ebx, eax
push 0x10
push 8
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], esi
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x1c], ecx
push dword [0x4fd974]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push edi
call dword [sym.imp.USER32.DLL_SetPropW]
xor ebp, ebp
push ebp
push esi
mov esi, dword [sym.imp.USER32.DLL_SendMessageW]
push 0xc5
push edi
call esi
push 0x41de6e
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0x37
push ebp
push ebp
push ebp
push ebp
push ebp
push edi
mov dword [0x4fe7cc], eax
call dword [sym.imp.USER32.DLL_SetWindowPos]
push 0x541
push ebp
push ebp
push edi
call dword [sym.imp.USER32.DLL_RedrawWindow]
push ebp
push ebp
push 0x43b
push edi
call esi
or eax, 1
push eax
push ebp
push 0x445
push edi
call esi
push 0x4fe728
push edi
push ebx
push dword [esp + 0x20]
call fcn.004222fe
mov edi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x41e366
push 1
push eax
push ebx
call fcn.0041e3f7
pop ebx
call fcn.00425c86
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18