Function at 0x431ee2
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x521dd0]
call fcn.0043ff10
mov ebp, eax
call fcn.00438cf2
call fcn.00435d0e
xor ebx, ebx
cmp dword [0x5213c0], ebx
jne 0x432062
mov esi, 0xa4
push esi
push ebx
push 0x5213c8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x5213cc], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5213c8], 0x16
mov dword [0x5213d0], 0x431bc0
push str.RICHED20.DLL
mov dword [0x5213e8], 0x431ad5
mov dword [0x5213e0], 0x431eb1
mov dword [0x5213e4], 0x4323d5
mov dword [0x5213fc], 0x431c07
mov dword [0x5213f4], 0x431bed
mov dword [0x5213f0], 0x4321a5
mov dword [0x521408], 0x431e42
mov dword [0x52140c], 0x432355
mov dword [0x521430], 0x431dc5
mov dword [0x521434], 0x432233
mov dword [0x521444], 0x431e12
mov dword [0x521440], 0x432296
mov dword [0x521460], 0x431e38
mov dword [0x521464], 0x432330
call esi
mov dword [0x5213c4], eax
test eax, eax
jne 0x431fe2
push str.RICHED32.DLL
call esi
mov eax, dword [0x520f8c]
test eax, eax
je 0x432058
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x520f8c]
mov dword [0x521470], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x520f8c]
mov dword [0x521474], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x520f8c]
mov dword [0x521478], eax
call esi
push str.DrawThemeParentBackground
push dword [0x520f8c]
mov dword [0x52147c], eax
call esi
push str.DrawThemeBackground
push dword [0x520f8c]
mov dword [0x521480], eax
call esi
mov dword [0x521484], eax
mov dword [0x5213c0], 1
mov esi, dword [0x520f88]
mov edi, str.RichEdit20W
neg esi
sbb esi, esi
and esi, 0xfffffe00
add esi, 0x200
cmp dword [0x5213c4], ebx
jne 0x43208a
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.00437e7b
mov eax, dword [esp + 0x28]
push ebx
push dword [0x520bc0]
or eax, 0x503111c4
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
push ebx
push edi
push esi
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x432197
push dword [esp + 0x14]
push dword [0x521dec]
call fcn.0044058f
mov ebx, eax
push 0x10
push 8
or dword [ebx + 0x18], 0xffffffff
or dword [ebx + 0x14], 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x1c], ecx
push dword [0x520bbc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push edi
call dword [sym.imp.USER32.DLL_SetPropW]
mov esi, dword [sym.imp.USER32.DLL_SendMessageW]
xor ebp, ebp
push ebp
push 0xffffffffffffffff
push 0xc5
push edi
call esi
push 0x431c32
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 [0x52146c], 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 0x5213c8
push edi
push ebx
push dword [esp + 0x20]
call fcn.004353f5
mov edi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x432197
push 1
push eax
push ebx
call fcn.00432233
call fcn.00438d01
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18