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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r15
sub rsp, 0x68
mov r12, rcx
mov rcx, qword [rcx]
mov dword [rax + 0x18], 0
mov r13, qword [rcx + 0x18]
mov rdi, qword [rcx + 0x720]
mov dword [rax + 8], 0
mov eax, dword [r13 + 0x1c]
xor r15d, r15d
lea r9d, [rax - 1]
mov dword [rsp + 0xa8], eax
cmp r9d, 3
ja 0x14002bf56
mov r8d, dword [r13 + 0x4a4]
test r8d, r8d
je 0x14002bf28
mov eax, dword [r13 + 0x344]
test eax, eax
je 0x14002afd5
xor edx, edx
div r8d
test edx, edx
jne 0x14002bf28
mov qword [rsp + 0x48], r14
movsxd rax, r9d
lea r8, [rsp + 0x90]
lea r9, [rsp + 0xa0]
mov rdx, r13
mov rcx, r12
imul rax, rax, 0xc8
mov r14d, dword [rax + r13 + 0x24]
mov eax, dword [rax + r13 + 0x20]
add eax, 0xf
add r14d, 0xf
sar eax, 4
sar r14d, 4
imul r14d, eax
mov dword [rsp + 0x30], r14d
call fcn.140029320
test eax, eax
je 0x14002b052
mov rcx, qword [r12]
lea r8, str.RequestMemorySvc____AcquireLayersNals_failed__d__
mov r9d, eax
mov edx, 2
call fcn.1400279c0
mov r14, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x68
pop r15
pop r13
pop r12
pop rdi
ret
mov rax, qword [r12]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x50], rsi
mov rcx, qword [rcx + 0x4f8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [r12]
mov rdx, qword [rcx + 0x70]
mov ebx, eax
mov rcx, qword [rdx + 0x4f8]
shl ebx, 5
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_getservbyport]
xor r10d, r10d
xor ebp, ebp
add eax, 8
mov byte [rsp + 0x90], r15b
shl eax, 4
add eax, ebx
xor ebx, ebx
cmp dword [r13 + 0x1c], ebx
mov dword [rsp + 0x34], eax
jle 0x14002b1bf
mov rsi, qword [r12]
movsd xmm2, qword [0x1402ab560]
lea r9, [r13 + 0xd4]
lea r11, [rsi + 0x248]
lea r14d, [r10 + 0x23]
nop word [rax + rax]
mov eax, dword [r9 - 0xb4]
imul eax, dword [r9 - 0xb0]
lea eax, [rax + rax*2]
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
unpcklps xmm0, xmm0
cvtps2pd xmm1, xmm0
addsd xmm1, xmm2
cvttsd2si ebp, xmm1
add ebp, 0x323
and ebp, 0xfffffffc
add r15d, ebp
cmp dword [r9 - 0x94], 3
jne 0x14002b166
xor edx, edx
mov eax, ebp
mov byte [rsp + 0x90], 1
div dword [r9]
lea r8d, [rax + 1]
mov eax, dword [rsi + 0x268]
cmp r8d, r14d
cmova r8d, r14d
cmp eax, r8d
mov ecx, r8d
cmovg ecx, eax
xor edx, edx
mov eax, ebp
div r8d
mov dword [rsi + 0x268], ecx
mov ecx, dword [r9]
cmp ecx, eax
cmova eax, ecx
lea ecx, [rax + rax + 0x320]
jmp 0x14002b190
mov eax, dword [rsi + 0x268]
mov ecx, dword [r9 - 0x90]
cmp eax, ecx
cmovg ecx, eax
xor edx, edx
mov eax, ebp
mov dword [rsi + 0x268], ecx
div dword [r9 - 0x90]
lea ecx, [rax + rax + 0x320]
cmp r10d, ecx
mov dword [r11], ecx
mov eax, ecx
cmovg eax, r10d
inc ebx
add r11, 4
add r9, 0xc8
cmp ebx, dword [r13 + 0x1c]
mov r10d, eax
jl 0x14002b0e0
mov r14d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
mov ecx, dword [r13 + 0x348]
add r15d, eax
cmp r10d, ebp
cmovl ebp, r10d
cmp ecx, 1
jge 0x14002b1dc
mov ecx, 1
jmp 0x14002b1f3
cmp dword [r13], 0
mov eax, 8
mov edx, 6
cmove eax, edx
cmp ecx, eax
cmovg ecx, eax
mov dword [r13 + 0x348], ecx
mov ebx, dword [rdi + 8]
dec ebx
lea eax, [rbx + 0x6c]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b248
movsxd rdx, ebx
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
lea r8d, [rdx + 0x60]
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], 0x60
mov ecx, dword [rdi + 8]
mov eax, dword [rsi - 0xc]
lea ecx, [rcx + rax + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b24a
xor esi, esi
mov rbx, qword [r12]
mov qword [rbx + 0x1f0], rsi
test rsi, rsi
je 0x14002be21
mov esi, dword [rdi + 8]
dec esi
lea eax, [rsi + r15 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b2a8
movsxd rdx, esi
mov r8d, r15d
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], r15d
mov ecx, dword [rdi + 8]
lea ecx, [rcx + r15 + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b2aa
xor esi, esi
mov rax, qword [rbx + 0x1f0]
mov qword [rax], rsi
mov rax, qword [rbx + 0x1f0]
cmp qword [rax], 0
je 0x14002be21
mov dword [rax + 8], r15d
mov eax, dword [rsp + 0xa0]
mov esi, dword [rdi + 8]
lea eax, [rax + rax*4]
dec esi
shl eax, 3
mov dword [rsp + 0x34], eax
lea eax, [rsi + rax + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b325
movsxd rdx, esi
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
mov edx, dword [rsp + 0x34]
sub rsi, rcx
mov r8, rdx
mov dword [rsi - 0xc], edx
mov qword [rsi - 8], rax
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rdx + 0xb]
xor edx, edx
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b327
xor esi, esi
mov rax, qword [rbx + 0x1f0]
mov qword [rax + 0x40], rsi
mov rax, qword [rbx + 0x1f0]
cmp qword [rax + 0x40], 0
je 0x14002be21
mov eax, dword [rsp + 0xa0]
mov esi, dword [rdi + 8]
shl eax, 2
dec esi
mov dword [rsp + 0x34], eax
lea eax, [rsi + rax + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b39d
movsxd rdx, esi
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
mov edx, dword [rsp + 0x34]
sub rsi, rcx
mov r8, rdx
mov dword [rsi - 0xc], edx
mov qword [rsi - 8], rax
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rdx + 0xb]
xor edx, edx
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b39f
xor esi, esi
mov rax, qword [rbx + 0x1f0]
mov qword [rax + 0x48], rsi
mov rax, qword [rbx + 0x1f0]
cmp qword [rax + 0x48], 0
je 0x14002be21
mov ecx, dword [rsp + 0xa0]
lea r8, str.pFrameBs
mov edx, r15d
mov dword [rax + 0x50], ecx
mov rax, qword [rbx + 0x1f0]
mov rcx, rdi
mov dword [rax + 0x54], 0
mov rax, qword [rbx + 0x1f0]
mov dword [rax + 0x58], 0
call fcn.140037eb0
mov rcx, qword [r12]
mov qword [rcx + 0x1f8], rax
test rax, rax
je 0x14002be21
movzx eax, byte [rsp + 0x90]
mov dword [rcx + 0x200], r15d
mov dword [rcx + 0x204], 0
test al, al
je 0x14002b477
cmp dword [r13 + 0x358], 0
je 0x14002b477
mov esi, 0x17e80
nop word [rax + rax]
mov rbx, qword [r12]
lea r8, str.DynamicSliceBs
mov edx, ebp
mov rcx, rdi
call fcn.140037eb0
mov qword [rsi + rbx], rax
cmp rax, 0
je 0x14002be21
add rsi, 8
cmp rsi, 0x17ea0
jl 0x14002b440
mov al, byte [rsp + 0x90]
cmp word [r13 + 0x37c], 1
jbe 0x14002b4a7
mov r9d, ebp
mov r8d, r15d
mov rdx, r13
mov rcx, r12
mov byte [rsp + 0x20], al
call fcn.14003c6a0
test eax, eax
je 0x14002b4a7
lea r8, str.RequestMemorySvc____RequestMtResource_failed_
jmp 0x14002be13
movzx r8d, byte [r13 + 0x370]
mov edx, dword [r13]
mov rcx, qword [r12]
call fcn.140034470
mov rbx, qword [r12]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x14002be21
mov esi, dword [rdi + 8]
lea r15d, [r14*8]
dec esi
lea eax, [rsi + r15 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b522
movsxd rdx, esi
mov r8d, r15d
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], r15d
mov eax, dword [rdi + 8]
lea ecx, [r15 + rax + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b524
xor esi, esi
mov qword [rbx + 0x58], rsi
test rsi, rsi
je 0x14002be21
mov esi, dword [rdi + 8]
lea ebp, [r14 + r14*2]
dec esi
shl ebp, 3
lea eax, [rsi + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b57f
movsxd rdx, esi
mov r8d, ebp
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], ebp
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rbp + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b581
xor esi, esi
mov qword [rbx + 0x50], rsi
test rsi, rsi
je 0x14002be21
mov esi, dword [rdi + 8]
mov ebp, r14d
dec esi
shl ebp, 7
lea eax, [rsi + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b5db
movsxd rdx, esi
mov r8d, ebp
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], ebp
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rbp + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b5dd
xor esi, esi
mov qword [rbx + 0x40], rsi
test rsi, rsi
je 0x14002be21
mov esi, dword [rdi + 8]
dec esi
lea eax, [rsi + r15 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b634
movsxd rdx, esi
mov r8d, r15d
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], r15d
mov ecx, dword [rdi + 8]
lea ecx, [rcx + r15 + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002b636
xor esi, esi
mov qword [rbx + 0x48], rsi
test rsi, rsi
je 0x14002be21
mov ebp, dword [rdi + 8]
lea esi, [r14*4]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b692
movsxd rdx, ebp
mov r8d, esi
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], esi
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rsi + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002b694
xor ebp, ebp
mov qword [rbx + 0x20], rbp
test rbp, rbp
je 0x14002be21
mov r15d, dword [rsp + 0xa8]
mov dword [rbx + 0x19c], 0x1a
mov ebp, dword [rdi + 8]
imul r15d, r15d, 0x3c
dec ebp
lea eax, [rbp + r15 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b704
movsxd rdx, ebp
mov r8d, r15d
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], r15d
mov ecx, dword [rdi + 8]
lea ecx, [rcx + r15 + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
xor r9d, r9d
jmp 0x14002b70a
xor r9d, r9d
mov rbp, r9
mov qword [rbx + 0x140], rbp
test rbp, rbp
je 0x14002be21
movsxd r15, dword [rsp + 0xa8]
mov rdx, r15
test r15d, r15d
jle 0x14002b7a0
mov rcx, r9
nop dword [rax]
mov rax, qword [rbx + 0x140]
xor r8d, r8d
add rcx, 0x3c
sub rdx, 1
mov byte [rcx + rax - 2], 0
mov dword [rcx + rax - 0x34], r9d
mov dword [rcx + rax - 0x30], 0xffffffff
mov dword [rcx + rax - 0x2c], 0xffffffff
mov dword [rcx + rax - 0x28], r9d
mov dword [rcx + rax - 0x24], r9d
mov byte [rcx + rax - 4], 0
mov byte [rcx + rax - 3], 0
mov dword [rcx + rax - 0x20], r9d
mov dword [rcx + rax - 0x1c], r8d
mov dword [rcx + rax - 0x18], r8d
mov dword [rcx + rax - 0x14], r8d
mov dword [rcx + rax - 0x10], r8d
mov dword [rcx + rax - 8], r9d
mov dword [rcx + rax - 0x3c], 3
mov dword [rcx + rax - 0x38], 0xffffffff
jne 0x14002b730
mov edx, r15d
mov rcx, r12
call fcn.14002a680
test eax, eax
je 0x14002b7bb
lea r8, str.RequestMemorySvc____AllocStrideTables_failed_
jmp 0x14002be13
mov ebx, dword [rdi + 8]
mov ebp, r15d
dec ebx
imul ebp, ebp, 0x168
lea eax, [rbx + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b80b
movsxd rdx, ebx
mov r8d, ebp
lea rbx, [rax + rdx + 0xc]
mov rcx, rbx
and rcx, rdx
xor edx, edx
sub rbx, rcx
mov qword [rbx - 8], rax
mov dword [rbx - 0xc], ebp
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rbp + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbx
call fcn.1401e6750
jmp 0x14002b80d
xor ebx, ebx
mov rbp, qword [r12]
mov qword [rbp + 0x170], rbx
test rbx, rbx
je 0x14002be21
cmp dword [r13], 1
jne 0x14002b8bf
mov ebx, dword [rdi + 8]
dec ebx
lea eax, [rbx + 0x50c]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b87f
movsxd rdx, ebx
mov r8d, 0x500
lea rbx, [rax + rdx + 0xc]
mov rcx, rbx
and rcx, rdx
xor edx, edx
sub rbx, rcx
mov qword [rbx - 8], rax
mov dword [rbx - 0xc], 0x500
mov ecx, dword [rbx - 0xc]
mov eax, dword [rdi + 8]
lea ecx, [rcx + rax + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbx
call fcn.1401e6750
jmp 0x14002b881
xor ebx, ebx
mov qword [rbp + 0x1a0], rbx
test rbx, rbx
je 0x14002be21
mov rax, qword [rbp + 0x18]
lea r9d, [r14*4]
mov rdx, rdi
mov r8d, dword [rax + 0x4cc]
mov rcx, rbx
call fcn.14002adb0
test eax, eax
je 0x14002b924
lea r8, str.RequestMemorySvc____RequestMemoryVaaScreen_failed_
jmp 0x14002be13
mov ebx, dword [rdi + 8]
dec ebx
lea eax, [rbx + 0x114]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b912
movsxd rdx, ebx
mov r8d, 0x108
lea rbx, [rax + rdx + 0xc]
mov rcx, rbx
and rcx, rdx
xor edx, edx
sub rbx, rcx
mov qword [rbx - 8], rax
mov dword [rbx - 0xc], 0x108
mov ecx, dword [rdi + 8]
mov eax, dword [rbx - 0xc]
lea ecx, [rcx + rax + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbx
call fcn.1401e6750
jmp 0x14002b914
xor ebx, ebx
mov qword [rbp + 0x1a0], rbx
test rbx, rbx
je 0x14002be21
mov rbx, qword [r12]
mov rax, qword [rbx + 0x18]
cmp byte [rax + 0x38e], 0
je 0x14002ba08
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b980
movsxd rdx, ebp
mov r8d, esi
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], esi
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rsi + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002b982
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x58], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x58], 0
je 0x14002be21
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002b9e9
movsxd rdx, ebp
mov r8d, r14d
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], r14d
mov ecx, dword [rdi + 8]
lea ecx, [rcx + r14 + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002b9eb
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x60], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x60], 0
je 0x14002be21
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002ba52
movsxd rdx, ebp
mov r8d, r14d
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], r14d
mov ecx, dword [rdi + 8]
lea ecx, [rcx + r14 + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002ba54
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0xf0], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0xf0], 0
je 0x14002be21
mov ebp, dword [rdi + 8]
lea r14d, [rsi*4]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bac9
movsxd rdx, ebp
mov r8d, r14d
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], r14d
mov ecx, dword [rdi + 8]
lea ecx, [rcx + r14 + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002bacb
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x10], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x10], 0
je 0x14002be21
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bb2f
movsxd rdx, ebp
mov r8d, esi
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], esi
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rsi + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002bb31
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x18], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x18], 0
je 0x14002be21
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bb95
movsxd rdx, ebp
mov r8d, esi
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], esi
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rsi + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002bb97
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x20], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x20], 0
je 0x14002be21
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bbfb
movsxd rdx, ebp
mov r8d, esi
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], esi
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rsi + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002bbfd
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x28], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x28], 0
je 0x14002be21
mov rax, qword [rbx + 0x18]
cmp byte [rax + 0x38d], 0
je 0x14002bcfa
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bc75
movsxd rdx, ebp
mov r8d, r14d
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], r14d
mov ecx, dword [rdi + 8]
lea ecx, [rcx + r14 + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002bc77
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x30], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x30], 0
je 0x14002be21
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bcdb
movsxd rdx, ebp
mov r8d, esi
lea rbp, [rax + rdx + 0xc]
mov rcx, rbp
and rcx, rdx
xor edx, edx
sub rbp, rcx
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], esi
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rsi + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbp
call fcn.1401e6750
jmp 0x14002bcdd
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x38], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x38], 0
je 0x14002be21
mov esi, dword [rdi + 8]
lea ebp, [r15*8]
dec esi
lea eax, [rsi + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bd49
movsxd rdx, esi
mov r8d, ebp
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], ebp
mov eax, dword [rdi + 8]
lea ecx, [rbp + rax + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002bd4b
xor esi, esi
mov qword [rbx + 0xb8], rsi
test rsi, rsi
je 0x14002be21
mov esi, dword [rdi + 8]
dec esi
lea eax, [rsi + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002bda2
movsxd rdx, esi
mov r8d, ebp
lea rsi, [rax + rdx + 0xc]
mov rcx, rsi
and rcx, rdx
xor edx, edx
sub rsi, rcx
mov qword [rsi - 8], rax
mov dword [rsi - 0xc], ebp
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rbp + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rsi
call fcn.1401e6750
jmp 0x14002bda4
xor esi, esi
mov qword [rbx + 0xb0], rsi
test rsi, rsi
je 0x14002be21
mov rdx, qword [rsp + 0x98]
mov rcx, r12
call fcn.140029d20
mov ebx, eax
test eax, eax
je 0x14002be00
mov rcx, qword [r12]
lea r8, str.RequestMemorySvc____InitDqLayers_failed__d__
mov r9d, eax
mov edx, 2
call fcn.1400279c0
mov eax, ebx
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x48]
add rsp, 0x68
pop r15
pop r13
pop r12
pop rdi
ret
mov rcx, r12
call fcn.140029880
test eax, eax
je 0x14002be28
lea r8, str.RequestMemorySvc____InitMbListD_failed_
mov rcx, qword [r12]
mov edx, 2
call fcn.1400279c0
mov eax, 1
jmp 0x14002bde0
mov rdx, qword [r12]
lea r8, [rsp + 0x90]
mov rcx, r13
add rdx, 0x28
mov dword [rsp + 0x90], 0
call fcn.14002ae90
mov r8d, dword [rsp + 0x90]
mov rbp, qword [r12]
shl r8d, 2
mov dword [rbp + 0x38], r8d
lea r13d, [r8 + r8 + 1]
mov dword [rbp + 0x3c], r13d
mov ebx, dword [rdi + 8]
mov esi, r13d
imul esi, esi, 0x68
dec ebx
lea eax, [rsi + rbx + 0xc]
movsxd rcx, eax
call fcn.1401e6440
test rax, rax
je 0x14002beb2
movsxd rcx, ebx
mov r8d, esi
xor edx, edx
lea rbx, [rcx + rax + 0xc]
and rcx, rbx
sub rbx, rcx
mov qword [rbx - 8], rax
mov dword [rbx - 0xc], esi
mov ecx, dword [rdi + 8]
lea ecx, [rcx + rsi + 0xb]
add dword [rdi + 0xc], ecx
mov rcx, rbx
call fcn.1401e6750
jmp 0x14002beb4
xor ebx, ebx
mov qword [rbp + 0x30], rbx
test rbx, rbx
je 0x14002be21
mov edx, r13d
mov rcx, rbx
call fcn.14004a410
mov rcx, qword [r12]
mov rax, qword [rcx + 0xb8]
cmp qword [rax], 0
je 0x14002befa
mov rax, qword [rax]
cmp qword [rax + 0xb8], 0
je 0x14002befa
mov rax, qword [rax + 0xb8]
mov qword [rcx + 0x98], rax
jmp 0x14002bf05
mov qword [rcx + 0x98], 0
mov rax, qword [rcx + 0x1b0]
mov qword [rcx + 0x1b8], rax
mov rax, qword [rcx + 0x1c0]
mov qword [rcx + 0x1c8], rax
xor eax, eax
jmp 0x14002bde0
mov r9d, dword [r13 + 0x344]
mov dword [rsp + 0x20], r8d
lea r8, str.RequestMemorySvc___failed_due_to_invalid_uiIntraPeriod__d___multipler_of_uiGopSize__d__
mov edx, 2
call fcn.1400279c0
mov eax, 1
add rsp, 0x68
pop r15
pop r13
pop r12
pop rdi
ret
lea r8, str.RequestMemorySvc___failed_due_to_invalid_iNumDependencyLayers__d__
mov r9d, eax
mov edx, 2
call fcn.1400279c0
mov eax, 1
add rsp, 0x68
pop r15
pop r13
pop r12
pop rdi
ret