Function at 0x454bb8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
push edi
push dword [0x8943e0]
call fcn.0045d8f9
mov ebp, eax
call fcn.0045cd7b
call fcn.0045796b
xor edi, edi
cmp dword [0x893ea0], edi
jne 0x454d37
mov esi, 0xa4
push esi
push edi
push 0x893ea8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x893eac], esi
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [0x893ea8], 0x16
mov dword [0x893eb0], 0x4548e9
push str.RICHED20.DLL
mov dword [0x893ec8], 0x454809
mov dword [0x893ec0], 0x454b87
mov dword [0x893ec4], 0x455086
mov dword [0x893edc], 0x454930
mov dword [0x893ed4], 0x454916
mov dword [0x893ed0], 0x454e61
mov dword [0x893ee8], 0x454b18
mov dword [0x893eec], 0x455006
mov dword [0x893f10], 0x454a9b
mov dword [0x893f14], 0x454ee4
mov dword [0x893f24], 0x454ae8
mov dword [0x893f20], 0x454f47
mov dword [0x893f40], 0x454b0e
mov dword [0x893f44], 0x454fe1
call esi
mov dword [0x893ea4], eax
test eax, eax
jne 0x454cb7
push str.RICHED32.DLL
call esi
mov eax, dword [0x89390c]
test eax, eax
je 0x454d2d
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x89390c]
mov dword [0x893f50], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x89390c]
mov dword [0x893f54], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x89390c]
mov dword [0x893f58], eax
call esi
push str.DrawThemeParentBackground
push dword [0x89390c]
mov dword [0x893f5c], eax
call esi
push str.DrawThemeBackground
push dword [0x89390c]
mov dword [0x893f60], eax
call esi
mov dword [0x893f64], eax
mov dword [0x893ea0], 1
mov ecx, dword [0x893908]
mov edx, str.RichEdit20W
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x200
cmp dword [0x893ea4], edi
jne 0x454d5f
mov edx, str.RichEdit
mov eax, dword [esp + 0x24]
or esi, 0xffffffff
push edi
push dword [0x473498]
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 0x454e54
push ebx
push dword [esp + 0x14]
push dword [0x894450]
call fcn.0045daa9
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 [0x473494]
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 0x45495b
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 [0x893f4c], 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 0x893ea8
push edi
push ebx
push dword [esp + 0x20]
call fcn.00457b32
mov edi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x454e53
push 1
push eax
push ebx
call fcn.00454ee4
pop ebx
call fcn.0045cd8a
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18