Function at 0x43be87
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
push edi
push dword [0x4a0e80]
call fcn.0046154d
mov ebp, eax
call fcn.0044d9df
call fcn.0043d2c2
xor edi, edi
cmp dword [0x49e5e8], edi
jne 0x43c006
mov esi, 0xa4
push esi
push edi
push 0x49e5f0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x49e5f4], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x49e5f0], 0x16
mov dword [0x49e5f8], 0x43bbbe
push str.RICHED20.DLL
mov dword [0x49e610], 0x43badf
mov dword [0x49e608], 0x43be58
mov dword [0x49e60c], 0x43c372
mov dword [0x49e624], 0x43bc05
mov dword [0x49e61c], 0x43bbeb
mov dword [0x49e618], 0x43c14d
mov dword [0x49e630], 0x43bded
mov dword [0x49e634], 0x43c2f2
mov dword [0x49e658], 0x43bd70
mov dword [0x49e65c], 0x43c1d0
mov dword [0x49e66c], 0x43bdbd
mov dword [0x49e668], 0x43c233
mov dword [0x49e688], 0x43bde3
mov dword [0x49e68c], 0x43c2cd
call esi
mov dword [0x49e5ec], eax
test eax, eax
jne 0x43bf86
push str.RICHED32.DLL
call esi
mov eax, dword [0x49def4]
test eax, eax
je 0x43bffc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x49def4]
mov dword [0x49e698], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x49def4]
mov dword [0x49e69c], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x49def4]
mov dword [0x49e6a0], eax
call esi
push str.DrawThemeParentBackground
push dword [0x49def4]
mov dword [0x49e6a4], eax
call esi
push str.DrawThemeBackground
push dword [0x49def4]
mov dword [0x49e6a8], eax
call esi
mov dword [0x49e6ac], eax
mov dword [0x49e5e8], 1
mov ecx, dword [0x49def0]
mov edx, str.RichEdit20A
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x200
cmp dword [0x49e5ec], edi
jne 0x43c02e
mov edx, str.RichEdit
mov eax, dword [esp + 0x24]
or esi, 0xffffffff
push edi
push dword [0x49d75c]
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_CreateWindowExA]
mov edi, eax
test edi, edi
je 0x43c123
push ebx
push dword [esp + 0x14]
push dword [0x4a0fd8]
call fcn.004616fd
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 [0x49d758]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push edi
call dword [sym.imp.USER32.DLL_SetPropA]
xor ebp, ebp
push ebp
push esi
mov esi, dword [sym.imp.USER32.DLL_SendMessageA]
push 0xc5
push edi
call esi
push 0x43bc30
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 0x37
push ebp
push ebp
push ebp
push ebp
push ebp
push edi
mov dword [0x49e694], 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 0x49e5f0
push edi
push ebx
push dword [esp + 0x20]
call fcn.0044a1fc
mov edi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x43c122
push 1
push eax
push ebx
call fcn.0043c1d0
pop ebx
call fcn.0044d9ee
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18