Function at 0x140026104
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov r12, rcx
mov rcx, qword [0x1400ce7e0]
mov ebx, r9d
mov esi, r8d
mov ebp, edx
call fcn.140031790
mov rdi, rax
call fcn.14002bb98
call fcn.14002828c
cmp dword [0x1400cdc40], 0
jne 0x140026322
mov r13d, 0x140
lea rcx, [0x1400cdb00]
xor edx, edx
mov r8d, r13d
call sub.msvcrt.dll_memset
lea rax, [0x140025f30]
lea rcx, str.RICHED20.DLL
mov qword [0x1400cdb08], rax
lea rax, [0x140025620]
mov dword [0x1400cdb00], 0x16
mov qword [0x1400cdb38], rax
lea rax, [0x1400258a0]
mov dword [0x1400cdb04], r13d
mov qword [0x1400cdb28], rax
lea rax, [0x1400258ec]
mov qword [0x1400cdb30], rax
lea rax, [0x140025778]
mov qword [0x1400cdb60], rax
lea rax, [fcn.1400257b8]
mov qword [0x1400cdb50], rax
lea rax, [0x1400257dc]
mov qword [0x1400cdb48], rax
lea rax, [0x140025938]
mov qword [0x1400cdb78], rax
lea rax, [0x1400259e8]
mov qword [0x1400cdb80], rax
lea rax, [0x140025b7c]
mov qword [0x1400cdbc8], rax
lea rax, [fcn.140025bd0]
mov qword [0x1400cdbd0], rax
lea rax, [0x140025b60]
mov qword [0x1400cdbf0], rax
lea rax, [fcn.140025abc]
mov qword [0x1400cdbe8], rax
lea rax, [0x140025c7c]
mov qword [0x1400cdc28], rax
lea rax, [0x140025c4c]
mov qword [0x1400cdc30], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400cdc48], rax
test rax, rax
jne 0x14002626d
lea rcx, str.RICHED32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [0x1400cd808]
test rcx, rcx
je 0x140026318
lea rdx, str.OpenThemeData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400cd808]
lea rdx, str.CloseThemeData
mov qword [0x1400cdae8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400cd808]
lea rdx, str.GetThemeBackgroundContentRect
mov qword [0x1400cdae0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400cd808]
lea rdx, str.IsThemeBackgroundPartiallyTransparent
mov qword [0x1400cdad8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400cd808]
lea rdx, str.DrawThemeParentBackground
mov qword [0x1400cdad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400cd808]
lea rdx, str.DrawThemeBackground
mov qword [0x1400cdac8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400cdac0], rax
mov dword [0x1400cdc40], 1
mov eax, dword [0x1400cd804]
mov r9d, dword [rsp + 0xa8]
lea rdx, str.RichEdit20A
neg eax
lea rax, str.RichEdit
sbb ecx, ecx
not ecx
and ecx, 0x200
cmp qword [0x1400cdc48], 0
cmove rdx, rax
and qword [rsp + 0x58], 0
mov rax, qword [0x1400cc728]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
or r13, 0xffffffffffffffff
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
or r9d, 0x503111c4
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.DLL_CreateWindowExA]
mov rbx, rax
test rax, rax
je 0x1400264ba
mov rcx, qword [0x1400ce7d0]
mov rdx, r12
call fcn.14003150c
lea edx, [r13 + 9]
lea r8d, [r13 + 0x11]
mov qword [rax + 0x30], r13
mov qword [rax + 0x28], r13
mov rcx, qword [rdi + 0x10]
mov qword [rax + 0x38], rcx
mov rcx, qword [0x1400cc720]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rdx, str.PB_ClientRect
mov rcx, rbx
mov r8, rax
call qword [sym.imp.USER32.DLL_SetPropA]
xor r9d, r9d
mov r8, r13
mov edx, 0xc5
mov rcx, rbx
call qword [sym.imp.USER32.DLL_SendMessageA]
lea r8, [0x140025f64]
lea edx, [r13 - 3]
mov rcx, rbx
call qword [sym.imp.USER32.DLL_SetWindowLongPtrA]
mov dword [rsp + 0x30], 0x37
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [0x1400cdaf0], rax
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov r9d, 0x541
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.DLL_RedrawWindow]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x43b
mov rcx, rbx
call qword [sym.imp.USER32.DLL_SendMessageA]
xor r8d, r8d
mov edx, 0x445
or rax, 1
mov rcx, rbx
mov r9, rax
call qword [sym.imp.USER32.DLL_SendMessageA]
lea r9, [0x1400cdb00]
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call fcn.140027b50
mov edx, 0x10000000
mov rbx, rax
test dword [rsp + 0xa8], edx
je 0x1400264ba
lea r8d, [r13 + 2]
mov rcx, rsi
call fcn.140025bd0
call fcn.14002bbb0
lea r11, [rsp + 0x60]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret