Function at 0x47a525
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xd90b50]
call fcn.0048657c
mov ebx, eax
call fcn.004e9ec5
call fcn.004ec13e
xor ebp, ebp
cmp dword [0xd90b18], ebp
jne 0x47a6b1
mov esi, 0xa8
push esi
push ebp
push 0xd90a70
call fcn.004920b0
add esp, 0xc
mov dword [0xd90a74], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0xd90a70], 0x16
mov dword [0xd90a78], 0x47af56
push str.MSFTEDIT.DLL
mov dword [0xd90a90], 0x47a84b
mov dword [0xd90a88], 0x47a9dd
mov dword [0xd90a8c], 0x47aa0e
mov dword [0xd90aa4], 0x47a820
mov dword [0xd90a9c], 0x47a935
mov dword [0xd90a98], 0x47a94f
mov dword [0xd90ab0], 0x47aa90
mov dword [0xd90ab4], 0x47aaff
mov dword [0xd90ad8], 0x47ac3f
mov dword [0xd90adc], 0x47ac8f
mov dword [0xd90aec], 0x47ac19
mov dword [0xd90ae8], 0x47ab7f
mov dword [0xd90b08], 0x47ad2f
mov dword [0xd90b0c], 0x47ad00
call esi
push str.RICHED20.DLL
mov dword [0xd90b1c], eax
call esi
mov dword [0xd90b20], eax
test eax, eax
jne 0x47a631
push str.RICHED32.DLL
call esi
mov eax, dword [0xd90b48]
test eax, eax
je 0x47a6a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x57a0b8
push eax
call esi
push 0x57a0c8
push dword [0xd90b48]
mov dword [0xd90b28], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0xd90b48]
mov dword [0xd90b2c], eax
call esi
push str.IsThemeBackgroundPartiallyTransparent
push dword [0xd90b48]
mov dword [0xd90b30], eax
call esi
push str.DrawThemeParentBackground
push dword [0xd90b48]
mov dword [0xd90b34], eax
call esi
push 0x579e7c
push dword [0xd90b48]
mov dword [0xd90b38], eax
call esi
mov dword [0xd90b3c], eax
mov dword [0xd90b18], 1
mov esi, dword [0xd90b44]
neg esi
sbb esi, esi
and esi, 0xfffffe00
add esi, 0x200
cmp dword [0xd90b1c], ebp
je 0x47a6d6
mov edi, str.RICHEDIT50W
jmp 0x47a6e8
mov edi, str.RichEdit20W
cmp dword [0xd90b20], ebp
jne 0x47a6e8
mov edi, str.RichEdit
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004ea214
mov eax, dword [esp + 0x28]
push ebp
push dword [0xd8fb88]
or eax, 0x503111c4
push 0xffffffffffffffff
push dword [ebx]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
push ebp
push edi
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x47a812
push dword [esp + 0x14]
push dword [0xd90b4c]
call fcn.00488b2d
mov edi, eax
push 0x10
push 8
or dword [edi + 0x18], 0xffffffff
or dword [edi + 0x14], 0xffffffff
mov ecx, dword [ebx + 8]
mov dword [edi + 0x1c], ecx
push dword [0xd8fb84]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push str.PB_ClientRect
push esi
call dword [sym.imp.USER32.dll_SetPropW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 0xffffffffffffffff
push 0xc5
push esi
call ebx
push ebp
push 1
push 0x459
push esi
call ebx
push 0x47af83
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x37
push ebp
push ebp
push ebp
push ebp
push ebp
push esi
mov dword [0xd90b24], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x541
push ebp
push ebp
push esi
call dword [sym.imp.USER32.dll_RedrawWindow]
push ebp
push ebp
push 0x43b
push esi
call ebx
or eax, 1
push eax
push ebp
push 0x445
push esi
call ebx
cmp dword [0xd90b1c], ebp
je 0x47a7eb
push 4
push 4
push 0x513
push esi
call ebx
push 0xd90a70
push esi
push edi
push dword [esp + 0x20]
call fcn.004eaa82
mov esi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x47a812
push ebp
push 1
push eax
push edi
call fcn.0047ac8f
call fcn.004e9ece
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x18