Function at 0x489f14
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x1e70520]
call fcn.004a21f6
mov ebx, eax
call fcn.00490a53
call fcn.0048c607
xor ebp, ebp
cmp dword [0x1e6f760], ebp
jne 0x48a0a0
mov esi, 0xa4
push esi
push ebp
push 0x1e6f770
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x1e6f774], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1e6f770], 0x16
mov dword [0x1e6f778], 0x489bf2
push str.MSFTEDIT.DLL
mov dword [0x1e6f790], 0x489b07
mov dword [0x1e6f788], 0x489ee3
mov dword [0x1e6f78c], 0x48a450
mov dword [0x1e6f7a4], 0x489c39
mov dword [0x1e6f79c], 0x489c1f
mov dword [0x1e6f798], 0x48a220
mov dword [0x1e6f7b0], 0x489e74
mov dword [0x1e6f7b4], 0x48a3d0
mov dword [0x1e6f7d8], 0x489df7
mov dword [0x1e6f7dc], 0x48a2ae
mov dword [0x1e6f7ec], 0x489e44
mov dword [0x1e6f7e8], 0x48a311
mov dword [0x1e6f808], 0x489e6a
mov dword [0x1e6f80c], 0x48a3ab
call esi
push str.RICHED20.DLL
mov dword [0x1e6f764], eax
call esi
mov dword [0x1e6f768], eax
test eax, eax
jne 0x48a020
push str.RICHED32.DLL
call esi
mov eax, dword [0x1e6efb0]
test eax, eax
je 0x48a096
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x1e6efb0]
mov dword [0x1e6f814], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x1e6efb0]
mov dword [0x1e6f818], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x1e6efb0]
mov dword [0x1e6f81c], eax
call esi
push str.DrawThemeParentBackground
push dword [0x1e6efb0]
mov dword [0x1e6f820], eax
call esi
push str.DrawThemeBackground
push dword [0x1e6efb0]
mov dword [0x1e6f824], eax
call esi
mov dword [0x1e6f828], eax
mov dword [0x1e6f760], 1
mov esi, dword [0x1e6efac]
neg esi
sbb esi, esi
and esi, 0xfffffe00
add esi, 0x200
cmp dword [0x1e6f764], ebp
je 0x48a0c5
mov edi, str.RICHEDIT50W
jmp 0x48a0d7
mov edi, str.RichEdit20W
cmp dword [0x1e6f768], ebp
jne 0x48a0d7
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.00491a10
mov eax, dword [esp + 0x28]
push ebp
push dword [0x1df67e4]
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 0x48a1f5
push dword [esp + 0x14]
push dword [0x1e7014c]
call fcn.004a2471
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 [0x1df67e0]
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 0x489c64
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 [0x1e6f76c], 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 [0x1e6f764], ebp
je 0x48a1cf
push 4
push 4
push 0x513
push esi
call ebx
push 0x1e6f770
push esi
push edi
push dword [esp + 0x20]
call fcn.0048bc14
mov esi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x48a1f5
push 1
push eax
push edi
call fcn.0048a2ae
call fcn.00490a62
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x18