Function at 0x445ef3
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x5a3d80]
call fcn.00456818
mov ebx, eax
call fcn.0044e419
call fcn.0044997b
xor ebp, ebp
cmp dword [0x5a0590], ebp
jne 0x44607f
mov esi, 0xa8
push esi
push ebp
push 0x5a04e8
call fcn.0043afb0
add esp, 0xc
mov dword [0x5a04ec], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5a04e8], 0x16
mov dword [0x5a04f0], 0x445bc6
push str.MSFTEDIT.DLL
mov dword [0x5a0508], 0x445adc
mov dword [0x5a0500], 0x445ec2
mov dword [0x5a0504], 0x446436
mov dword [0x5a051c], 0x445c0d
mov dword [0x5a0514], 0x445bf3
mov dword [0x5a0510], 0x4461ee
mov dword [0x5a0528], 0x445e53
mov dword [0x5a052c], 0x4463b6
mov dword [0x5a0550], 0x445dd3
mov dword [0x5a0554], 0x44627c
mov dword [0x5a0564], 0x445e23
mov dword [0x5a0560], 0x4462ed
mov dword [0x5a0580], 0x445e49
mov dword [0x5a0584], 0x446387
call esi
push str.RICHED20.DLL
mov dword [0x5a0594], eax
call esi
mov dword [0x5a0598], eax
test eax, eax
jne 0x445fff
push str.RICHED32.DLL
call esi
mov eax, dword [0x5a207c]
test eax, eax
je 0x446075
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4eac48
push eax
call esi
push 0x4eac58
push dword [0x5a207c]
mov dword [0x5a05a0], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x5a207c]
mov dword [0x5a05a4], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x5a207c]
mov dword [0x5a05a8], eax
call esi
push str.DrawThemeParentBackground
push dword [0x5a207c]
mov dword [0x5a05ac], eax
call esi
push 0x4eaccc
push dword [0x5a207c]
mov dword [0x5a05b0], eax
call esi
mov dword [0x5a05b4], eax
mov dword [0x5a0590], 1
mov esi, dword [0x5a2078]
neg esi
sbb esi, esi
and esi, 0xfffffe00
add esi, 0x200
cmp dword [0x5a0594], ebp
je 0x4460a4
mov edi, str.RICHEDIT50W
jmp 0x4460b6
mov edi, str.RichEdit20W
cmp dword [0x5a0598], ebp
jne 0x4460b6
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.0044f388
mov eax, dword [esp + 0x28]
push ebp
push dword [0x59f0c4]
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 0x4461e0
push dword [esp + 0x14]
push dword [0x5a3d84]
call fcn.00456a66
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 [0x59f0c0]
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 0x445c38
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 [0x5a059c], 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 [0x5a0594], ebp
je 0x4461b9
push 4
push 4
push 0x513
push esi
call ebx
push 0x5a04e8
push esi
push edi
push dword [esp + 0x20]
call fcn.004498ff
mov esi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x4461e0
push ebp
push 1
push eax
push edi
call fcn.0044627c
call fcn.0044e422
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x18