Function at 0x140041680
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0xa0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rbp, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [r11 + 8], r12d
mov rax, qword [rcx]
lea r8, [r11 + 8]
call qword [rax + CFontHolder::~CFontHolder]
mov rdi, rax
test rax, rax
jne 0x1400417ed
mov r8, qword [rbx]
mov rdx, rbp
mov rcx, rbx
call qword [r8 + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl]
mov rsi, rax
test rax, rax
je 0x1400418ac
mov eax, dword [rbx + 0x108]
cmp eax, 0xfffffffe
je 0x14004174a
mov dword [rbx + 0x108], 0xfffffffe
lea rcx, [rsp + 0x30]
call qword [0x140122ef8]
nop
mov r9, qword [rbx + 0x40]
lea r8, str._preview
lea rdx, str._s__d
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x30]
mov r8, qword [rsi + 0x18]
xor edx, edx
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400417cc
nop dword [rax]
test rdi, rdi
jne 0x1400417cc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x2710
ja 0x1400417cc
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov r11, qword [rbx]
lea r8, [rsp + 0xc0]
mov rdx, rbp
mov rcx, rbx
call qword [r11 + CFontHolder::~CFontHolder]
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140041770
mov eax, dword [rbx + 0x108]
cmp eax, 0xfffffffe
jne 0x1400417e1
mov dword [rbx + 0x108], 0xffffffff
test rdi, rdi
jne 0x1400417ed
xor eax, eax
jmp 0x1400418ac
mov qword [rbx + 0x110], r12
mov dword [rbx + 0x108], r12d
mov r8d, dword [rsp + 0xc0]
mov r9, qword [rsp + 0xe8]
mov edx, 0x4e38
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140041880
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x2710
ja 0x140041880
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov r11d, dword [rbx + 0x108]
test r11d, r11d
jne 0x140041880
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140041838
mov ecx, dword [rbx + 0x108]
cmp ecx, 1
jne 0x1400418aa
lea rcx, [rbx + 0x118]
lea rdx, [rbx + 0x110]
call fcn.140040730
mov qword [rax], rdi
mov rax, qword [rbx + 0x110]
jmp 0x1400418ac
xor eax, eax
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret