Function at 0x140005800
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xdb8]
sub rsp, 0xe80
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rbp + 0xd60], rax
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x70], r15d
mov dword [rbp - 8], r15d
lea rax, vtable.MEDIA_ADDI_CONFIG.0
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x30], r15d
mov dword [rbp + 0x34], 0xffffffff
mov qword [rbp + 0x38], r15
lea r12, vtable.TString_wchar_t__8_.0
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x84], r15
mov qword [rbp + 0x78], r15
mov dword [rbp + 0x80], r15d
xorps xmm6, xmm6
mov qword [rbp], r15
mov dword [rbp + 8], r15d
mov qword [rbp + 0xc], 0xffffffffffffffff
mov dword [rbp + 0x14], r15d
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x5c], r15
mov qword [rbp + 0x54], r15
mov dword [rbp + 0x50], r15d
mov qword [rbp + 0x64], r15
mov dword [rbp + 0x6c], r15d
mov dword [rbp + 0x90], r15d
lea rcx, [rbp + 0x70]
call qword [method.CModulePathStr.virtual_24]
nop
lea r13, vtable.TString_wchar_t__4096_.0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x64], r15
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov word [rbp + 0x540], r15w
cmp edi, 1
jne 0x14000595b
cmp byte [rsi + 0xe3], r15b
je 0x14000595b
mov rdx, qword [rbx]
call fcn.140026940
nop
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140005946
cmp dword [rsp + 0x64], r15d
je 0x140005941
lea edx, [rdi + 1]
call fcn.140009330
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rcx, [rbp - 0x10]
call fcn.1400085b0
xor al, al
jmp 0x1400063db
mov word [rbp + 0x1b0], r15w
cmp edi, 3
jl 0x1400059d9
lea rdx, str.TestProfile
mov rcx, qword [rbx]
call fcn.140008540
test eax, eax
jne 0x1400059d9
mov rdi, qword [rbx + 8]
lea rdx, str.Video
mov rcx, rdi
call fcn.140008540
test eax, eax
jne 0x140005996
xor edx, edx
jmp 0x1400059c8
lea rdx, [0x140074910]
mov rcx, rdi
call fcn.140008540
test eax, eax
jne 0x1400059ae
lea edx, [rax + 1]
jmp 0x1400059c8
lea rdx, [0x140074920]
mov rcx, rdi
call fcn.140008540
test eax, eax
jne 0x1400063a6
lea edx, [rax + 2]
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.1400067c0
jmp 0x1400063a6
cmp edi, 4
jl 0x140005b38
mov r8, qword [rbx]
lea rax, [rbp + 0xb0]
mov edx, r15d
test r8, r8
jne 0x1400059fe
mov word [rbp + 0xb0], r15w
jmp 0x140005a2d
movzx ecx, word [r8]
test cx, cx
je 0x140005a29
lea r9, [rbp + 0xb0]
sub r8, r9
cmp edx, 0x7f
jge 0x140005a29
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005a11
mov word [rax], r15w
mov r8, qword [rbx + 8]
lea rax, [rbp + 0x3c0]
mov edx, r15d
test r8, r8
jne 0x140005a4a
mov word [rbp + 0x3c0], r15w
jmp 0x140005a7c
movzx ecx, word [r8]
test cx, cx
je 0x140005a78
lea r9, [rbp + 0x3c0]
sub r8, r9
nop dword [rax]
cmp edx, 0x7f
jge 0x140005a78
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005a60
mov word [rax], r15w
mov r8, qword [rbx + 0x10]
lea rax, [rbp + 0x1b0]
mov edx, r15d
test r8, r8
jne 0x140005a99
mov word [rbp + 0x1b0], r15w
jmp 0x140005acf
movzx ecx, word [r8]
test cx, cx
je 0x140005acb
lea r9, [rbp + 0x1b0]
sub r8, r9
nop dword [rax]
cmp edx, 0x103
jge 0x140005acb
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005ab0
mov word [rax], r15w
mov r8, qword [rbx + 0x18]
lea rax, [rbp + 0x540]
mov edx, r15d
test r8, r8
jne 0x140005aef
mov word [rbp + 0x540], r15w
jmp 0x140005ce7
movzx ecx, word [r8]
test cx, cx
je 0x140005c2b
lea r9, [rbp + 0x540]
sub r8, r9
nop word [rax + rax]
cmp edx, 0x103
jge 0x140005c2b
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005b10
mov word [rax], r15w
jmp 0x140005ce7
cmp edi, 3
jne 0x140005c34
mov r8, qword [rbx]
lea rax, [rbp + 0xb0]
mov edx, r15d
test r8, r8
jne 0x140005b5d
mov word [rbp + 0xb0], r15w
jmp 0x140005b8c
movzx ecx, word [r8]
test cx, cx
je 0x140005b88
lea r9, [rbp + 0xb0]
sub r8, r9
cmp edx, 0x7f
jge 0x140005b88
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005b70
mov word [rax], r15w
mov r8, qword [rbx + 8]
lea rax, [rbp + 0x3c0]
mov edx, r15d
test r8, r8
jne 0x140005ba9
mov word [rbp + 0x3c0], r15w
jmp 0x140005bdc
movzx ecx, word [r8]
test cx, cx
je 0x140005bd8
lea r9, [rbp + 0x3c0]
sub r8, r9
nop dword [rax]
cmp edx, 0x7f
jge 0x140005bd8
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005bc0
mov word [rax], r15w
mov r8, qword [rbx + 0x10]
lea rax, [rbp + 0x1b0]
mov edx, r15d
test r8, r8
jne 0x140005bfc
mov word [rbp + 0x1b0], r15w
jmp 0x140005ce7
movzx ecx, word [r8]
test cx, cx
je 0x140005c2b
lea r9, [rbp + 0x1b0]
sub r8, r9
nop
cmp edx, 0x103
jge 0x140005c2b
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005c10
mov word [rax], r15w
jmp 0x140005ce7
cmp edi, 2
jne 0x14000634a
mov r8, qword [rbx]
lea rax, [rbp + 0xb0]
mov edx, r15d
test r8, r8
jne 0x140005c59
mov word [rbp + 0xb0], r15w
jmp 0x140005c8c
movzx ecx, word [r8]
test cx, cx
je 0x140005c88
lea r9, [rbp + 0xb0]
sub r8, r9
nop dword [rax]
cmp edx, 0x7f
jge 0x140005c88
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005c70
mov word [rax], r15w
mov r8, qword [rbx + 8]
lea rax, [rbp + 0x1b0]
mov edx, r15d
test r8, r8
jne 0x140005ca9
mov word [rbp + 0x1b0], r15w
jmp 0x140005cdf
movzx ecx, word [r8]
test cx, cx
je 0x140005cdb
lea r9, [rbp + 0x1b0]
sub r8, r9
nop dword [rax]
cmp edx, 0x103
jge 0x140005cdb
mov word [rax], cx
add rax, 2
inc edx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140005cc0
mov word [rax], r15w
mov word [rbp + 0x3c0], r15w
lea rcx, [rbp + 0x1b0]
call fcn.140008a60
test rax, rax
je 0x140005d62
mov rdx, rax
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x140005d00
nop dword [rax]
sub rdx, 2
cmp rdx, rax
je 0x140005d21
cmp word [rdx], 0x2e
jne 0x140005d10
jmp 0x140005d27
cmp word [rdx], 0x2e
jne 0x140005d62
add rdx, 2
cmp word [rdx], 0
je 0x140005d62
test rdx, rdx
je 0x140005d62
mov r8b, 1
lea rcx, [0x1400748e0]
call fcn.140008d90
test al, al
je 0x140005d62
movzx r9d, byte [rsi + 0xe2]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x1b0]
call fcn.140006630
mov rax, qword [sym.imp.FTMedia.dll_class_CFormatFactoryUI____ptr64___ptr64_gpFFUI]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
call qword [rax + 0x90]
mov rbx, rax
test rax, rax
jne 0x140005dbb
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140005da6
cmp dword [rsp + 0x64], eax
je 0x140005da1
lea edx, [rax + 2]
call fcn.140009330
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rcx, [rbp - 0x10]
call fcn.1400085b0
xor al, al
jmp 0x1400063db
mov rax, qword [rax]
lea rdx, [rbp + 0x3c0]
mov rcx, rbx
call qword [rax + 0x60]
test al, al
jne 0x140005e4e
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb0]
lea r8, str._s___s___s_n
mov edx, 0x200
lea rcx, [rbp + 0x960]
call fcn.140008ec0
lea rcx, [rbp + 0x960]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140005e39
cmp dword [rsp + 0x64], 0
je 0x140005e34
mov edx, 2
call fcn.140009330
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rcx, [rbp - 0x10]
call fcn.1400085b0
xor al, al
jmp 0x1400063db
lea rcx, [rbp + 0x1b0]
call fcn.140008a60
mov rdx, rax
test rax, rax
jne 0x140005e6c
mov word [rbp + 0x750], r15w
jmp 0x140005ede
mov rcx, rdx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140005e70
nop dword [rax]
sub rcx, 2
cmp rcx, rdx
je 0x140005e91
cmp word [rcx], 0x2e
jne 0x140005e80
jmp 0x140005ea5
cmp word [rcx], 0x2e
je 0x140005ea5
lea rcx, [rbp + 0x750]
call fcn.140008b90
jmp 0x140005ede
sub rcx, rdx
sar rcx, 1
mov r8d, ecx
test ecx, ecx
je 0x140005ed2
lea r9, [rbp + 0x750]
sub r9, rdx
nop dword [rax]
movzx eax, word [rdx]
mov word [r9 + rdx], ax
lea rdx, [rdx + 2]
sub r8d, 1
jne 0x140005ec0
movsxd rax, ecx
mov word [rbp + rax*2 + 0x750], r15w
lea rcx, [rbp + 0x1b0]
call fcn.14004d950
test al, al
jne 0x140006280
lea rcx, [rbp + 0x1b0]
movzx eax, word [rbp + 0x1b0]
test ax, ax
je 0x140005f1b
cmp ax, 0x2a
je 0x140006280
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x140005f05
cmp word [rcx], 0x2a
je 0x140006280
cmp word [rbp + 0x540], 0
je 0x140005fbd
lea rcx, [rbp + 0x540]
call fcn.14004d950
test al, al
je 0x14000607a
mov rax, qword [rbx]
lea rcx, [rbp + 0x4c0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, qword [rbx + 0xc0]
lea rdx, [rbp + 0x1b0]
mov rcx, rbx
call qword [rax + 0x80]
mov edx, 0x100
lea rcx, [rbp + 0xb0]
call fcn.140055380
lea rax, [rbp + 0x4c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x750]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x540]
lea r8, str._s_s._s
mov edx, 0x104
lea rcx, [rbp + 0x540]
call fcn.140008ec0
jmp 0x14000607a
mov rax, qword [rbx]
lea rcx, [rbp + 0x4c0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, qword [rbx + 0xc0]
lea rdx, [rbp + 0x1b0]
mov rcx, rbx
call qword [rax + 0x80]
mov edx, 0x100
lea rcx, [rbp + 0xb0]
call fcn.140055380
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCStatusBarCmdUI::SetText]
mov rax, qword [sym.imp.FTMedia.dll_class_CFormatFactoryUI____ptr64___ptr64_gpFFUI]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x140]
lea r9, [0x1400b73c0]
test rax, rax
cmovne r9, rax
lea rax, [rbp + 0x4c0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x750]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r8, str._s_s_s._s
mov edx, 0x104
lea rcx, [rbp + 0x540]
call fcn.140008ec0
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov r14, r15
movss xmm1, dword [rsi + 0xe8]
ucomiss xmm1, xmm6
jp 0x14000609b
jne 0x14000609b
movss xmm0, dword [rsi + 0xec]
ucomiss xmm0, xmm6
jp 0x14000609b
je 0x1400060c0
test byte [rbx + 0xd0], 2
je 0x1400060c0
cmp dword [rbx + 8], 1
ja 0x1400060c0
movss dword [rbp], xmm1
movss xmm0, dword [rsi + 0xec]
movss dword [rbp + 4], xmm0
lea r14, [rbp - 0x10]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x6c], r15
mov qword [rbp - 0x78], r15
lea rcx, [rbp + 0x540]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x1400060d3
lea rax, [rbp + 0x540]
sub rcx, rax
sar rcx, 1
lea edx, [rcx - 1]
mov dword [rbp - 0x70], edx
inc edx
xor r9d, r9d
lea r8, [rbp + 0x540]
lea rcx, [rbp - 0x80]
call fcn.140003c40
nop
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14000616d
cmp word [r8], 0
je 0x14000616d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x44], r15
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], r15d
mov ecx, dword [rsp + 0x60]
test ecx, ecx
jg 0x14000614c
mov rcx, r8
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140006134
sub rcx, r8
sar rcx, 1
dec ecx
test ecx, ecx
jle 0x14000615b
lea edx, [rcx + 1]
mov r9d, ecx
lea rcx, [rbp - 0x58]
call fcn.140003c40
mov eax, dword [rsp + 0x68]
mov dword [rbp - 0x40], eax
lea rcx, [rbp - 0x58]
mov edi, 1
jmp 0x1400061bd
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x24], r15
mov qword [rbp - 0x30], r15
lea rcx, [rbp + 0x1b0]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140006180
lea rax, [rbp + 0x1b0]
sub rcx, rax
sar rcx, 1
lea edx, [rcx - 1]
mov dword [rbp - 0x28], edx
inc edx
xor r9d, r9d
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x38]
call fcn.140003c40
lea rcx, [rbp - 0x38]
mov edi, 2
mov dword [rsp + 0x70], edi
mov rax, qword [rbx]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, r14
mov rdx, qword [rbx + 0xc0]
mov rcx, rbx
call qword [rax + 0xc0]
nop
test dil, 2
je 0x14000622b
and edi, 0xfffffffd
mov qword [rbp - 0x38], r12
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140006227
cmp dword [rbp - 0x24], 0
je 0x140006223
mov edx, 2
call fcn.140009330
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
test dil, 1
je 0x140006256
mov qword [rbp - 0x58], r12
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140006252
cmp dword [rbp - 0x44], 0
je 0x14000624e
mov edx, 2
call fcn.140009330
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x80], r12
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400063a6
cmp dword [rbp - 0x6c], 0
je 0x1400063a6
mov edx, 2
call fcn.140009330
jmp 0x1400063a6
mov qword [rbp - 0x80], rbx
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x78], rax
cmp word [rbp + 0x540], 0
je 0x1400062a6
lea rax, [rbp + 0x540]
mov qword [rbp - 0x70], rax
jmp 0x1400062c9
mov rax, qword [sym.imp.FTMedia.dll_class_CFormatFactoryUI____ptr64___ptr64_gpFFUI]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x140]
lea rcx, [0x1400b73c0]
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x70], rcx
mov rax, qword [rbx + 0xc0]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r15
movss xmm1, dword [rsi + 0xe8]
ucomiss xmm1, xmm6
jp 0x1400062f6
jne 0x1400062f6
movss xmm0, dword [rsi + 0xec]
ucomiss xmm0, xmm6
jp 0x1400062f6
je 0x14000631f
test byte [rbx + 0xd0], 2
je 0x14000631f
cmp dword [rbx + 8], 1
ja 0x14000631f
movss dword [rbp], xmm1
movss xmm0, dword [rsi + 0xec]
movss dword [rbp + 4], xmm0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], r15
mov r9b, 1
lea r8, [rbp - 0x80]
lea rdx, [0x140005590]
lea rcx, [rbp + 0x1b0]
call fcn.14004e6e0
jmp 0x1400063a6
cmp byte [rsi + 0xe6], 0
jne 0x1400063a6
cmp byte [rsi + 0xe1], 0
je 0x140006371
movzx r8d, byte [rsi + 0xe2]
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.140006410
jmp 0x1400063a6
cmp byte [rsi + 0xe0], 0
je 0x140006392
mov byte [0x1400b7ff4], 1
mov rdx, qword [rbx]
lea rcx, [0x1400b7f10]
call fcn.140006970
jmp 0x1400063a6
mov rdx, qword [rbx]
mov rcx, qword [sym.imp.FTMedia.dll_class_QFFTaskList____ptr64___ptr64_gpQFFTaskList]
mov rcx, qword [rcx]
call qword [sym.imp.FTMedia.dll_public:_bool___cdecl_QFFTaskList::AcceptFiles_wchar_t_const____ptr64____ptr64]
nop
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x50], r13
test rcx, rcx
je 0x1400063cb
cmp dword [rsp + 0x64], 0
je 0x1400063c6
mov edx, 2
call fcn.140009330
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rcx, [rbp - 0x10]
call fcn.1400085b0
mov al, 1
mov rcx, qword [rbp + 0xd60]
xor rcx, rsp
call fcn.14005b9c0
mov rbx, qword [rsp + 0xed0]
movaps xmm6, xmmword [rsp + 0xe70]
add rsp, 0xe80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret