Function at 0x140003a90
Capabilities:
Check for time delay via gettickcount
Create process on windows
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x4a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov r12d, r8d
mov rbp, rdx
mov rsi, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
ja 0x140003ad9
xor ecx, ecx
call fcn.140005e40
int3
mov word [rsp + 0x280], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x282]
call fcn.1400051e0
lea rdx, [rsp + 0x280]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov word [rsp + 0x70], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.1400051e0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x140013f68]
lea rcx, [rsp + 0x70]
call fcn.140005490
test rax, rax
je 0x140003ba3
mov ebx, 0xa
nop
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140003b77
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
dec rbx
jne 0x140003b50
call fcn.140003230
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.notepad.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jbe 0x140003bb8
xor ecx, ecx
call fcn.140005e40
int3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
je 0x140003bcd
xor ecx, ecx
call fcn.140005e40
int3
mov ecx, 0x10
call fcn.140005a3c
test rax, rax
je 0x140003be5
mov qword [rax], rdi
mov qword [rax + 8], rdi
jmp 0x140003be8
mov rax, rdi
mov qword [rsi + 0x220], rax
mov ecx, 0x88
call fcn.140005a3c
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140003c0d
mov rcx, rax
call fcn.140004970
jmp 0x140003c10
mov rax, rdi
mov qword [rsi + 0x228], rax
cmp qword [rsi + 0x220], 0
je 0x140003d1c
test rax, rax
je 0x140003d1c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r11d, eax
add r11d, r11d
mov eax, 0x66666667
imul r11d
mov ebx, edx
sar ebx, 1
mov ecx, ebx
shr ecx, 0x1f
add ebx, ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r11d, eax
add r11d, r11d
mov eax, 0x66666667
imul r11d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.FRECLIEN:_OLE_Tutorial_Code_Sample
lea rdx, str.FRECLIENWindow
mov rcx, rsi
call fcn.140001880
test rax, rax
je 0x140003d1c
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x228]
call fcn.140004b30
mov edi, eax
test eax, eax
je 0x140003d1c
mov edx, r12d
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, [rsi + 0x234]
lea r9, str..hlp
mov r8d, 0x104
mov rcx, rbp
call fcn.140001490
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x220]
call fcn.140001a80
mov edi, eax
test eax, eax
jne 0x140003d44
mov rcx, qword [rsi + 0x220]
call fcn.140005588
mov rbx, qword [rsi + 0x228]
test rbx, rbx
je 0x140003d44
mov rcx, rbx
call fcn.140004870
mov rcx, rbx
call fcn.140005588
mov eax, edi
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x4a0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret