Function at 0x140066330
Capabilities:
Check for time delay via gettickcount
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Reference absolute stream path on windows
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov rcx, qword [rsp + 0x1a8]
call fcn.140005330
mov r8, rax
lea rdx, [0x140131838]
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8435_:CPlayVideoWnd::UseFFmpegToConvertFile
call fcn.1400c4810
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0xd0], 0x68
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [rsp + 0x10c], operator
xor eax, eax
mov word [rsp + 0x110], ax
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep stosb byte [rdi], al
mov dword [rsp + 0xa0], reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0xb0], 1
mov r9d, 0x1000
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140066435
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x1a8]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x1d0]
call fcn.1400053b0
mov eax, dword [rsp + 0x68]
jmp 0x140066702
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.140005330
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x140066529
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x1a8]
call fcn.140005330
mov r9d, dword [rsp + 0x70]
mov r8, rax
lea rdx, [0x1401318b0]
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8480_:CPlayVideoWnd::UseFFmpegToConvertFile
call fcn.1400c4810
nop
mov dword [rsp + 0x74], 0xffffffff
mov rcx, qword [rsp + 0x1a8]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x1d0]
call fcn.1400053b0
mov eax, dword [rsp + 0x74]
jmp 0x140066702
mov dword [rsp + 0x7c], 0x36ee80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x50], operator
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x78]
cmp eax, dword [rsp + 0x7c]
ja 0x140066692
mov edx, gethostbyname
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14006658c
cmp dword [rsp + 0x54], 0x102
je 0x1400665b7
jmp 0x14006668b
lea rdx, [0x140131b20]
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8495_:CPlayVideoWnd::UseFFmpegToConvertFile
call fcn.1400c4810
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400661d0
nop
jmp 0x14006668b
mov eax, dword [rsp + 0x1c8]
add eax, 0x32
mov dword [rsp + 0x1c8], eax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x88]
call fcn.140020770
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x1c0]
mov r8d, dword [rsp + 0x1b8]
mov edx, dword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a0]
call fcn.140066000
nop
lea rdx, str.Read_WAIT_TIMEOUT
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_8503_:CPlayVideoWnd::UseFFmpegToConvertFile
call fcn.1400c46e0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400661d0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x160]
call qword [sym.imp.USER32.dll_PeekMessageW]
nop
jmp 0x140066543
jmp 0x140066692
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x1a8]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x1d0]
call fcn.1400053b0
mov eax, dword [rsp + 0x80]
add rsp, 0x190
pop rdi
ret