Function at 0x180021ae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
sub rsp, 0x58
imul r13d, ecx, 0x2bc
mov r14, rdx
mov r12d, ecx
mov edi, ecx
cmp ecx, r13d
ja 0x180021dec
mov qword [rax + 0x10], rbx
mov qword [rax - 0x28], rbp
mov rbp, qword [rax - 0x40]
mov qword [rax - 0x30], rsi
mov esi, dword [rsp + 0x80]
mov qword [rax - 0x38], r15
mov r15, qword [rsp + 0x90]
nop dword [rax]
cmp edi, 0x4672
ja 0x180021cba
je 0x180021cae
mov eax, edi
sub eax, 0x15
je 0x180021ca4
sub eax, 0x86
je 0x180021c01
sub eax, 0x63
je 0x180021bde
sub eax, 0x4d5
je 0x180021b80
cmp eax, 0x5be
jne 0x180021dc6
mov edi, 0xb91
jmp 0x180021dc6
mov ebx, 0xd4
mov eax, ebx
sub eax, 0xd2
je 0x180021bc0
sub eax, 1
je 0x180021bad
cmp eax, 1
jne 0x180021bd2
mov r8, qword [0x1800738d8]
mov edx, 0xd2
xor ecx, ecx
call fcn.18000d580
jmp 0x180021bd2
mov rcx, qword [0x1800738d8]
mov edx, 0x99
call fcn.180047380
jmp 0x180021bd2
mov rcx, qword [r14]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180021b73
dec ebx
cmp ebx, 0xd1
ja 0x180021b85
jmp 0x180021b80
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
mov r8d, 0xf1
call fcn.180021380
mov r15, rax
jmp 0x180021dc6
mov ebx, 0xac
nop word [rax + rax]
mov eax, ebx
sub eax, 0xa7
je 0x180021dc6
sub eax, 1
je 0x180021c63
sub eax, 3
je 0x180021c72
cmp eax, 1
jne 0x180021c63
lea r8, [rsp + 0x90]
mov dword [rsp + 0x98], ILRemoveLastID
lea rdx, [rsp + 0x98]
mov dword [rsp + 0x90], 0x15
lea ecx, [rax + 0x39]
call fcn.1800593b0
cmp eax, 0xffffffff
je 0x180021dc6
dec ebx
cmp ebx, 0xa8
ja 0x180021c10
jmp 0x180021dc6
mov rax, qword [0x180073ee8]
lea r9, str.set_the_start_time__offset__of_the_subtitles__in_ms
mov r8d, 0x11f
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0xffffffff
xor ecx, ecx
call fcn.180021380
jmp 0x180021dc6
mov esi, 0x1388
jmp 0x180021dc6
xor ebp, ebp
mov qword [rsp + 0x38], rbp
jmp 0x180021dc6
cmp edi, 0x8be6
je 0x180021d6b
cmp edi, 0xd15a
je 0x180021d5b
cmp edi, 0x116ce
je 0x180021d0e
cmp edi, 0x15c42
jne 0x180021dc6
mov r9d, 0xba
mov byte [rsp + 0x80], 1
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, r15
call fcn.1800401b0
mov r15, rax
jmp 0x180021dc6
test rbp, rbp
je 0x180021df8
cmp qword [rbp + 8], 2
jne 0x180021df8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, rbp
mov rdx, r15
mov ecx, 0x88
call fcn.180016bb0
xor r8d, r8d
mov r9, rax
xor ecx, ecx
lea edx, [r8 + 0x4c]
call fcn.180006ae0
jmp 0x180021dc6
mov qword [rsp + 0x30], 3
mov ecx, 3
jmp 0x180021da4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], 1
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, 0xbb
mov rdx, r15
mov ecx, 1
call fcn.18005f180
mov ecx, 2
mov qword [rsp + 0x30], 2
lea rax, [rsp + 0x38]
mov r8d, 0xbb
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.18005f180
mov rbp, qword [rsp + 0x38]
imul eax, r12d, 0x46
add edi, eax
cmp edi, r13d
jbe 0x180021b30
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
add rsp, 0x58
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Unsupported__HEVC__NAL_type___d_
call fcn.18005f980
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3