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 [0x4ae41c]
call fcn.00424de3
mov dword [ebp - 4], eax
call fcn.00420cdc
call fcn.0041e04f
xor esi, esi
cmp dword [0x4addbc], esi
jne 0x41c96b
mov edi, 0xa4
push edi
push esi
push 0x4add18
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4add1c], edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RICHED20.DLL
mov dword [0x4add18], 0x16
mov dword [0x4add20], 0x41c67d
mov dword [0x4add38], 0x41c00e
mov dword [0x4add30], 0x41c1aa
mov dword [0x4add34], 0x41c1d7
mov dword [0x4add4c], 0x41c0ec
mov dword [0x4add44], 0x41c117
mov dword [0x4add40], 0x41c131
mov dword [0x4add58], 0x41c210
mov dword [0x4add5c], 0x41c27f
mov dword [0x4add80], 0x41c3ae
mov dword [0x4add84], 0x41c3fb
mov dword [0x4add94], 0x41c388
mov dword [0x4add90], 0x41c2f9
mov dword [0x4addb0], 0x41c484
mov dword [0x4addb4], 0x41c45e
call edi
mov dword [0x4addc0], eax
cmp eax, esi
jne 0x41c8eb
push str.RICHED32.DLL
call edi
mov eax, dword [0x4adb80]
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 [0x4adb80]
mov dword [0x4add0c], eax
call ebx
push str.GetThemeBackgroundContentRect
push dword [0x4adb80]
mov dword [0x4add08], eax
call ebx
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x4adb80]
mov dword [0x4add04], eax
call ebx
push str.DrawThemeParentBackground
push dword [0x4adb80]
mov dword [0x4add00], eax
call ebx
push str.DrawThemeBackground
push dword [0x4adb80]
mov dword [0x4adcfc], eax
call ebx
mov dword [0x4adcf8], eax
mov dword [0x4addbc], 1
mov eax, dword [0x4adb7c]
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
mov ecx, str.RichEdit20A
cmp dword [0x4addc0], esi
jne 0x41c990
mov ecx, str.RichEdit
mov edx, dword [ebp - 4]
push esi
push dword [0x4ad150]
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 [0x4ae418]
call fcn.00424bce
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 [0x4ad14c]
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 [0x4add10], 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 0x4add18
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