Function at 0x4316a2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x4e5aa8]
call fcn.00441681
mov dword [ebp - 4], eax
call fcn.0043269c
xor esi, esi
cmp dword [0x4e5524], esi
jne 0x431821
mov edi, 0xa4
push edi
push esi
push 0x4e5480
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4e5484], edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RICHED20.DLL
mov dword [0x4e5480], 0x16
mov dword [0x4e5488], 0x431555
mov dword [0x4e54a0], 0x430eef
mov dword [0x4e5498], 0x43108d
mov dword [0x4e549c], 0x4310bc
mov dword [0x4e54b4], 0x430fcf
mov dword [0x4e54ac], 0x430ffa
mov dword [0x4e54a8], 0x431014
mov dword [0x4e54c0], 0x4310e5
mov dword [0x4e54c4], 0x431157
mov dword [0x4e54e8], 0x431286
mov dword [0x4e54ec], 0x4312d3
mov dword [0x4e54fc], 0x431260
mov dword [0x4e54f8], 0x4311d1
mov dword [0x4e5518], 0x43135c
mov dword [0x4e551c], 0x431336
call edi
mov dword [0x4e5528], eax
cmp eax, esi
jne 0x4317a1
push str.RICHED32.DLL
call edi
mov eax, dword [0x4e4d94]
cmp eax, esi
je 0x431817
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call ebx
push str.CloseThemeData
push dword [0x4e4d94]
mov dword [0x4e5474], eax
call ebx
push str.GetThemeBackgroundContentRect
push dword [0x4e4d94]
mov dword [0x4e5470], eax
call ebx
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x4e4d94]
mov dword [0x4e546c], eax
call ebx
push str.DrawThemeParentBackground
push dword [0x4e4d94]
mov dword [0x4e5468], eax
call ebx
push str.DrawThemeBackground
push dword [0x4e4d94]
mov dword [0x4e5464], eax
call ebx
mov dword [0x4e5460], eax
mov dword [0x4e5524], 1
mov eax, dword [0x4e4d90]
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
mov ecx, str.RichEdit20W
cmp dword [0x4e5528], esi
jne 0x431846
mov ecx, str.RichEdit
mov edx, dword [ebp - 4]
push esi
push dword [0x4e489c]
or edi, 0xffffffff
push edi
push dword [edx]
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x18]
or edx, 0x503111c4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
push esi
push ecx
push eax
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov dword [ebp + 0x18], eax
cmp eax, esi
je 0x43194c
push dword [ebp + 8]
push dword [0x4e5a80]
call fcn.00441470
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], edi
mov eax, dword [eax + 8]
push 0x10
push 8
mov dword [ebx + 0x1c], eax
push dword [0x4e4898]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push dword [ebp + 0x18]
call dword [sym.imp.USER32.DLL_SetPropW]
push esi
push edi
mov edi, dword [sym.imp.USER32.DLL_SendMessageW]
push 0xc5
push dword [ebp + 0x18]
call edi
push 0x431580
push 0xfffffffffffffffc
push dword [ebp + 0x18]
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0x37
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
mov dword [0x4e5478], eax
call dword [sym.imp.USER32.DLL_SetWindowPos]
push 0x541
push esi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.USER32.DLL_RedrawWindow]
push esi
push esi
push 0x43b
push dword [ebp + 0x18]
call edi
or eax, 1
push eax
push esi
push 0x445
push dword [ebp + 0x18]
call edi
call fcn.00433656
push 0x4e5480
push dword [ebp + 0x18]
push ebx
push dword [ebp + 8]
call fcn.0043282a
mov dword [ebp + 0x18], eax
mov eax, 0x10000000
test dword [ebp + 0x1c], eax
je 0x43194c
push 1
push eax
push ebx
call fcn.004312d3
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x18