Function at 0x41d7e7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x4acf8c]
call fcn.00425e03
mov dword [ebp - 4], eax
call fcn.00421cdc
call fcn.0041f04f
xor esi, esi
cmp dword [0x4ac92c], esi
jne 0x41d96b
mov edi, 0xa4
push edi
push esi
push 0x4ac888
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x4ac88c], edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RICHED20.DLL
mov dword [0x4ac888], 0x16
mov dword [0x4ac890], 0x41d67d
mov dword [0x4ac8a8], 0x41d00e
mov dword [0x4ac8a0], 0x41d1aa
mov dword [0x4ac8a4], 0x41d1d7
mov dword [0x4ac8bc], 0x41d0ec
mov dword [0x4ac8b4], 0x41d117
mov dword [0x4ac8b0], 0x41d131
mov dword [0x4ac8c8], 0x41d210
mov dword [0x4ac8cc], 0x41d27f
mov dword [0x4ac8f0], 0x41d3ae
mov dword [0x4ac8f4], 0x41d3fb
mov dword [0x4ac904], 0x41d388
mov dword [0x4ac900], 0x41d2f9
mov dword [0x4ac920], 0x41d484
mov dword [0x4ac924], 0x41d45e
call edi
mov dword [0x4ac930], eax
cmp eax, esi
jne 0x41d8eb
push str.RICHED32.DLL
call edi
mov eax, dword [0x4ac6f0]
cmp eax, esi
je 0x41d961
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call ebx
push str.CloseThemeData
push dword [0x4ac6f0]
mov dword [0x4ac87c], eax
call ebx
push str.GetThemeBackgroundContentRect
push dword [0x4ac6f0]
mov dword [0x4ac878], eax
call ebx
push str.IsThemeBackgroundPartiallyTransparent
push dword [0x4ac6f0]
mov dword [0x4ac874], eax
call ebx
push str.DrawThemeParentBackground
push dword [0x4ac6f0]
mov dword [0x4ac870], eax
call ebx
push str.DrawThemeBackground
push dword [0x4ac6f0]
mov dword [0x4ac86c], eax
call ebx
mov dword [0x4ac868], eax
mov dword [0x4ac92c], 1
mov eax, dword [0x4ac6ec]
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
mov ecx, str.RichEdit20A
cmp dword [0x4ac930], esi
jne 0x41d990
mov ecx, str.RichEdit
mov edx, dword [ebp - 4]
push esi
push dword [0x4abcb8]
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 0x41da91
push dword [ebp + 8]
push dword [0x4acf88]
call fcn.00425bee
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 [0x4abcb4]
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 0x41d6a8
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 [0x4ac880], 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 0x4ac888
push dword [ebp + 0x18]
push ebx
push dword [ebp + 8]
call fcn.0041ea9c
mov dword [ebp + 0x18], eax
mov eax, 0x10000000
test dword [ebp + 0x1c], eax
je 0x41da91
push 1
push eax
push ebx
call fcn.0041d3fb
call fcn.00421ceb
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x18