Function at 0x14005c890
Capabilities:
Check for time delay via gettickcount
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x2c08
call fcn.140101360
sub rsp, rax
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x2bf0], rax
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x2c28]
add rax, 0x48
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov ecx, dword [0x1405fdad8]
mov dword [rsp + 0x20], ecx
lea r9, [0x1405fda98]
xor r8d, r8d
mov rcx, qword [rsp + 0x2c28]
mov edx, dword [rcx + 7]
mov rcx, rax
call fcn.1400c78a0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14005c981
mov rax, qword [rsp + 0x2c28]
add rax, 0x48
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov r8, rax
lea rdx, [0x14012cf98]
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_3509_:CPlayVideoWnd::OpenTLIfvRecordFile
call fcn.1400c4810
mov rax, qword [rsp + 0x2c28]
add rax, 0x48
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
mov dword [rsp + 0xec], 0
mov rcx, qword [rsp + 0x2c28]
call fcn.140015f40
mov eax, dword [rsp + 0xec]
jmp 0x14005e3c2
mov rax, qword [rsp + 0x2c20]
mov rax, qword [rax + 0x148]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.14005a0c0
mov rcx, qword [rsp + 0x60]
call fcn.1400c72b0
mov dword [rsp + 0x11c], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7310
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7670
mov dword [rsp + 0xcc], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7630
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c72f0
mov dword [rsp + 0xb8], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7720
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c76f0
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c76b0
mov dword [rsp + 0xdc], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c76d0
cvttss2si eax, xmm0
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7690
mov dword [rsp + 0xf8], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7250
mov dword [rsp + 0xb4], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7230
movzx eax, ax
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7270
mov dword [rsp + 0xfc], eax
mov rcx, qword [rsp + 0x60]
call fcn.1400c7290
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0xb8], eax
jg 0x14005caab
mov dword [rsp + 0x58], 0x19
jmp 0x14005cb20
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0xb8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0xdc]
cdq
mov ecx, dword [rsp + 0xf0]
idiv ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0xb8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xf4], eax
mov eax, dword [rsp + 0xdc]
cdq
mov ecx, dword [rsp + 0xf4]
idiv ecx
mov eax, edx
mov dword [rsp + 0x10c], eax
cmp dword [rsp + 0x10c], 5
jl 0x14005cb20
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0xe0], 0
je 0x14005cb59
cmp dword [rsp + 0x58], 0xa
jle 0x14005cb59
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x5c0]
call fcn.1400089c0
nop
lea rax, [rsp + 0xa50]
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
movzx eax, word [0x14012d15c]
mov word [rsp + 0xa58], ax
lea rax, [rsp + 0xa5a]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov edx, dword [rsp + 0xb4]
lea rcx, [rsp + 0xa50]
call fcn.1400c7c30
lea rax, [rsp + 0xa58]
lea rcx, [rsp + 0xa50]
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa58]
lea rcx, [rsp + 0x5c0]
call fcn.140008a90
nop
cmp dword [rsp + 0xbc], 0
je 0x14005cc61
mov dword [rsp + 0xb4], 3
mov dword [rsp + 0x9c], 0
jmp 0x14005cc17
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0xd
jge 0x14005cc61
movsxd rax, dword [rsp + 0x9c]
imul rax, rax, 0xa
lea rcx, [0x14012a5d0]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xa58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14005cc5f
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xb4], eax
jmp 0x14005cc61
jmp 0x14005cc07
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0xf8], 0x35363248
jne 0x14005cc7e
mov dword [rsp + 0x78], 1
lea rax, [rsp + 0x3b0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
cmp dword [rsp + 0xbc], 0
je 0x14005ccce
mov dword [rsp + 0x3b8], 0
mov dword [rsp + 0x3b0], 1
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x3bc], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0x3b4], eax
mov dword [rsp + 0x8c], 0
mov dword [rsp + 0x54], 0
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x50], 0
mov dword [rsp + 0xb0], 0
movzx eax, word [0x14012d160]
mov word [rsp + 0xbf0], ax
lea rax, [rsp + 0xbf2]
mov rdi, rax
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
mov dword [rsp + 0xd4], 0
mov dword [rsp + 0x108], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x94], 0
lea rdx, [0x14012d164]
lea rcx, [rsp + 0x420]
call fcn.1400053e0
nop
mov dword [rsp + 0xd8], 0
mov byte [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
test eax, eax
je 0x14005ceee
mov byte [rsp + 0xc8], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x52]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x8c]
mov rax, qword [rsp + 0x2c20]
mov rdx, qword [rax + 0x2b8]
mov rcx, qword [rsp + 0x60]
call fcn.1400c7330
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
jle 0x14005ce75
movzx eax, byte [rsp + 0x50]
cmp eax, 3
jl 0x14005ce75
xor eax, eax
mov word [rsp + 0x6c], ax
xor eax, eax
mov word [rsp + 0x68], ax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x2c20]
mov rcx, qword [rax + 0x2b8]
call fcn.1400c7820
test eax, eax
je 0x14005ce75
movzx eax, word [rsp + 0x6c]
test eax, eax
je 0x14005ce70
movzx eax, word [rsp + 0x68]
test eax, eax
je 0x14005ce70
movzx eax, word [rsp + 0x6c]
cmp eax, dword [rsp + 0x70]
jne 0x14005ce5e
movzx eax, word [rsp + 0x68]
cmp eax, dword [rsp + 0x74]
je 0x14005ce70
movzx eax, word [rsp + 0x68]
mov dword [rsp + 0x74], eax
movzx eax, word [rsp + 0x6c]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x5c], 1
cmp dword [rsp + 0xa0], 0
jg 0x14005cee9
mov rcx, qword [rsp + 0x60]
call fcn.1400c7200
nop
cmp dword [rsp + 0xa0], 0xffffffff
jge 0x14005cea9
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.140051b30
nop
mov dword [rsp + 0x100], 0
lea rcx, [rsp + 0x420]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x5c0]
call fcn.1400082e0
nop
mov rcx, qword [rsp + 0x2c28]
call fcn.140015f40
mov eax, dword [rsp + 0x100]
jmp 0x14005e3c2
jmp 0x14005cd76
lea rax, [rsp + 0x310]
lea rcx, [rsp + 0x3b0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x310]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x2c20]
call fcn.14005b610
movzx eax, al
test eax, eax
jne 0x14005cf82
mov dword [rsp + 0x104], 0
lea rcx, [rsp + 0x420]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x5c0]
call fcn.1400082e0
nop
mov rcx, qword [rsp + 0x2c28]
call fcn.140015f40
mov eax, dword [rsp + 0x104]
jmp 0x14005e3c2
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call fcn.1400c73b0
nop
cmp dword [rsp + 0xbc], 0
jne 0x14005d09a
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x140], rax
lea rdx, [0x14012d0a8]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x150], rax
lea rdx, [0x14012d0b0]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x160]
call fcn.140007470
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x170]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x2c20]
call fcn.14006bd80
nop
jmp 0x14005d13e
movsxd rax, dword [rsp + 0x3bc]
imul rax, rax, 0x14
lea rcx, [0x14012a240]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x420]
call fcn.140005380
nop
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x420]
call fcn.140005330
mov rdx, rax
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x188]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x2c20]
call fcn.14006bd80
nop
mov eax, dword [rsp + 0x88]
mov dword [0x1405fd78c], eax
mov eax, dword [rsp + 0xb8]
mov dword [0x1405fd788], eax
mov eax, dword [rsp + 0x88]
mov dword [0x1405fd790], eax
mov dword [0x1405fd824], 0
cmp qword [rsp + 0xa8], 0
je 0x14005d19e
cmp dword [0x1405fd794], 0
je 0x14005d19e
mov r8d, dword [0x1405fd788]
mov edx, dword [0x1405fd78c]
mov rcx, qword [rsp + 0xa8]
call fcn.140052460
nop
mov rax, qword [rsp + 0x2c20]
mov dword [rax + 0x2c4], 0
mov eax, dword [0x1405fd78c]
mov ecx, dword [0x1405fd788]
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x3e8
mov dword [rsp + 0x118], eax
mov byte [rsp + 0x51], 0
xor eax, eax
cmp eax, 1
je 0x14005e244
mov eax, dword [rsp + 0xcc]
cmp dword [rsp + 0x8c], eax
jbe 0x14005d1f7
cmp dword [rsp + 0xcc], 0
jne 0x14005d201
cmp dword [rsp + 0xcc], 0
jge 0x14005d206
jmp 0x14005e244
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x1a0], 0
je 0x14005d228
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x1a0], 7
jne 0x14005d22d
jmp 0x14005e244
cmp qword [0x1405fd7e8], 0
je 0x14005d24a
mov edx, 0xffffffff
mov rcx, qword [0x1405fd7e8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x2c4], 0
je 0x14005d28a
mov rax, qword [rsp + 0x2c20]
mov edx, dword [rax + 0x2c4]
mov rcx, qword [rsp + 0x60]
call fcn.1400c73b0
mov rax, qword [rsp + 0x2c20]
mov dword [rax + 0x2c4], 0
mov byte [rsp + 0x51], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x52]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x8c]
mov rax, qword [rsp + 0x2c20]
mov rdx, qword [rax + 0x2b8]
mov rcx, qword [rsp + 0x60]
call fcn.1400c7330
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jg 0x14005d314
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0x90], 0xffffffff
jge 0x14005d30f
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0xa8]
call fcn.140051b30
nop
jmp 0x14005e244
lea rax, [rsp + 0x400]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
movzx eax, word [0x14012d0d8]
mov word [rsp + 0xa68], ax
lea rax, [rsp + 0xa6a]
mov rdi, rax
xor eax, eax
mov ecx, gethostbyname
rep stosb byte [rdi], al
cmp qword [rsp + 0xc0], 0
jbe 0x14005d409
mov rax, qword [rsp + 0xc0]
test rax, rax
jl 0x14005d36e
cvtsi2sd xmm0, rax
jmp 0x14005d387
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
divsd xmm0, qword [0x14014ff00]
cvttsd2si rax, xmm0
xor r8d, r8d
lea rdx, [rsp + 0x400]
mov rcx, rax
call fcn.140007380
movzx eax, word [rsp + 0x406]
movzx ecx, word [rsp + 0x40a]
movzx edx, word [rsp + 0x408]
movzx edi, word [rsp + 0x406]
movzx esi, word [rsp + 0x402]
movzx r8d, word [rsp + 0x400]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
mov r9d, r8d
lea r8, [0x14012d0e0]
mov edx, gethostbyname
lea rcx, [rsp + 0xa68]
call fcn.140002f30
nop
lea rdx, [0x14012d1f0]
lea rcx, [rsp + 0x3c0]
call fcn.140001fa0
nop
movzx eax, byte [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x440]
call fcn.1400325b0
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x3c0]
call fcn.140020820
nop
lea rcx, [rsp + 0x440]
call fcn.140001f00
nop
lea rdx, [0x14012d200]
lea rcx, [rsp + 0x3c0]
call fcn.140005470
nop
mov eax, dword [rsp + 0x8c]
mov edx, eax
lea rcx, [rsp + reloc.mfc140u.dll_CDockingManager::CDockingManager]
call fcn.1400325b0
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x3c0]
call fcn.140020820
nop
lea rcx, [rsp + reloc.mfc140u.dll_CDockingManager::CDockingManager]
call fcn.140001f00
nop
lea rdx, [0x14012d214]
lea rcx, [rsp + 0x3c0]
call fcn.140005470
nop
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x480]
call fcn.1400325b0
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x3c0]
call fcn.140020820
nop
lea rcx, [rsp + 0x480]
call fcn.140001f00
nop
lea rdx, [0x14012d21c]
lea rcx, [rsp + 0x3c0]
call fcn.140005470
lea rdx, [rsp + 0xa68]
lea rcx, [rsp + 0x3c0]
call fcn.140005470
lea rdx, [0x14012d168]
lea rcx, [rsp + 0x3c0]
call fcn.140005470
nop
movzx eax, byte [rsp + 0x52]
mov edx, eax
lea rcx, [rsp + 0x4a0]
call fcn.1400325b0
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x3c0]
call fcn.140020820
nop
lea rcx, [rsp + 0x4a0]
call fcn.140001f00
nop
lea rcx, [rsp + 0x3c0]
call fcn.140001eb0
mov rdx, rax
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_3736_:CPlayVideoWnd::OpenTLIfvRecordFile
call fcn.1400c46e0
nop
movzx eax, byte [rsp + 0x50]
cmp eax, 1
jne 0x14005d763
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14005d610
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
movzx eax, byte [reloc.TLSearchFileLib.dll_Ordinal_1]
test eax, eax
je 0x14005d630
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
mov rax, qword [rsp + 0x2c20]
movzx eax, byte [rax + 0x2d0]
cmp eax, 1
jne 0x14005d659
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
cmp dword [0x1405fd798], 0
je 0x14005d675
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
mov edx, dword [0x1405fd818]
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_SetAudioVolume]
lea rax, [rsp + 0x320]
lea rcx, [0x1405fd7a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
lea r8, [rsp + 0x320]
movzx edx, byte [0x1401753fc]
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_EnableAudioEqualizer]
cmp dword [0x1405fda30], 0
je 0x14005d6e4
mov byte [rsp + 0x5d], 1
jmp 0x14005d6e9
mov byte [rsp + 0x5d], 0
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
mov r8d, dword [0x1405fda34]
movzx edx, byte [rsp + 0x5d]
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_EnableRemoveNoise]
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
lea rcx, [rsp + 0x108]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xbf0]
mov r8d, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x2c20]
mov rdx, qword [rcx + 0x2b8]
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_DecordOneAudioFrame]
nop
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
movzx eax, byte [rsp + 0x50]
cmp eax, 2
jne 0x14005dd21
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14005d78d
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
mov rax, qword [rsp + 0x2c20]
mov rax, qword [rax + 0x2b8]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14005dc0c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x410]
mov ecx, eax
call fcn.140007380
movzx eax, word [0x14012d1cc]
mov word [rsp + 0xaa0], ax
lea rax, [rsp + 0xaa2]
mov rdi, rax
xor eax, eax
mov ecx, gethostbyname
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x41c]
movzx ecx, word [rsp + 0x41a]
movzx edx, word [rsp + 0x418]
movzx edi, word [rsp + 0x416]
movzx esi, word [rsp + 0x412]
movzx r8d, word [rsp + 0x410]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
mov r9d, r8d
lea r8, [0x14012d1d0]
mov edx, gethostbyname
lea rcx, [rsp + 0xaa0]
call fcn.140002f30
lea rdx, [0x14012d258]
lea rcx, [rsp + 0x3e0]
call fcn.140001fa0
nop
lea rdx, [rsp + 0xaa0]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
lea rdx, [0x14012d270]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 4]
mov edx, eax
lea rcx, [rsp + 0x4c0]
call fcn.1400325b0
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x4c0]
call fcn.140001f00
nop
lea rdx, [0x14012d27c]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 5]
mov rdx, rax
lea rcx, [rsp + 0x4e0]
call fcn.1400325b0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + reloc.mfc140u.dll_CEnumArray::CEnumArray], rax
mov rdx, qword [rsp + reloc.mfc140u.dll_CEnumArray::CEnumArray]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x4e0]
call fcn.140001f00
nop
lea rdx, [0x14012d284]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 9]
mov rdx, rax
lea rcx, [rsp + 0x500]
call fcn.1400325b0
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x500]
call fcn.140001f00
nop
lea rdx, [0x14012d220]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
movsx rax, word [rax + 0xd]
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.1400325b0
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x520]
call fcn.140001f00
nop
lea rdx, [0x14012d228]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
movsx rax, word [rax + 0xf]
mov rdx, rax
lea rcx, [rsp + 0x540]
call fcn.1400325b0
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x218], rax
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x540]
call fcn.140001f00
nop
lea rdx, [0x14012d238]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x11]
mov edx, eax
lea rcx, [rsp + 0x560]
call fcn.1400325b0
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x560]
call fcn.140001f00
nop
lea rdx, [0x14012d248]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x13]
mov edx, eax
lea rcx, [rsp + 0x580]
call fcn.1400325b0
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x238], rax
mov rdx, qword [rsp + 0x238]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x580]
call fcn.140001f00
nop
lea rdx, [0x14012d330]
lea rcx, [rsp + 0x3e0]
call fcn.140005470
nop
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x17]
mov edx, eax
lea rcx, [rsp + 0x5a0]
call fcn.1400325b0
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x248]
lea rcx, [rsp + 0x3e0]
call fcn.140020820
nop
lea rcx, [rsp + 0x5a0]
call fcn.140001f00
nop
lea rcx, [rsp + 0x3e0]
call fcn.140001eb0
mov rdx, rax
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_3799_:CPlayVideoWnd::OpenTLIfvRecordFile
call fcn.1400c46e0
nop
lea rcx, [rsp + 0x3e0]
call fcn.140001f00
nop
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
cmp dword [0x1405fd79c], eax
je 0x14005dc67
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14005dc67
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [0x1405fd79c], eax
lea rax, [rsp + 0x360]
mov rdi, rax
mov rsi, qword [rsp + 0x80]
mov ecx, 0x4b
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x360]
mov rcx, qword [rsp + 0xa8]
call fcn.140051a90
nop
movzx eax, word [0x14012d39c]
mov word [rsp + 0xae0], ax
lea rax, [rsp + 0xae2]
mov rdi, rax
xor eax, eax
mov ecx, 0x102
rep stosb byte [rdi], al
mov dword [rsp + 0xe4], 0
mov rax, qword [rsp + 0x2c20]
movzx eax, byte [rax + 0x2d2]
test eax, eax
je 0x14005dce4
cmp dword [0x1405fda18], 0
je 0x14005dce4
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x20], rax
mov r9d, 0x103
lea r8, [rsp + 0xae0]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xa8]
call fcn.14005a250
nop
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
mov r8d, dword [rsp + 0xe4]
lea rdx, [rsp + 0xae0]
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_SetOSDText]
nop
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14005dd3d
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14005dd63
movzx eax, byte [rsp + 0x52]
cmp eax, 3
jge 0x14005dd63
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
mov byte [rsp + 0x51], 1
cmp qword [rsp + 0xc0], 0
je 0x14005dde1
mov rax, qword [rsp + 0x2c20]
cmp qword [rax + 0x348], 0
je 0x14005ddca
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov ecx, 0x3e8
div rcx
mov qword [rsp + 0x250], rax
xor edx, edx
mov rcx, qword [rsp + 0x2c20]
mov rax, qword [rcx + 0x348]
mov ecx, 0x3e8
div rcx
mov rcx, qword [rsp + 0x250]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x2c20]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x348], rcx
cmp dword [rsp + 0x54], 0x3e8
jbe 0x14005ddf3
mov dword [rsp + 0x54], 0x21
cmp qword [rsp + 0xa8], 0
je 0x14005de64
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x1a0], 1
jne 0x14005de64
mov rax, qword [rsp + 0x2c20]
mov r9d, dword [rax + 0x228]
mov r8d, dword [rsp + 0x118]
mov edx, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0xa8]
call fcn.140053fd0
nop
mov rax, qword [rsp + 0x2c20]
mov ecx, dword [rsp + 0x8c]
cmp dword [rax + 0x228], ecx
ja 0x14005de64
mov rax, qword [rsp + 0x2c20]
mov dword [rax + 0x228], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0xe8]
mov rdx, qword [rsp + 0x2c20]
sub rcx, qword [rdx + 0x350]
cmp rax, rcx
jbe 0x14005deef
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0xe8]
mov rdx, qword [rsp + 0x2c20]
sub rcx, qword [rdx + 0x350]
sub rax, rcx
mov dword [rsp + 0x54], eax
cvtsi2ss xmm0, dword [0x1405fd798]
movaps xmm1, xmm0
movss xmm0, dword [0x14014fe88]
call fcn.14004f150
movss dword [rsp + 0x110], xmm0
mov eax, dword [rsp + 0x54]
cvtsi2ss xmm0, rax
divss xmm0, dword [rsp + 0x110]
cvttss2si rax, xmm0
mov dword [rsp + 0x54], eax
jmp 0x14005def7
mov dword [rsp + 0x54], 1
mov ecx, dword [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [rsp + 0x54]
lea rdx, [0x14012d3a0]
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_3867_:CPlayVideoWnd::OpenTLIfvRecordFile
call fcn.1400c46e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
mov rcx, qword [rsp + 0x2c20]
mov qword [rcx + 0x350], rax
movzx eax, byte [rsp + 0x52]
cmp eax, 3
jl 0x14005df47
mov dword [rsp + 0xd0], 3
jmp 0x14005df52
mov dword [rsp + 0xd0], 0
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
lea rcx, [rsp + 0x94]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0xd4]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xbf0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x2c20]
mov rdx, qword [rcx + 0x2b8]
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_DecodeFrame]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
je 0x14005dfe0
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x1a0], 8
jne 0x14005e003
mov rax, qword [rsp + 0x2c20]
mov dword [rax + 0x1a0], 2
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x1a0], 2
jne 0x14005e055
xor eax, eax
cmp eax, 1
je 0x14005e055
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x1a0], 2
je 0x14005e02e
jmp 0x14005e055
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_ShowLastFrame]
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x14005e014
cmp dword [rsp + 0x94], 0
je 0x14005e231
cmp dword [rsp + 0x98], 0
je 0x14005e231
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x94], eax
jne 0x14005e08f
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x98], eax
je 0x14005e231
cmp dword [rsp + 0xbc], 0
jne 0x14005e19b
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x268], rax
lea rdx, [0x14012d2ec]
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x278], rax
lea rdx, [0x14012d2f0]
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x280], rax
mov r8, qword [rsp + 0x278]
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x288]
call fcn.140007470
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x298], rax
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x298]
mov r8d, dword [rsp + 0x94]
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x2c20]
call fcn.14006bd80
nop
jmp 0x14005e21b
lea rax, [rsp + 0x300]
mov qword [rsp + 0x2a0], rax
lea rcx, [rsp + 0x420]
call fcn.140005330
mov rdx, rax
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rax
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x2b0]
mov r8d, dword [rsp + 0x94]
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x2c20]
call fcn.14006bd80
nop
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x3c0]
call fcn.140001f00
nop
jmp 0x14005d1d2
mov rax, qword [rsp + 0x2c20]
add rax, 0x2b0
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0xd4]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xbf0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.tlgpu.dll_TLPLAYER_DecodeFrame]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
je 0x14005e2b6
lea rdx, [0x14012d318]
lea rcx, str.D:_svnplayersvnTLDrivingRecordPlayWndDlg.cpp_3924_:CPlayVideoWnd::OpenTLIfvRecordFile
call fcn.1400c46e0
nop
mov rax, qword [rsp + 0x2c20]
cmp dword [rax + 0x1a0], 7
je 0x14005e334
lea rax, [rsp + 0x308]
mov qword [rsp + 0x2b8], rax
lea rdx, [0x14012d41c]
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x128], rax
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x128]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2c20]
call fcn.14006bd80
nop
cmp qword [rsp + 0xa8], 0
je 0x14005e355
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.140053fd0
nop
mov edx, 1
mov rcx, qword [rsp + 0x2c20]
call fcn.14004f0a0
mov rax, qword [rsp + 0x2c20]
mov dword [rax + 0x2c4], 0
mov rcx, qword [rsp + 0x60]
call fcn.1400c7200
nop
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x114], eax
lea rcx, [rsp + 0x420]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x5c0]
call fcn.1400082e0
nop
mov rcx, qword [rsp + 0x2c28]
call fcn.140015f40
mov eax, dword [rsp + 0x114]
mov rcx, qword [rsp + 0x2bf0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x2c08
pop rdi
pop rsi
ret