Function at 0x180012ac0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x18003c008]
xor rax, rsp
mov qword [rbp - 8], rax
mov r10, qword [0x18003dd48]
xor r15d, r15d
mov r14d, r15d
lea r12d, [r15 + 8]
cmp dword [r10 + 0x4c4], r15d
jle 0x180012b64
lea rbx, [0x18003ef90]
mov esi, 0xe88
sub rsi, rbx
nop dword [rax]
mov rdi, r12
xor r9d, r9d
mov qword [rsp + 0x28], r15
lea rax, [rsi + rbx]
mov qword [rsp + 0x20], r15
mov rcx, qword [rax + r10]
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov r10, qword [0x18003dd48]
mov qword [rbx], rax
add rbx, r12
sub rdi, 1
jne 0x180012b23
inc r14d
cmp r14d, dword [r10 + 0x4c4]
jl 0x180012b20
movzx r9d, word [r10 + 0x584]
lea r13, sym.TimelineSource.dll_:S_Ml8_V7qvi__W_Wmy2Hk1ncUgWD__Fpa_wiyg
mov ebx, dword [r10 + 0x580]
mov eax, r9d
imul eax, ebx
mov esi, 3
movzx r11d, r9w
mov word [rbp - 0x38], si
shl r11w, 2
mov edi, 0x20
mov word [rbp - 0x36], r9w
movzx r8d, r15w
mov dword [rbp - 0x34], ebx
lea r14d, [rsi - 2]
shl eax, 5
mov edx, r15d
shr eax, 3
mov dword [rbp - 0x30], eax
mov word [rbp - 0x2c], r11w
mov dword [rbp - 0x2a], edi
movsxd rax, dword [r10 + 0x57c]
mov word [rbp - 0x50], r15w
mov word [rbp - 0x42], r15w
cmp eax, r12d
ja case.0x180012bdc.4
mov ecx, dword [r13 + rax*4 + 0x12f34]
add rcx, r13
jmp rcx
mov r8d, r14d
mov word [rbp - 0x50], r14w
mov word [rbp - 0x42], r12w
mov edx, r12d
jmp case.0x180012bdc.4
mov edx, 0x10
mov word [rbp - 0x50], r14w
mov word [rbp - 0x42], dx
movzx r8d, r14w
jmp case.0x180012bdc.4
movzx r8d, r14w
mov word [rbp - 0x50], r14w
jmp 0x180012c17
movzx r8d, si
mov word [rbp - 0x50], si
mov edx, edi
mov word [rbp - 0x42], di
movzx eax, word [r10 + 0x584]
mov r12, 0xffffffffffffffff
mov ecx, dword [r10 + 0x580]
mov word [rbp - 0x4e], ax
imul eax, edx
mov dword [rbp - 0x4c], ecx
mov word [rbp - 0x10], r15w
imul ecx, eax
cdq
and edx, 7
add eax, edx
sar eax, 3
mov word [rbp - 0x44], ax
mov eax, 0xfffe
shr ecx, 3
mov dword [rbp - 0x48], ecx
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x20], xmm0
cmp r8w, ax
jne 0x180012c9c
mov rcx, qword [rbp - 8]
cmp rcx, qword [0x180037d28]
mov rax, qword [rbp]
jne 0x180012c85
cmp rax, qword [0x180037d30]
je 0x180012ca2
cmp rcx, qword [0x180037d18]
jne 0x180012c97
cmp rax, qword [0x180037d20]
je 0x180012ce2
movzx r8d, word [rbp - 8]
cmp si, r8w
jne 0x180012ce2
mov rcx, qword [rbp - 0x50]
mov rax, rcx
shr rax, 0x20
cmp ebx, eax
jne 0x180012ce2
shr rcx, 0x10
cmp r9w, cx
jne 0x180012ce2
mov rax, qword [rbp - 0x48]
shr rax, 0x30
cmp di, ax
jne 0x180012ce2
movzx eax, r11w
imul eax, dword [r10 + 0x588]
add eax, 0x40
mov dword [0x18003dd64], eax
jmp 0x180012df1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x38]
call entry0
mov qword [0x18003dd68], rax
cmp rax, r12
jne 0x180012d35
lea rdx, str.Failed_to_GetAudioFormatConversionProcess_n
mov ecx, esi
call fcn.180012910
lea rdx, [rbp - 0x38]
lea rcx, str.From
call fcn.1800127f0
lea rdx, [rbp - 0x20]
lea rcx, [0x180037ee4]
call fcn.1800127f0
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r8, qword [0x18003dd48]
mov eax, dword [r8 + 0x584]
shl eax, 2
mov dword [0x18003dd58], eax
movzx eax, word [rbp - 0x14]
imul eax, dword [r8 + 0x588]
add eax, 0x7f
cdq
and edx, 0x3f
lea ebx, [rdx + rax]
mov edx, 0x40
and ebx, 0xffffffc0
mov ecx, ebx
mov dword [0x18003dd64], ebx
imul ecx, dword [r8 + 0x4c4]
shl ecx, 3
add ecx, 0x40
cmovb rcx, r12
call fcn.180018a74
mov r10, qword [0x18003dd48]
movsxd r8, dword [r10 + 0x4c4]
test r8, r8
je 0x180012df1
movsxd rdx, ebx
lea rcx, [0x18003dd78]
nop word [rax + rax]
mov qword [rcx - 8], rax
lea rcx, [rcx + 0x40]
add rax, rdx
mov qword [rcx - 0x40], rax
add rax, rdx
mov qword [rcx - 0x38], rax
add rax, rdx
mov qword [rcx - 0x30], rax
add rax, rdx
mov qword [rcx - 0x28], rax
add rax, rdx
mov qword [rcx - 0x20], rax
add rax, rdx
mov qword [rcx - 0x18], rax
add rax, rdx
mov qword [rcx - 0x10], rax
add rax, rdx
sub r8, r14
jne 0x180012db0
movsxd r8, dword [r10 + 0x57c]
mov dword [0x18003dd5c], r8d
cmp r8d, 8
ja case.0x180012e14.4
mov ecx, dword [r13 + r8*4 + 0x12f58]
add rcx, r13
jmp rcx
mov ecx, dword [r10 + 0x584]
mov dword [0x18003dd60], ecx
cmp ecx, r14d
jle 0x180012ef2
imul ecx, dword [r10 + 0x4c4]
movzx eax, word [rbp - 0x12]
imul eax, dword [r10 + 0x588]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 0x3f
cdq
and edx, 0x3f
lea ebx, [rdx + rax]
mov edx, 0x40
and ebx, 0xffffffc0
imul ecx, ebx
shl ecx, 3
add ecx, 0x40
cmovb rcx, r12
call fcn.180018a74
mov rdi, qword [0x18003dd48]
mov rcx, rax
mov dword [0x18003dd64], ebx
mov r11, r15
cmp dword [rdi + 0x4c4], r15d
jbe 0x180012ef2
mov r10d, dword [0x18003dd60]
lea rsi, [0x18003df70]
mov r9, r15
nop word [rax + rax]
test r10d, r10d
jle 0x180012ecf
lea rax, [r9 + r11*8]
movsxd r8, ebx
shl rax, 6
mov rdx, r10
add rax, rsi
nop word [rax + rax]
mov qword [rax], rcx
lea rax, [rax + 8]
add rcx, r8
sub rdx, r14
jne 0x180012ec0
inc r9
cmp r9, 8
jl 0x180012ea0
movsxd rax, dword [rdi + 0x4c4]
inc r11
cmp r11, rax
jb 0x180012e97
xor eax, eax
jmp 0x180012f07
mov dword [0x18003dd60], r14d
xor eax, eax
jmp 0x180012f07
lea rdx, str.Unsupport_audio_codec_format:_d_n
mov ecx, esi
call fcn.180012910
mov eax, r12d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180014aa0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret