Function at 0x1400c86b0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb78]
sub rsp, 0xc78
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rbp + 0xb60], rax
mov esi, r8d
mov dword [rbp + 0x950], getservbyname
movzx edi, dl
mov r14, rcx
xorps xmm0, xmm0
lea rcx, [rbp + 0x954]
xor eax, eax
xor edx, edx
mov r8d, 0x204
mov dword [rbp + 0x940], eax
movups xmmword [rbp + 0x930], xmm0
mov r15, r9
call sub.VCRUNTIME140.dll_memset
xor r12d, r12d
test dil, dil
jne 0x1400c8727
lea r8, [0x14011b6f8]
jmp 0x1400c8777
cmp dil, 1
je 0x1400c876d
cmp dil, 2
jne 0x1400c873c
lea r8, [0x14011b708]
jmp 0x1400c8777
cmp dil, 3
jne 0x1400c8f88
lea rdx, [0x14011b708]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
test rax, rax
je 0x1400c876d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea r8, [0x14011b708]
jmp 0x1400c8777
lea r8, [0x14011b700]
mov esi, r12d
lea rdx, [0x14014a7cc]
lea rcx, [rbp + 0x930]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0x8c0
mov qword [rsp + 0xcb8], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400c8b6a
xor edx, edx
mov r8d, 0x8c0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
lea rdx, [rbp + 0x930]
mov rcx, r14
mov qword [rbx + 0x8b8], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov qword [rbx], rax
test rax, rax
jne 0x1400c87f2
lea rcx, str.open_file_failed_n
jmp 0x1400c8b5d
mov r9, rax
lea rdx, str._wfopen__s_file:_p
mov r8, r14
lea rcx, [rbp + 0x950]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x950]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbx]
xor r8d, r8d
mov edx, esi
mov byte [rbx + 8], dil
mov dword [rbx + 0xc], esi
mov dword [rbx + 0x10], esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
lea rsi, [rbx + 0x14]
test dil, dil
jne 0x1400c8b94
mov r8d, 0x200
mov rdx, rsi
mov rcx, rbx
call fcn.1400c7a00
test eax, eax
jg 0x1400c885f
lea rcx, str.ReadFilePropertiesObject_failed_1_n
jmp 0x1400c8b5d
movups xmm0, xmmword [0x14011b300]
lea rdx, [rsp + 0x20]
mov rcx, rsi
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
jne 0x1400c8888
lea rcx, str.ReadFilePropertiesObject_failed_2_n
jmp 0x1400c8b5d
cmp dword [rbx + 0x24], 0x200
je 0x1400c889d
lea rcx, str.ReadFilePropertiesObject_failed_3_n
jmp 0x1400c8b5d
mov r8d, 0x200
lea rdx, [rbx + 0x214]
mov rcx, rbx
call fcn.1400c7a00
mov edx, eax
test eax, eax
jle 0x1400c8b56
movups xmm0, xmmword [0x14011b310]
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x214]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
je 0x1400c8b56
cmp dword [rbx + 0x224], 0x200
jne 0x1400c8b56
mov r8d, 0x200
lea rdx, [rbx + 0x414]
mov rcx, rbx
call fcn.1400c7a00
mov edx, eax
test eax, eax
jle 0x1400c8b4d
movups xmm0, xmmword [0x14011b320]
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x414]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
je 0x1400c8b4d
cmp dword [rbx + 0x424], 0x200
jne 0x1400c8b4d
mov r8d, 0x200
lea rdx, [rbx + 0x614]
mov rcx, rbx
call fcn.1400c7a00
test eax, eax
jle 0x1400c8b4d
movups xmm0, xmmword [0x14011b330]
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x614]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c79d0
test eax, eax
je 0x1400c8b4d
movsxd rdi, dword [rbp + 0xbd0]
lea rcx, [rbx + 0x870]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
test edi, edi
jle 0x1400c89bc
mov r8, rdi
cmp rdi, 0x40
ja 0x1400c89bc
mov rdx, r15
call fcn.140101c10
mov eax, dword [rbx + 0x628]
mov dword [rbx + 0x8b0], edi
test eax, eax
je 0x1400c8f80
lea rcx, [rax + rax*8]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x818], rax
test rax, rax
jne 0x1400c89f6
lea rcx, str.alloc_memory_for_sect_table_failed_n
jmp 0x1400c8b5d
cmp r12d, dword [rbx + 0x628]
jae 0x1400c8a2d
nop
mov edx, r12d
mov rcx, rbx
call fcn.1400c7f90
test eax, eax
jle 0x1400c8a1d
inc r12d
cmp r12d, dword [rbx + 0x628]
jb 0x1400c8a00
jmp 0x1400c8a26
test r12d, r12d
je 0x1400c8b62
cmp r12d, dword [rbx + 0x628]
je 0x1400c8a36
mov dword [rbx + 0x628], r12d
mov ecx, dword [rbx + 0x844]
test ecx, ecx
je 0x1400c8a7b
mov eax, 0xbb8
cmp ecx, eax
cmovb eax, ecx
imul rcx, rax, 0x1c
mov dword [rbx + 0x838], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [rbx + 0x838], 0
mov qword [rbx + 0x820], rax
je 0x1400c8a7b
test rax, rax
jne 0x1400c8a7b
lea rcx, str.alloc_memory_for_video_table_failed_n
jmp 0x1400c8b5d
mov ecx, dword [rbx + 0x848]
test ecx, ecx
je 0x1400c8ac4
mov eax, 0xfa0
cmp ecx, eax
cmovb eax, ecx
mov dword [rbx + 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 [rbx + 0x83c], 0
mov qword [rbx + 0x828], rax
je 0x1400c8ac4
test rax, rax
jne 0x1400c8ac4
lea rcx, str.alloc_memory_for_audio_table_failed_n
jmp 0x1400c8b5d
mov ecx, dword [rbx + 0x84c]
test ecx, ecx
je 0x1400c8b08
mov eax, __WSAFDIsSet
cmp ecx, eax
cmovb eax, ecx
mov ecx, eax
mov dword [rbx + 0x840], ecx
shl rcx, 7
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [rbx + 0x840], 0
mov qword [rbx + 0x830], rax
je 0x1400c8b08
test rax, rax
jne 0x1400c8b08
lea rcx, str.alloc_memory_for_attach_table_failed_n
jmp 0x1400c8b5d
xor edx, edx
mov rcx, rbx
call fcn.1400c7c50
test eax, eax
jle 0x1400c8b62
mov eax, dword [rbx + 0x628]
test eax, eax
je 0x1400c8f80
mov rdx, qword [rbx + 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
mov rax, rbx
shr edx, 6
add edx, dword [rbx + 0x48]
mov dword [rbx + 0x4c], edx
jmp 0x1400c8b6c
lea rcx, str.ReadAudioStreamPropertiesObject_failed_n
jmp 0x1400c8b5d
lea rcx, str.ReadVideoStreamPropertiesObject_failed_n
call fcn.140008960
mov rcx, rbx
call fcn.1400c8480
xor eax, eax
mov rbx, qword [rsp + 0xcb8]
mov rcx, qword [rbp + 0xb60]
xor rcx, rsp
call fcn.140100c60
add rsp, 0xc78
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
mov qword [rsp + 0xc70], r13
call fcn.1400c8550
lea r15, [rbx + 0x214]
mov rcx, r15
call fcn.1400ca9c0
movups xmm0, xmmword [0x14011b320]
mov dword [rbx + 0x424], 0x200
lea r14, [rbx + 0x414]
mov dword [rbx + 0x428], 0x3e8
lea rdi, [rbx + 0x614]
movups xmmword [r14], xmm0
mov dword [rbx + 0x42c], 0x80001
lea rax, [rbp + 0x130]
mov qword [rbx + 0x430], 0x1f40
mov r13d, 4
mov dword [rbx + CD2DTextFormat::~CD2DTextFormat], 0x1e
mov ecx, r13d
mov dword [rbx + CD2DLinearGradientBrush::~CD2DLinearGradientBrush], 0xf0
mov dword [rbx + CD2DTextFormat::~CD2DTextFormat], r12d
movups xmm0, xmmword [0x14011b330]
mov qword [rbx + 0x624], 0x200
mov dword [rbx + 0x62c], r12d
movups xmmword [rdi], xmm0
nop dword [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 0x1400c8c40
mov rax, qword [rbp + 0x130]
lea rdx, [rbp + 0x130]
shr rax, 0x20
mov r8d, 0x200
mov rcx, rbx
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 0x1400c8cd0
mov rax, qword [rbp + 0x330]
lea rdx, [rbp + 0x330]
shr rax, 0x20
mov r8d, 0x200
mov rcx, rbx
mov word [rbp + 0x334], ax
call fcn.1400c7b20
lea rax, [rbp + 0x530]
mov rcx, r13
nop dword [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 0x1400c8d60
mov rax, qword [rbp + 0x530]
lea rdx, [rbp + 0x530]
shr rax, 0x20
mov r8d, 0x200
mov rcx, rbx
mov word [rbp + 0x534], ax
call fcn.1400c7b20
lea rax, [rbp + 0x730]
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
lea rdi, [rdi + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rdi - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rdi - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rdi - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rdi - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rdi - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rdi - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r13, 1
jne 0x1400c8df0
mov rax, qword [rbp + 0x730]
lea rdx, [rbp + 0x730]
mov r13, qword [rsp + 0xc70]
mov r8d, 0x200
shr rax, 0x20
mov rcx, rbx
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 [rbx + 0x818], rax
mov rcx, rbx
call fcn.1400c8630
mov rcx, qword [rbx + 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, rbx
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 [rbx + 0x838], 0xbb8
mov dword [rbx + 0x83c], 0xfa0
mov dword [rbx + 0x840], 0x96
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rbx + 0x838]
xor edx, edx
imul r8, rcx, 0x1c
mov rcx, rax
mov qword [rbx + 0x820], rax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbx + 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 [rbx + 0x83c]
xor edx, edx
mov qword [rbx + 0x828], rax
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [rbx + 0x840]
mov edx, 0x80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx + 0x830], rax
mov rax, rbx
jmp 0x1400c8b6c
lea rcx, str.open_mode_error_n
call fcn.140008960
xor eax, eax
jmp 0x1400c8b74