Function at 0x14001b2e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, qword [rsp + 0x88]
mov rdi, r9
mov rbx, r8
mov r13, rdx
mov rsi, rcx
test r12, r12
jne 0x14001b314
or eax, 0xffffffff
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [rdx]
mov qword [rsp + 0x58], r14
cmp eax, 0xfffffffd
je 0x14001b4c1
cmp eax, 0xfffffffe
je 0x14001b3a6
cmp eax, 0xffffffff
je 0x14001b341
xor eax, eax
mov r14, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
xor r14d, r14d
cmp qword [r8 + 0x10], r14
je 0x14001b358
mov rax, qword [r8 + 8]
mov qword [r8 + 0x10], rax
mov byte [rax], r14b
mov qword [r8], r14
mov edx, 0x82
mov rcx, rbx
lea r8d, [rdx - 0x7a]
call fcn.14001f380
mov r8d, 6
lea rdx, str.theora
mov rcx, rbx
call fcn.14001b160
mov rdx, rdi
mov rcx, rbx
call fcn.140012270
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.140012cf0
test eax, eax
js 0x14001b690
mov edi, r14d
jmp 0x14001b631
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x14001b63a
mov qword [rsp + 0x50], rbp
or rsi, 0xffffffffffffffff
mov rbp, qword [rsp + 0x78]
mov qword [rsp + 0x60], r15
nop word [rax + rax]
inc rsi
cmp byte [rsi + rbp], 0
jne 0x14001b3d0
xor r14d, r14d
cmp qword [r8 + 0x10], r14
je 0x14001b3f0
mov rax, qword [r8 + 8]
mov qword [r8 + 0x10], rax
mov byte [rax], r14b
mov qword [r8], r14
mov edx, 0x81
mov rcx, rbx
lea r8d, [rdx - 0x79]
call fcn.14001f380
mov r8d, 6
lea rdx, str.theora
mov rcx, rbx
call fcn.14001b160
mov r8d, 0x20
mov edx, esi
mov rcx, rbx
call fcn.14001f220
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call fcn.14001b160
mov edx, dword [rdi + 0x10]
mov r8d, 0x20
mov rcx, rbx
call fcn.14001f220
mov r15d, r14d
cmp dword [rdi + 0x10], r14d
jle 0x14001b4af
mov rsi, r14
mov rbp, r14
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi]
mov r8d, 0x20
mov rcx, rbx
cmp qword [rsi + rax], r14
je 0x14001b497
mov rax, qword [rdi + 8]
mov edx, dword [rax + rbp]
call fcn.14001f220
mov rax, qword [rdi + 8]
mov rcx, rbx
mov rdx, qword [rdi]
mov r8d, dword [rax + rbp]
mov rdx, qword [rsi + rdx]
call fcn.14001b160
jmp 0x14001b49e
xor edx, edx
call fcn.14001f220
inc r15d
add rbp, 4
add rsi, 8
cmp r15d, dword [rdi + 0x10]
jl 0x14001b460
mov r15, qword [rsp + 0x60]
mov edi, r14d
mov rbp, qword [rsp + 0x50]
jmp 0x14001b631
test rsi, rsi
je 0x14001b63a
xor r14d, r14d
cmp qword [r8 + 0x10], r14
je 0x14001b4e1
mov rax, qword [r8 + 8]
mov qword [r8 + 0x10], rax
mov byte [rax], r14b
mov qword [r8], r14
mov edx, 0x80
mov rcx, rbx
lea r8d, [rdx - 0x78]
call fcn.14001f380
mov r8d, 6
lea rdx, str.theora
mov rcx, rbx
call fcn.14001b160
mov edx, 3
mov rcx, rbx
lea r8d, [rdx + 5]
call fcn.14001f380
mov edx, 2
mov rcx, rbx
lea r8d, [rdx + 6]
call fcn.14001f380
mov edi, 1
mov rcx, rbx
mov edx, edi
lea r8d, [rdi + 7]
call fcn.14001f380
mov edx, dword [rsi + 4]
lea r8d, [rdi + 0xf]
shr edx, 4
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 8]
lea r8d, [rdi + 0xf]
shr edx, 4
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0xc]
lea r8d, [rdi + 0x17]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x10]
lea r8d, [rdi + 0x17]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x14]
lea r8d, [rdi + 7]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x18]
lea r8d, [rdi + 7]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x1c]
lea r8d, [rdi + 0x1f]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x20]
lea r8d, [rdi + 0x1f]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x24]
lea r8d, [rdi + 0x17]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x28]
lea r8d, [rdi + 0x17]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x2c]
lea r8d, [rdi + 7]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x34]
lea r8d, [rdi + 0x17]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x38]
lea r8d, [rdi + 5]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x3c]
lea r8d, [rdi + 4]
mov rcx, rbx
call fcn.14001f380
mov edx, dword [rsi + 0x30]
lea r8d, [rdi + 1]
mov rcx, rbx
call fcn.14001f380
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call fcn.14001f380
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14001b64e
or eax, 0xffffffff
mov r14, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [r12], rax
mov eax, dword [rbx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [rbx]
mov dword [r12 + 8], eax
mov dword [r12 + 0xc], edi
mov dword [r12 + 0x10], r14d
mov qword [r12 + 0x18], r14
mov eax, dword [r13]
add eax, 3
cdqe
mov qword [r12 + 0x20], rax
inc dword [r13]
mov eax, dword [r13]
add eax, 3
mov r14, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret