Function at 0x41e0bb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
push edi
push dword [0x4ff7e0]
call fcn.0042e2c1
mov ebp, eax
call fcn.00425c67
call fcn.00422127
xor edi, edi
cmp dword [0x4fe818], edi
jne 0x41e23a
mov esi, 0xa4
push esi
push edi
push 0x4fe820
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4fe824], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4fe820], 0x16
mov dword [0x4fe828], 0x41ddec
push str.RICHED20.DLL
mov dword [0x4fe840], 0x41dd0c
mov dword [0x4fe838], 0x41e08a
mov dword [0x4fe83c], 0x41e589
mov dword [0x4fe854], 0x41de33
mov dword [0x4fe84c], 0x41de19
mov dword [0x4fe848], 0x41e364
mov dword [0x4fe860], 0x41e01b
mov dword [0x4fe864], 0x41e509
mov dword [0x4fe888], 0x41df9e
mov dword [0x4fe88c], 0x41e3e7
mov dword [0x4fe89c], 0x41dfeb
mov dword [0x4fe898], 0x41e44a
mov dword [0x4fe8b8], 0x41e011
mov dword [0x4fe8bc], 0x41e4e4
call esi
mov dword [0x4fe81c], eax
test eax, eax
jne 0x41e1ba
push str.RICHED32.DLL
call esi
mov eax, dword [0x4fe810]
test eax, eax
je 0x41e230
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x4fe810]
mov dword [0x4fe8c8], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x4fe810]
mov dword [0x4fe8cc], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x4fe810]
mov dword [0x4fe8d0], eax
call esi
push str.DrawThemeParentBackground
push dword [0x4fe810]
mov dword [0x4fe8d4], eax
call esi
push str.DrawThemeBackground
push dword [0x4fe810]
mov dword [0x4fe8d8], eax
call esi
mov dword [0x4fe8dc], eax
mov dword [0x4fe818], 1
mov ecx, dword [0x4fe80c]
mov edx, str.RichEdit20W
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x200
cmp dword [0x4fe81c], edi
jne 0x41e262
mov edx, str.RichEdit
mov eax, dword [esp + 0x24]
or esi, 0xffffffff
push edi
push dword [0x4fda60]
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 0x41e357
push ebx
push dword [esp + 0x14]
push dword [0x4ff7fc]
call fcn.0042e471
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 [0x4fda5c]
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 0x41de5e
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 [0x4fe8c4], 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 0x4fe820
push edi
push ebx
push dword [esp + 0x20]
call fcn.004222ee
mov edi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x41e356
push 1
push eax
push ebx
call fcn.0041e3e7
pop ebx
call fcn.00425c76
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18