Function at 0x14008add0
Capabilities:
Check if file exists
Delete file
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1fc6b8
call fcn.140101360
sub rsp, rax
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x1fc6a0], rax
lea rcx, [rsp + 0x40]
call fcn.140002360
nop
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x3e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x408
lea rdx, [0x14013b458]
mov rcx, rax
call fcn.140005380
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x3e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x450
lea rdx, [0x14013b454]
mov rcx, rax
call fcn.140005380
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [0x14013b450]
lea rcx, [rsp + 0x530]
call fcn.1400053e0
nop
lea rdx, [0x14013b44c]
lea rcx, [rsp + 0x510]
call fcn.1400053e0
nop
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x148], rax
lea rdx, [0x14013b448]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x158], rax
lea rdx, [0x14013b418]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x90]
call fcn.140007470
nop
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x178], rax
lea rdx, [0x14013b688]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x188], rax
lea rdx, [0x14013b670]
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 + 0x190], rax
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x88]
call fcn.140007470
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edx, eax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x530]
call fcn.140005380
mov edx, 0xffffffff
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edx, eax
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x510]
call fcn.140005380
mov edx, 0xffffffff
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x1fc6f0]
mov rcx, qword [rsp + 0x1fc6f0]
mov ecx, dword [rcx + 0x10]
mov eax, dword [rax + 0x14]
sub eax, ecx
inc eax
imul eax, eax, 0x3e8
mov dword [rsp + 0xe4], eax
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0xc0]
call fcn.14001e1e0
nop
mov rax, qword [rsp + 0x1fc6d8]
lea rdx, [rsp + 0x2e0]
mov rcx, rax
call fcn.14001fd90
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
jmp 0x14008b10c
xor r8d, r8d
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0xc0]
call fcn.14001f320
nop
mov rax, qword [rsp + 0x1fc6d8]
lea rdx, [rsp + 0x2f0]
mov rcx, rax
call fcn.14001f260
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14001f170
movzx eax, al
test eax, eax
je 0x14008c1d7
mov rax, qword [rsp + 0x1fc6d0]
movzx eax, byte [rax + 0x260]
test eax, eax
jne 0x14008b157
jmp 0x14008c1d7
lea rcx, [rsp + 0xc0]
call fcn.14001f1f0
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0x4b0]
call fcn.140088c10
nop
lea rcx, [rsp + 0x4c8]
call fcn.140005330
mov ecx, dword [0x1405fdad8]
mov dword [rsp + 0x20], ecx
lea r9, [0x1405fda98]
xor r8d, r8d
mov edx, dword [rsp + 0x4b4]
mov rcx, rax
call fcn.1400c78a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14008b3bb
lea rcx, [rsp + 0x4c8]
call fcn.140005330
mov r8, rax
lea rdx, [0x14013b648]
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_1392_:CBackupMediaFile::WriteDataToAviMp4File
call fcn.1400c4810
nop
lea rax, [rsp + 0x350]
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x4c8]
mov rcx, qword [rsp + 0x198]
call fcn.140020770
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1c8], rax
lea rdx, [rsp + 0x510]
mov rcx, qword [rsp + 0x1a8]
call fcn.140020770
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0x1b8]
call fcn.140020770
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1d8], rax
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x1d8]
lea rdx, [rsp + 0x590]
lea rcx, [rsp + 0x40]
call fcn.1400b65a0
nop
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x450
lea rdx, [rsp + 0x590]
mov rcx, rax
call fcn.1400080b0
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov dword [rsp + 0xfc], 0xffffffff
lea rcx, [rsp + 0x590]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x4b0]
call fcn.140088cb0
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x510]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x530]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x40]
call fcn.140001e20
nop
mov rcx, qword [rsp + 0x1fc6d8]
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x1fc6e0]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x1fc6e8]
call fcn.1400053b0
mov eax, dword [rsp + 0xfc]
jmp 0x14008c27f
lea rcx, [rsp + 0x4c8]
call fcn.140005330
mov r8, rax
lea rdx, [0x14013b5b8]
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_1400_:CBackupMediaFile::WriteDataToAviMp4File
call fcn.1400c4810
mov rcx, qword [rsp + 0x48]
call fcn.1400c72b0
mov dword [rsp + 0x104], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7310
mov dword [rsp + 0xec], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7670
mov dword [rsp + 0x100], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7630
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c72f0
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7720
mov dword [rsp + 0xa4], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c76f0
mov dword [rsp + 0xa8], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c76b0
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c76d0
cvttss2si eax, xmm0
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7230
movzx eax, ax
mov dword [rsp + 0x108], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7690
mov dword [rsp + 0xd8], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7250
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7230
movzx eax, ax
mov dword [rsp + 0x10c], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7270
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0x100], 0
jg 0x14008b6d2
lea rax, [rsp + 0x390]
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x3b0]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x200], rax
lea rdx, [rsp + 0x4c8]
mov rcx, qword [rsp + 0x1e0]
call fcn.140020770
mov qword [rsp + reloc.mfc140u.dll_CEnumArray::CEnumArray], rax
mov rax, qword [rsp + reloc.mfc140u.dll_CEnumArray::CEnumArray]
mov qword [rsp + 0x210], rax
lea rdx, [rsp + 0x510]
mov rcx, qword [rsp + 0x1f0]
call fcn.140020770
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x218], rax
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0x200]
call fcn.140020770
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x220], rax
mov dword [rsp + 0x28], 2
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x218]
mov r8, qword [rsp + 0x220]
lea rdx, [rsp + 0x5b0]
lea rcx, [rsp + 0x40]
call fcn.1400b65a0
nop
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x450
lea rdx, [rsp + 0x5b0]
mov rcx, rax
call fcn.1400080b0
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [0x14013b538]
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_1422_:CBackupMediaFile::WriteDataToAviMp4File
call fcn.1400c46e0
mov rcx, qword [rsp + 0x48]
call fcn.1400c7200
nop
mov dword [rsp + 0xc8], 0
lea rcx, [rsp + 0x5b0]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x4b0]
call fcn.140088cb0
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x510]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x530]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x40]
call fcn.140001e20
nop
mov rcx, qword [rsp + 0x1fc6d8]
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x1fc6e0]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x1fc6e8]
call fcn.1400053b0
mov eax, dword [rsp + 0xc8]
jmp 0x14008c27f
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x74], eax
jle 0x14008b745
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x74]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0x98]
cdq
mov ecx, dword [rsp + 0xcc]
idiv ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x74]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x98]
cdq
mov ecx, dword [rsp + 0xd0]
idiv ecx
mov eax, edx
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 5
jl 0x14008b745
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x5d0]
call fcn.1400089c0
nop
lea rax, [rsp + 0xa60]
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
movzx eax, word [0x14013b6c8]
mov word [rsp + 0xa68], ax
lea rax, [rsp + 0xa6a]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0xa60]
call fcn.1400c7c30
lea rax, [rsp + 0xa68]
lea rcx, [rsp + 0xa60]
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa68]
lea rcx, [rsp + 0x5d0]
call fcn.140008a90
mov dword [rsp + 0x60], 3
mov dword [rsp + 0x50], 0
jmp 0x14008b7e9
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xd
jge 0x14008b827
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0xa
lea rcx, [0x14013ee60]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xa68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14008b825
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
jmp 0x14008b827
jmp 0x14008b7df
mov dword [rsp + 0x7c], 0
cmp dword [rsp + 0xd8], 0x35363248
jne 0x14008b844
mov dword [rsp + 0x7c], 1
mov rax, qword [rsp + 0x1fc6f0]
cmp dword [rax], 0
jne 0x14008b892
mov rax, qword [rsp + 0x1fc6f0]
mov ecx, dword [rsp + 0xa4]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1fc6f0]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x1fc6f0]
mov ecx, dword [rsp + 0x7c]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x1fc6f0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 8], ecx
mov dword [rsp + 0x110], 0
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0x80], 0
mov byte [rsp + 0x43], 0
mov byte [rsp + 0x42], 0
mov dword [rsp + 0xb8], 0
movzx eax, word [0x14013b6c4]
mov word [rsp + 0xea0], ax
lea rax, [rsp + 0xea2]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x1fc6d0]
mov qword [rax + 0x470], 0
mov dword [rsp + 0x114], 0
movzx eax, word [0x14013b6c0]
mov word [rsp + 0x22a0], ax
lea rax, [rsp + 0x22a2]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fa3fe
rep stosb byte [rdi], al
mov dword [rsp + 0x118], 0
mov dword [rsp + 0xa0], 0
mov edx, dword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x48]
call fcn.1400c73b0
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0x11c], 0
mov dword [rsp + 0x120], 0
mov dword [rsp + 0x124], 0xffffffff
mov eax, dword [rsp + 0x4b8]
mov dword [rsp + 0xdc], eax
xor eax, eax
cmp eax, 1
je 0x14008c1a3
mov eax, dword [rsp + 0x4bc]
cmp dword [rsp + 0xdc], eax
jbe 0x14008b9b9
jmp 0x14008c1a3
mov rax, qword [rsp + 0x1fc6d0]
movzx eax, byte [rax + 0x260]
test eax, eax
jne 0x14008b9d1
jmp 0x14008c1a3
lea rax, [rsp + 0x42]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x43]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x9c]
lea rdx, [rsp + 0x22a0]
mov rcx, qword [rsp + 0x48]
call fcn.1400c7330
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jg 0x14008ba2a
jmp 0x14008c1a3
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov ecx, 0x3e8
div rcx
mov rcx, qword [rsp + 0x1fc6f0]
imul ecx, dword [rcx + 0x10], 0x3e8
mov ecx, ecx
sub rax, rcx
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xe0]
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x14014fe78]
mov eax, dword [rsp + 0xe4]
cvtsi2sd xmm1, rax
mulsd xmm1, qword [0x14014fe78]
divsd xmm0, xmm1
mulsd xmm0, qword [0x14014fed0]
movsd qword [rsp + 0x258], xmm0
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x228], rax
lea rax, [rsp + 0x410]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x430]
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x1fc6e8]
mov rcx, qword [rsp + 0x228]
call fcn.140020770
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x260], rax
lea rdx, [rsp + 0x4c8]
mov rcx, qword [rsp + 0x238]
call fcn.140020770
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x268], rax
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x1fc6d0]
call fcn.140099670
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x270], rax
movsd xmm0, qword [rsp + 0x258]
movsd qword [rsp + 0x28], xmm0
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x268]
mov r8, qword [rsp + 0x270]
lea rdx, [rsp + 0x550]
lea rcx, [rsp + 0x40]
call fcn.1400b6690
nop
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x3e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x408
lea rdx, [rsp + 0x550]
mov rcx, rax
call fcn.1400080b0
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x3e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x128], 0
movzx eax, byte [rsp + 0x42]
cmp eax, 1
jne 0x14008bcf4
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14008bcf4
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14008bcef
cmp qword [rsp + 0x58], 0
je 0x14008bcef
lea rax, [rsp + 0x12a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x12a0]
mov r8d, dword [rsp + 0x84]
lea rdx, [rsp + 0x22a0]
lea rcx, [rsp + 0x58]
call qword [sym.imp.tlgpu.dll_TLPLAYER_ConvertPCMToAACEncode]
test eax, eax
je 0x14008bcc6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xa0], eax
cmp qword [rsp + 0x68], 0
je 0x14008bcc4
cmp dword [rsp + 0xa0], 0
je 0x14008bcc4
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1fc6d0]
mov r9, qword [rax + 0x470]
mov r8d, dword [rsp + 0x78]
lea rdx, [rsp + 0x12a0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.tlgpu.dll_TLPLAYER_WriteMp4AudioData]
mov rax, qword [rsp + 0x1fc6d0]
mov qword [rax + 0x470], 0
jmp 0x14008bcef
mov rax, qword [rsp + 0x1fc6d0]
cmp qword [rax + 0x470], 0
jne 0x14008bcef
mov rax, qword [rsp + 0x1fc6d0]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x470], rcx
jmp 0x14008c190
movzx eax, byte [rsp + 0x42]
test eax, eax
jne 0x14008c17d
movzx eax, byte [rsp + 0x43]
cmp eax, 3
jl 0x14008c12e
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x14008c129
lea rax, [rsp + 0x4f8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
rep stosb byte [rdi], al
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x4f8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x4fc], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x504], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x500], eax
movzx eax, word [0x14013b6bc]
mov word [rsp + 0xa90], ax
lea rax, [rsp + 0xa92]
mov rdi, rax
xor eax, eax
mov ecx, 0x40e
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x1fc6e0]
call fcn.1400080a0
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x1fc6e0]
call fcn.140005330
mov rcx, qword [rsp + 0x278]
mov r9d, ecx
mov r8, rax
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0x5d0]
call fcn.140008b80
nop
lea rcx, [rsp + 0xa90]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14008bdec
lea rcx, [rsp + 0xa90]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
lea rax, [rsp + 0x310]
lea rcx, [rsp + 0x4f8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0xb0]
lea r8, [rsp + 0xa90]
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x68]
call qword [sym.imp.tlgpu.dll_TLPLAYER_CreateMp4FileInit]
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
jl 0x14008be49
cmp qword [rsp + 0x68], 0
jne 0x14008c068
lea rax, [rsp + 0x450]
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x470]
mov qword [rsp + 0x290], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x2a0], rax
mov rdx, qword [rsp + 0x1fc6e8]
mov rcx, qword [rsp + 0x280]
call fcn.140020770
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2b0], rax
lea rdx, [rsp + 0x510]
mov rcx, qword [rsp + 0x290]
call fcn.140020770
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x2b8], rax
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0x2a0]
call fcn.140020770
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2b8]
mov r8, qword [rsp + 0x130]
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x40]
call fcn.1400b65a0
nop
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x450
lea rdx, [rsp + 0x570]
mov rcx, rax
call fcn.1400080b0
mov rax, qword [rsp + 0x1fc6d0]
add rax, 0x428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x48]
call fcn.1400c7200
nop
cmp qword [rsp + 0x58], 0
je 0x14008bfab
lea rcx, [rsp + 0x58]
call qword [sym.imp.tlgpu.dll_TLPLAYER_ConvertPCMToAACUnit]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0xe8], 0
lea rcx, [rsp + 0x570]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x550]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x5d0]
call fcn.1400082e0
nop
lea rcx, [rsp + 0x4b0]
call fcn.140088cb0
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x510]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x530]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x40]
call fcn.140001e20
nop
mov rcx, qword [rsp + 0x1fc6d8]
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x1fc6e0]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x1fc6e8]
call fcn.1400053b0
mov eax, dword [rsp + 0xe8]
jmp 0x14008c27f
cmp dword [rsp + 0xec], 0
je 0x14008c0e6
lea rax, [rsp + 0x4e8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov dword [rsp + 0x4f0], 0
mov dword [rsp + 0x4e8], 1
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x4f4], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x4ec], eax
lea rax, [rsp + 0x300]
lea rcx, [rsp + 0x4e8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x58]
call qword [sym.imp.tlgpu.dll_TLPLAYER_ConvertPCMToAACInit]
nop
lea rax, [rsp + 0xa78]
mov rdi, rax
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
mov dword [rsp + 0xf4], 0
cmp qword [rsp + 0x58], 0
je 0x14008c129
lea r8, [rsp + 0xf4]
lea rdx, [rsp + 0xa78]
lea rcx, [rsp + 0x58]
call qword [sym.imp.tlgpu.dll_TLPLAYER_ConvertPCMToAACGetEncConfig]
nop
mov byte [rsp + 0x41], 1
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14008c17b
cmp qword [rsp + 0x68], 0
je 0x14008c17b
movzx eax, byte [rsp + 0x43]
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8d, dword [rsp + 0x84]
lea rdx, [rsp + 0x22a0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.tlgpu.dll_TLPLAYER_WriteMp4VideoData]
nop
jmp 0x14008c190
lea rcx, [rsp + 0x550]
call fcn.1400053b0
nop
jmp 0x14008b999
lea rcx, [rsp + 0x550]
call fcn.1400053b0
nop
jmp 0x14008b999
mov rcx, qword [rsp + 0x48]
call fcn.1400c7200
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x5d0]
call fcn.1400082e0
nop
lea rcx, [rsp + 0x4b0]
call fcn.140088cb0
nop
jmp 0x14008b0f3
cmp qword [rsp + 0x58], 0
je 0x14008c1eb
lea rcx, [rsp + 0x58]
call qword [sym.imp.tlgpu.dll_TLPLAYER_ConvertPCMToAACUnit]
nop
cmp qword [rsp + 0x68], 0
je 0x14008c1ff
lea rcx, [rsp + 0x68]
call qword [sym.imp.tlgpu.dll_TLPLAYER_CloseMp4File]
nop
mov dword [rsp + 0xf8], 0
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x510]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x530]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x40]
call fcn.140001e20
nop
mov rcx, qword [rsp + 0x1fc6d8]
call fcn.140088bf0
nop
mov rcx, qword [rsp + 0x1fc6e0]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x1fc6e8]
call fcn.1400053b0
mov eax, dword [rsp + 0xf8]
mov rcx, qword [rsp + 0x1fc6a0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x1fc6b8
pop rdi
pop rsi
ret