Function at 0x1400c7970
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov eax, r8d
test rcx, rcx
jne 0x1400c7993
lea rcx, str.TLFileLib_hFile_Empty_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xffffffff
add rsp, 0x28
ret
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400c7989
mov r8d, edx
movzx edx, al
add rsp, 0x28
jmp 0x1400c9770
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x950]
sub rsp, 0xa50
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rbp + 0x930], rax
mov eax, r8d
mov byte [rcx + 8], dl
mov dword [rcx + 0xc], eax
movzx ebx, dl
mov dword [rcx + 0x10], eax
mov rdi, rcx
mov rcx, qword [rcx]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
lea rsi, [rdi + 0x14]
test bl, bl
jne 0x1400c9acc
mov r8d, 0x200
mov rdx, rsi
mov rcx, rdi
call fcn.1400c7a00
test eax, eax
jg 0x1400c97f6
lea rcx, str.ReadFilePropertiesObject_failed_1_n
call fcn.140008960
mov rcx, rdi
call fcn.1400c8480
mov eax, 0xffffffff
jmp 0x1400c9ee3
movups xmm0, xmmword [0x14011b300]
lea rdx, [rsp + 0x20]
mov rcx, rsi
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
jne 0x1400c981c
lea rcx, str.ReadFilePropertiesObject_failed_2_n
jmp 0x1400c97df
cmp dword [rdi + 0x24], 0x200
je 0x1400c982e
lea rcx, str.ReadFilePropertiesObject_failed_3_n
jmp 0x1400c97df
mov r8d, 0x200
lea rdx, [rdi + 0x214]
mov rcx, rdi
call fcn.1400c7a00
mov edx, eax
test eax, eax
jle 0x1400c9ac0
movups xmm0, xmmword [0x14011b310]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x214]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
je 0x1400c9ac0
cmp dword [rdi + 0x224], 0x200
jne 0x1400c9ac0
mov r8d, 0x200
lea rdx, [rdi + 0x414]
mov rcx, rdi
call fcn.1400c7a00
mov edx, eax
test eax, eax
jle 0x1400c9ab4
movups xmm0, xmmword [0x14011b320]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x414]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
je 0x1400c9ab4
cmp dword [rdi + 0x424], 0x200
jne 0x1400c9ab4
mov r8d, 0x200
lea rdx, [rdi + 0x614]
mov rcx, rdi
call fcn.1400c7a00
test eax, eax
jle 0x1400c9ab4
movups xmm0, xmmword [0x14011b330]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x614]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
je 0x1400c9ab4
mov eax, dword [rdi + 0x628]
test eax, eax
je 0x1400c9ee1
lea rcx, [rax + rax*8]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0x818], rax
test rax, rax
jne 0x1400c994c
lea rcx, str.alloc_memory_for_sect_table_failed_n
jmp 0x1400c97df
xor r12d, r12d
cmp r12d, dword [rdi + 0x628]
jae 0x1400c998d
nop dword [rax + rax]
mov edx, r12d
mov rcx, rdi
call fcn.1400c7f90
test eax, eax
jle 0x1400c997d
inc r12d
cmp r12d, dword [rdi + 0x628]
jb 0x1400c9960
jmp 0x1400c9986
test r12d, r12d
je 0x1400c97e4
cmp r12d, dword [rdi + 0x628]
je 0x1400c9996
mov dword [rdi + 0x628], r12d
mov ecx, dword [rdi + 0x844]
test ecx, ecx
je 0x1400c99db
mov eax, 0xbb8
cmp ecx, eax
cmovb eax, ecx
imul rcx, rax, 0x1c
mov dword [rdi + 0x838], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [rdi + 0x838], 0
mov qword [rdi + 0x820], rax
je 0x1400c99db
test rax, rax
jne 0x1400c99db
lea rcx, str.alloc_memory_for_video_table_failed_n
jmp 0x1400c97df
mov ecx, dword [rdi + 0x848]
test ecx, ecx
je 0x1400c9a24
mov eax, 0xfa0
cmp ecx, eax
cmovb eax, ecx
mov dword [rdi + 0x83c], eax
lea rcx, [rax + rax*2]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [rdi + 0x83c], 0
mov qword [rdi + 0x828], rax
je 0x1400c9a24
test rax, rax
jne 0x1400c9a24
lea rcx, str.alloc_memory_for_audio_table_failed_n
jmp 0x1400c97df
mov ecx, dword [rdi + 0x84c]
test ecx, ecx
je 0x1400c9a6b
mov eax, __WSAFDIsSet
cmp ecx, eax
cmovb eax, ecx
mov ecx, eax
mov dword [rdi + 0x840], ecx
shl rcx, 7
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [rdi + 0x840], 0
mov qword [rdi + 0x830], rax
je 0x1400c9a6b
test rax, rax
jne 0x1400c9a6b
lea rcx, str.alloc_memory_for_attach_table_failed_n
jmp 0x1400c97df
xor edx, edx
mov rcx, rdi
call fcn.1400c7c50
test eax, eax
jle 0x1400c97e4
mov eax, dword [rdi + 0x628]
test eax, eax
je 0x1400c9ee1
mov rdx, qword [rdi + 0x818]
dec eax
lea rax, [rax + rax*8]
mov ecx, dword [rdx + rax*4 + 8]
mov eax, 0x10624dd3
sub ecx, dword [rdx + 4]
mul ecx
shr edx, 6
add edx, dword [rdi + 0x48]
mov dword [rdi + 0x4c], edx
jmp 0x1400c9ee1
lea rcx, str.ReadAudioStreamPropertiesObject_failed_n
jmp 0x1400c97df
lea rcx, str.ReadVideoStreamPropertiesObject_failed_n
jmp 0x1400c97df
mov qword [rsp + CPaneContainerManager::CanBeAttached], r13
mov rcx, rsi
mov qword [rsp + 0xa48], r14
mov qword [rsp + CGlobalUtils::CalcExpectedDockedRect], r15
call fcn.1400c8550
lea r15, [rdi + 0x214]
mov rcx, r15
call fcn.1400ca9c0
movups xmm0, xmmword [0x14011b320]
mov dword [rdi + 0x424], 0x200
lea r14, [rdi + 0x414]
mov dword [rdi + 0x428], 0x3e8
lea rbx, [rdi + 0x614]
movups xmmword [r14], xmm0
mov dword [rdi + 0x42c], 0x80001
lea rax, [rbp + 0x130]
mov qword [rdi + 0x430], 0x1f40
xor r12d, r12d
mov dword [rdi + CD2DTextFormat::~CD2DTextFormat], 0x1e
mov r13d, 4
mov dword [rdi + CD2DLinearGradientBrush::~CD2DLinearGradientBrush], 0xf0
mov ecx, r13d
mov dword [rdi + CD2DTextFormat::~CD2DTextFormat], r12d
movups xmm0, xmmword [0x14011b330]
mov qword [rdi + 0x624], 0x200
mov dword [rdi + 0x62c], r12d
movups xmmword [rbx], xmm0
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
lea rsi, [rsi + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rsi - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rsi - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rsi - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rsi - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rsi - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rsi - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1400c9b90
mov rax, qword [rbp + 0x130]
lea rdx, [rbp + 0x130]
shr rax, 0x20
mov r8d, 0x200
mov rcx, rdi
mov word [rbp + 0x134], ax
call fcn.1400c7b20
lea rax, [rbp + 0x330]
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
lea r15, [r15 + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [r15 - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [r15 - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [r15 - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [r15 - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [r15 - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [r15 - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1400c9c20
mov rax, qword [rbp + 0x330]
lea rdx, [rbp + 0x330]
mov r15, qword [rsp + 0xa40]
mov r8d, 0x200
shr rax, 0x20
mov rcx, rdi
mov word [rbp + 0x334], ax
call fcn.1400c7b20
lea rax, [rbp + 0x530]
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
lea r14, [r14 + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [r14 - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [r14 - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [r14 - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [r14 - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [r14 - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [r14 - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1400c9cc0
mov rax, qword [rbp + 0x530]
lea rdx, [rbp + 0x530]
mov r14, qword [rsp + 0xa48]
mov r8d, 0x200
shr rax, 0x20
mov rcx, rdi
mov word [rbp + 0x534], ax
call fcn.1400c7b20
lea rax, [rbp + 0x730]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r13, 1
jne 0x1400c9d51
mov rax, qword [rbp + 0x730]
lea rdx, [rbp + 0x730]
mov r13, qword [rsp + 0xa88]
mov r8d, 0x200
shr rax, 0x20
mov rcx, rdi
mov word [rbp + 0x734], ax
call fcn.1400c7b20
mov ecx, 0x24
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, rax
mov qword [rdi + 0x818], rax
mov rcx, rdi
call fcn.1400c8630
mov rcx, qword [rdi + 0x818]
lea rdx, [rsp + 0x30]
movups xmm0, xmmword [0x14011b340]
mov qword [rsp + 0x4c], r12
mov r8d, 0x200
mov dword [rsp + 0x5c], r12d
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rcx + 4]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x1c]
mov rcx, rdi
mov dword [rsp + 0x58], eax
movq rax, xmm0
shr rax, 0x20
mov word [rsp + 0x34], ax
mov dword [rsp + 0x40], 0x200
call fcn.1400c7b20
mov ecx, 0x14820
mov dword [rdi + 0x838], 0xbb8
mov dword [rdi + 0x83c], 0xfa0
mov dword [rdi + 0x840], 0x96
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rdi + 0x838]
xor edx, edx
imul r8, rcx, 0x1c
mov rcx, rax
mov qword [rdi + 0x820], rax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rdi + 0x83c]
lea rcx, [rax + rax*2]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rdi + 0x83c]
xor edx, edx
mov qword [rdi + 0x828], rax
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [rdi + 0x840]
mov edx, 0x80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rdi + 0x830], rax
xor eax, eax
mov rcx, qword [rbp + 0x930]
xor rcx, rsp
call fcn.140100c60
add rsp, 0xa50
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret