Function at 0x425088
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x43dc30]
call fcn.00430655
mov dword [ebp - 4], eax
call fcn.0042de9a
call fcn.004292a4
xor esi, esi
cmp dword [0x43b9cc], esi
jne 0x42520c
mov edi, 0xa4
push edi
push esi
push 0x43b928
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x43b92c], edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RICHED20.DLL
mov dword [0x43b928], 0x16
mov dword [0x43b930], 0x424f1e
mov dword [0x43b948], 0x4248a7
mov dword [0x43b940], 0x424a45
mov dword [0x43b944], 0x424a74
mov dword [0x43b95c], 0x424987
mov dword [0x43b954], 0x4249b2
mov dword [0x43b950], 0x4249cc
mov dword [0x43b968], 0x424aae
mov dword [0x43b96c], 0x424b20
mov dword [0x43b990], 0x424c4f
mov dword [0x43b994], 0x424c9c
mov dword [0x43b9a4], 0x424c29
mov dword [0x43b9a0], 0x424b9a
mov dword [0x43b9c0], 0x424d25
mov dword [0x43b9c4], 0x424cff
call edi
mov dword [0x43b9d0], eax
cmp eax, esi
jne 0x42518c
push str.RICHED32.DLL
call edi
mov eax, dword [0x43b22c]
cmp eax, esi
je 0x425202
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call ebx
push str.CloseThemeData
push dword [0x43b22c]
mov dword [0x43b91c], eax
call ebx
push str.GetThemeBackgroundContentRect
push dword [0x43b22c]
mov dword [0x43b918], eax
call ebx
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x43b22c]
mov dword [0x43b914], eax
call ebx
push str.DrawThemeParentBackground
push dword [0x43b22c]
mov dword [0x43b910], eax
call ebx
push str.DrawThemeBackground
push dword [0x43b22c]
mov dword [0x43b90c], eax
call ebx
mov dword [0x43b908], eax
mov dword [0x43b9cc], 1
mov eax, dword [0x43b228]
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
mov ecx, str.RichEdit20W
cmp dword [0x43b9d0], esi
jne 0x425231
mov ecx, str.RichEdit
mov edx, dword [ebp - 4]
push esi
push dword [0x43b090]
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 0x425332
push dword [ebp + 8]
push dword [0x43dc2c]
call fcn.0043049a
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 [0x43b08c]
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 0x424f49
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 [0x43b920], 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
push 0x43b928
push dword [ebp + 0x18]
push ebx
push dword [ebp + 8]
call fcn.00428adb
mov dword [ebp + 0x18], eax
mov eax, 0x10000000
test dword [ebp + 0x1c], eax
je 0x425332
push 1
push eax
push ebx
call fcn.00424c9c
call fcn.0042dea9
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x18