Function at 0x41c7e7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x4a8dd4]
call fcn.00424e03
mov dword [ebp - 4], eax
call fcn.00420cdc
call fcn.0041e04f
xor esi, esi
cmp dword [0x4a8774], esi
jne 0x41c96b
mov edi, 0xa4
push edi
push esi
push 0x4a86d0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4a86d4], edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RICHED20.DLL
mov dword [0x4a86d0], 0x16
mov dword [0x4a86d8], 0x41c67d
mov dword [0x4a86f0], 0x41c00e
mov dword [0x4a86e8], 0x41c1aa
mov dword [0x4a86ec], 0x41c1d7
mov dword [0x4a8704], 0x41c0ec
mov dword [0x4a86fc], 0x41c117
mov dword [0x4a86f8], 0x41c131
mov dword [0x4a8710], 0x41c210
mov dword [0x4a8714], 0x41c27f
mov dword [0x4a8738], 0x41c3ae
mov dword [0x4a873c], 0x41c3fb
mov dword [0x4a874c], 0x41c388
mov dword [0x4a8748], 0x41c2f9
mov dword [0x4a8768], 0x41c484
mov dword [0x4a876c], 0x41c45e
call edi
mov dword [0x4a8778], eax
cmp eax, esi
jne 0x41c8eb
push str.RICHED32.DLL
call edi
mov eax, dword [0x4a8538]
cmp eax, esi
je 0x41c961
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call ebx
push str.CloseThemeData
push dword [0x4a8538]
mov dword [0x4a86c4], eax
call ebx
push str.GetThemeBackgroundContentRect
push dword [0x4a8538]
mov dword [0x4a86c0], eax
call ebx
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x4a8538]
mov dword [0x4a86bc], eax
call ebx
push str.DrawThemeParentBackground
push dword [0x4a8538]
mov dword [0x4a86b8], eax
call ebx
push str.DrawThemeBackground
push dword [0x4a8538]
mov dword [0x4a86b4], eax
call ebx
mov dword [0x4a86b0], eax
mov dword [0x4a8774], 1
mov eax, dword [0x4a8534]
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
mov ecx, str.RichEdit20A
cmp dword [0x4a8778], esi
jne 0x41c990
mov ecx, str.RichEdit
mov edx, dword [ebp - 4]
push esi
push dword [0x4a7ab8]
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_CreateWindowExA]
mov dword [ebp + 0x18], eax
cmp eax, esi
je 0x41ca91
push dword [ebp + 8]
push dword [0x4a8dd0]
call fcn.00424bee
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 [0x4a7ab4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push dword [ebp + 0x18]
call dword [sym.imp.USER32.DLL_SetPropA]
push esi
push edi
mov edi, dword [sym.imp.USER32.DLL_SendMessageA]
push 0xc5
push dword [ebp + 0x18]
call edi
push 0x41c6a8
push 0xfffffffffffffffc
push dword [ebp + 0x18]
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 0x37
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
mov dword [0x4a86c8], 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 0x4a86d0
push dword [ebp + 0x18]
push ebx
push dword [ebp + 8]
call fcn.0041da9c
mov dword [ebp + 0x18], eax
mov eax, 0x10000000
test dword [ebp + 0x1c], eax
je 0x41ca91
push 1
push eax
push ebx
call fcn.0041c3fb
call fcn.00420ceb
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x18