Function at 0x140099ca0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Delete file
Reference absolute stream path on windows
Terminate process
Write and execute a file
Write file on windows

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, 0x410
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov rcx, qword [rsp + 0x428]
call fcn.140005330
mov r8, rax
lea rdx, str.szParam:_s
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_5327_:CBackupMediaFile::UseFFmpegToConvertAllFileToOne
call fcn.1400c4810
nop
lea rax, [rsp + 0x230]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x428]
mov rcx, qword [rsp + 0xa0]
call fcn.140020770
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x380]
call fcn.14004d530
nop
mov rdx, qword [rsp + 0x450]
lea rcx, [rsp + 0x360]
call fcn.140020770
nop
lea rdx, str.convertMp4
lea rcx, [rsp + 0x360]
call fcn.140005350
nop
lea rax, [rsp + 0x250]
mov qword [rsp + 0xb8], rax
mov edx, 6
mov rcx, qword [rsp + 0xb8]
call fcn.1400998f0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x3c0]
call fcn.14004d330
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x360]
call fcn.140042c70
nop
lea rcx, [rsp + 0x3c0]
call fcn.1400053b0
nop
lea rdx, str..bat
lea rcx, [rsp + 0x360]
call fcn.140005350
nop
lea rax, [rsp + 0x270]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x360]
mov rcx, qword [rsp + 0xe0]
call fcn.140020770
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x3a0]
call fcn.14004d530
nop
lea rcx, [rsp + 0x3a0]
call fcn.140001eb0
lea rdx, [0x14013e9a0]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x140099ee5
lea rcx, [rsp + 0x380]
call fcn.1400080a0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x380]
call fcn.140001eb0
mov r9, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xf8]
mov r8, rcx
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x1c0], 0x68
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [rsp + 0x1fc], operator
xor eax, eax
mov word [rsp + 0x200], ax
lea rax, [rsp + 0x188]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep stosb byte [rdi], al
mov dword [rsp + reloc.OLEAUT32.dll_SafeArrayGetElement8], 0x18
mov qword [rsp + 0x190], 0
mov dword [rsp + 0x198], 1
mov r9d, 0x1000
lea r8, [rsp + 0x188]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14009a018
lea rcx, [rsp + 0x360]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140099fb4
lea rcx, [rsp + 0x360]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x3a0]
call fcn.140001f00
nop
lea rcx, [rsp + 0x360]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x380]
call fcn.140001f00
nop
mov rcx, qword [rsp + 0x428]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x448]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x450]
call fcn.1400053b0
mov eax, dword [rsp + 0x78]
jmp 0x14009a5f4
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x218], rax
lea rcx, [rsp + 0x360]
call fcn.140005330
lea rcx, [rsp + 0x1a0]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x1c0]
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 + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x14009a192
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x428]
call fcn.140005330
mov r9d, dword [rsp + 0x80]
mov r8, rax
lea rdx, str.CreateProcess__s_dwErr:_d
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_5392_:CBackupMediaFile::UseFFmpegToConvertAllFileToOne
call fcn.1400c4810
nop
lea rcx, [rsp + 0x360]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009a128
lea rcx, [rsp + 0x360]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov dword [rsp + 0x84], 0xffffffff
lea rcx, [rsp + 0x3a0]
call fcn.140001f00
nop
lea rcx, [rsp + 0x360]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x380]
call fcn.140001f00
nop
mov rcx, qword [rsp + 0x428]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x448]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x450]
call fcn.1400053b0
mov eax, dword [rsp + 0x84]
jmp 0x14009a5f4
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x88], 0x36ee80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x54], operator
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x5c]
cmp eax, dword [rsp + 0x88]
ja 0x14009a338
mov edx, gethostbyname
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14009a203
cmp dword [rsp + 0x58], 0x102
je 0x14009a22e
jmp 0x14009a331
lea rdx, [0x14013ebb0]
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_5412_:CBackupMediaFile::UseFFmpegToConvertAllFileToOne
call fcn.1400c4810
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x420]
call fcn.140099790
nop
jmp 0x14009a331
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x5c]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x100]
call fcn.140020770
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x110]
call fcn.140020770
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x458]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x128]
mov r8d, dword [rsp + 0x438]
mov edx, dword [rsp + 0x430]
mov rcx, qword [rsp + 0x420]
call fcn.140099a10
nop
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x420]
call fcn.140099790
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x330]
call qword [sym.imp.USER32.dll_PeekMessageW]
nop
jmp 0x14009a1b7
jmp 0x14009a338
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x360]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009a3ac
lea rcx, [rsp + 0x360]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x50]
call fcn.140002360
nop
mov rax, qword [rsp + 0x420]
add rax, 0x3e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x310]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x130]
call fcn.140020770
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x160], rax
lea rdx, [0x14013eb38]
mov rcx, qword [rsp + 0x140]
call fcn.1400053e0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x420]
call fcn.140099670
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x170], rax
movsd xmm0, qword [0x14014fed0]
movsd qword [rsp + 0x28], xmm0
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x168]
mov r8, qword [rsp + 0x170]
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x50]
call fcn.1400b6690
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x420]
add rax, 0x408
mov rdx, qword [rsp + 0x180]
mov rcx, rax
call fcn.140033270
nop
lea rcx, [rsp + 0x3e0]
call fcn.1400053b0
nop
mov rax, qword [rsp + 0x420]
add rax, 0x3e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rsp + 0x458]
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x9c], 0x64
mov rax, qword [rsp + 0x420]
add rax, 0x4b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x420]
add rax, 0x4e0
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.14009aaa0
mov rax, qword [rsp + 0x420]
add rax, 0x4b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x50]
call fcn.140001e20
nop
lea rcx, [rsp + 0x3a0]
call fcn.140001f00
nop
lea rcx, [rsp + 0x360]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x380]
call fcn.140001f00
nop
mov rcx, qword [rsp + 0x428]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x448]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x450]
call fcn.1400053b0
mov eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x410
pop rdi
ret