Function at 0x41d672
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x8f02cc]
call fcn.0042e3db
mov ebx, eax
call fcn.00423474
call fcn.0041f440
xor ebp, ebp
cmp dword [0x8ef6a8], ebp
jne 0x41d7fe
mov esi, 0xa4
push esi
push ebp
push 0x8ef6b8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x8ef6bc], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x8ef6b8], 0x16
mov dword [0x8ef6c0], 0x41d350
push str.MSFTEDIT.DLL
mov dword [0x8ef6d8], 0x41d265
mov dword [0x8ef6d0], 0x41d641
mov dword [0x8ef6d4], 0x41dbb9
mov dword [0x8ef6ec], 0x41d397
mov dword [0x8ef6e4], 0x41d37d
mov dword [0x8ef6e0], 0x41d989
mov dword [0x8ef6f8], 0x41d5d2
mov dword [0x8ef6fc], 0x41db39
mov dword [0x8ef720], 0x41d555
mov dword [0x8ef724], 0x41da17
mov dword [0x8ef734], 0x41d5a2
mov dword [0x8ef730], 0x41da7a
mov dword [0x8ef750], 0x41d5c8
mov dword [0x8ef754], 0x41db14
call esi
push str.RICHED20.DLL
mov dword [0x8ef6ac], eax
call esi
mov dword [0x8ef6b0], eax
test eax, eax
jne 0x41d77e
push str.RICHED32.DLL
call esi
mov eax, dword [0x8ef3d8]
test eax, eax
je 0x41d7f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x8ef3d8]
mov dword [0x8ef75c], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x8ef3d8]
mov dword [0x8ef760], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x8ef3d8]
mov dword [0x8ef764], eax
call esi
push str.DrawThemeParentBackground
push dword [0x8ef3d8]
mov dword [0x8ef768], eax
call esi
push str.DrawThemeBackground
push dword [0x8ef3d8]
mov dword [0x8ef76c], eax
call esi
mov dword [0x8ef770], eax
mov dword [0x8ef6a8], 1
mov esi, dword [0x8ef3d4]
neg esi
sbb esi, esi
and esi, 0xfffffe00
add esi, 0x200
cmp dword [0x8ef6ac], ebp
je 0x41d823
mov edi, str.RICHEDIT50W
jmp 0x41d835
mov edi, str.RichEdit20W
cmp dword [0x8ef6b0], ebp
jne 0x41d835
mov edi, str.RichEdit
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0042414c
mov eax, dword [esp + 0x28]
push ebp
push dword [0x8eec9c]
or eax, 0x503111c4
push 0xffffffffffffffff
push dword [ebx]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
push ebp
push edi
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x41d95e
push dword [esp + 0x14]
push dword [0x8eff30]
call fcn.0042e6c6
mov edi, eax
push 0x10
push 8
or dword [edi + 0x18], 0xffffffff
or dword [edi + 0x14], 0xffffffff
mov ecx, dword [ebx + 8]
mov dword [edi + 0x1c], ecx
push dword [0x8eec98]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push esi
call dword [sym.imp.USER32.dll_SetPropW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 0xffffffffffffffff
push 0xc5
push esi
call ebx
push ebp
push 1
push 0x459
push esi
call ebx
push 0x41d3c2
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x37
push ebp
push ebp
push ebp
push ebp
push ebp
push esi
mov dword [0x8ef6b4], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x541
push ebp
push ebp
push esi
call dword [sym.imp.USER32.dll_RedrawWindow]
push ebp
push ebp
push 0x43b
push esi
call ebx
or eax, 1
push eax
push ebp
push 0x445
push esi
call ebx
cmp dword [0x8ef6ac], ebp
je 0x41d938
push 4
push 4
push 0x513
push esi
call ebx
push 0x8ef6b8
push esi
push edi
push dword [esp + 0x20]
call fcn.0041f32e
mov esi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x41d95e
push 1
push eax
push edi
call fcn.0041da17
call fcn.00423483
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x18