Function at 0x140028ad0
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 0x140029ac6
mov r8d, dword [r13 + 0x4a4]
test r8d, r8d
je 0x140029a98
mov eax, dword [r13 + 0x344]
test eax, eax
je 0x140028b45
xor edx, edx
div r8d
test edx, edx
jne 0x140029a98
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.140026e90
test eax, eax
je 0x140028bc2
mov rcx, qword [r12]
lea r8, str.RequestMemorySvc____AcquireLayersNals_failed__d__
mov r9d, eax
mov edx, 2
call fcn.1400254a0
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 0x140028d2f
mov rsi, qword [r12]
movsd xmm2, qword [0x1402a88a0]
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 0x140028cd6
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 0x140028d00
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 0x140028c50
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 0x140028d4c
mov ecx, 1
jmp 0x140028d63
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.1401e3610
test rax, rax
je 0x140028db8
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.1401e42d0
jmp 0x140028dba
xor esi, esi
mov rbx, qword [r12]
mov qword [rbx + 0x1f0], rsi
test rsi, rsi
je 0x140029991
mov esi, dword [rdi + 8]
dec esi
lea eax, [rsi + r15 + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140028e18
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.1401e42d0
jmp 0x140028e1a
xor esi, esi
mov rax, qword [rbx + 0x1f0]
mov qword [rax], rsi
mov rax, qword [rbx + 0x1f0]
cmp qword [rax], 0
je 0x140029991
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.1401e3610
test rax, rax
je 0x140028e95
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.1401e42d0
jmp 0x140028e97
xor esi, esi
mov rax, qword [rbx + 0x1f0]
mov qword [rax + 0x40], rsi
mov rax, qword [rbx + 0x1f0]
cmp qword [rax + 0x40], 0
je 0x140029991
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.1401e3610
test rax, rax
je 0x140028f0d
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.1401e42d0
jmp 0x140028f0f
xor esi, esi
mov rax, qword [rbx + 0x1f0]
mov qword [rax + 0x48], rsi
mov rax, qword [rbx + 0x1f0]
cmp qword [rax + 0x48], 0
je 0x140029991
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.140035a30
mov rcx, qword [r12]
mov qword [rcx + 0x1f8], rax
test rax, rax
je 0x140029991
movzx eax, byte [rsp + 0x90]
mov dword [rcx + 0x200], r15d
mov dword [rcx + 0x204], 0
test al, al
je 0x140028fe7
cmp dword [r13 + 0x358], 0
je 0x140028fe7
mov esi, 0x17e80
nop word [rax + rax]
mov rbx, qword [r12]
lea r8, str.DynamicSliceBs
mov edx, ebp
mov rcx, rdi
call fcn.140035a30
mov qword [rsi + rbx], rax
cmp rax, 0
je 0x140029991
add rsi, 8
cmp rsi, 0x17ea0
jl 0x140028fb0
mov al, byte [rsp + 0x90]
cmp word [r13 + 0x37c], 1
jbe 0x140029017
mov r9d, ebp
mov r8d, r15d
mov rdx, r13
mov rcx, r12
mov byte [rsp + 0x20], al
call fcn.14003a330
test eax, eax
je 0x140029017
lea r8, str.RequestMemorySvc____RequestMtResource_failed_
jmp 0x140029983
movzx r8d, byte [r13 + 0x370]
mov edx, dword [r13]
mov rcx, qword [r12]
call fcn.140031fe0
mov rbx, qword [r12]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x140029991
mov esi, dword [rdi + 8]
lea r15d, [r14*8]
dec esi
lea eax, [rsi + r15 + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140029092
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.1401e42d0
jmp 0x140029094
xor esi, esi
mov qword [rbx + 0x58], rsi
test rsi, rsi
je 0x140029991
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.1401e3610
test rax, rax
je 0x1400290ef
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.1401e42d0
jmp 0x1400290f1
xor esi, esi
mov qword [rbx + 0x50], rsi
test rsi, rsi
je 0x140029991
mov esi, dword [rdi + 8]
mov ebp, r14d
dec esi
shl ebp, 7
lea eax, [rsi + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x14002914b
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.1401e42d0
jmp 0x14002914d
xor esi, esi
mov qword [rbx + 0x40], rsi
test rsi, rsi
je 0x140029991
mov esi, dword [rdi + 8]
dec esi
lea eax, [rsi + r15 + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x1400291a4
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.1401e42d0
jmp 0x1400291a6
xor esi, esi
mov qword [rbx + 0x48], rsi
test rsi, rsi
je 0x140029991
mov ebp, dword [rdi + 8]
lea esi, [r14*4]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140029202
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.1401e42d0
jmp 0x140029204
xor ebp, ebp
mov qword [rbx + 0x20], rbp
test rbp, rbp
je 0x140029991
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.1401e3610
test rax, rax
je 0x140029274
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.1401e42d0
xor r9d, r9d
jmp 0x14002927a
xor r9d, r9d
mov rbp, r9
mov qword [rbx + 0x140], rbp
test rbp, rbp
je 0x140029991
movsxd r15, dword [rsp + 0xa8]
mov rdx, r15
test r15d, r15d
jle 0x140029310
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 0x1400292a0
mov edx, r15d
mov rcx, r12
call fcn.1400281f0
test eax, eax
je 0x14002932b
lea r8, str.RequestMemorySvc____AllocStrideTables_failed_
jmp 0x140029983
mov ebx, dword [rdi + 8]
mov ebp, r15d
dec ebx
imul ebp, ebp, 0x168
lea eax, [rbx + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x14002937b
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.1401e42d0
jmp 0x14002937d
xor ebx, ebx
mov rbp, qword [r12]
mov qword [rbp + 0x170], rbx
test rbx, rbx
je 0x140029991
cmp dword [r13], 1
jne 0x14002942f
mov ebx, dword [rdi + 8]
dec ebx
lea eax, [rbx + 0x50c]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x1400293ef
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.1401e42d0
jmp 0x1400293f1
xor ebx, ebx
mov qword [rbp + 0x1a0], rbx
test rbx, rbx
je 0x140029991
mov rax, qword [rbp + 0x18]
lea r9d, [r14*4]
mov rdx, rdi
mov r8d, dword [rax + 0x4cc]
mov rcx, rbx
call fcn.140028920
test eax, eax
je 0x140029494
lea r8, str.RequestMemorySvc____RequestMemoryVaaScreen_failed_
jmp 0x140029983
mov ebx, dword [rdi + 8]
dec ebx
lea eax, [rbx + 0x114]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140029482
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.1401e42d0
jmp 0x140029484
xor ebx, ebx
mov qword [rbp + 0x1a0], rbx
test rbx, rbx
je 0x140029991
mov rbx, qword [r12]
mov rax, qword [rbx + 0x18]
cmp byte [rax + 0x38e], 0
je 0x140029578
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x1400294f0
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.1401e42d0
jmp 0x1400294f2
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x58], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x58], 0
je 0x140029991
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140029559
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.1401e42d0
jmp 0x14002955b
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x60], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x60], 0
je 0x140029991
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x1400295c2
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.1401e42d0
jmp 0x1400295c4
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0xf0], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0xf0], 0
je 0x140029991
mov ebp, dword [rdi + 8]
lea r14d, [rsi*4]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140029639
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.1401e42d0
jmp 0x14002963b
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x10], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x10], 0
je 0x140029991
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x14002969f
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.1401e42d0
jmp 0x1400296a1
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x18], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x18], 0
je 0x140029991
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140029705
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.1401e42d0
jmp 0x140029707
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x20], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x20], 0
je 0x140029991
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x14002976b
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.1401e42d0
jmp 0x14002976d
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x28], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x28], 0
je 0x140029991
mov rax, qword [rbx + 0x18]
cmp byte [rax + 0x38d], 0
je 0x14002986a
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + r14 + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x1400297e5
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.1401e42d0
jmp 0x1400297e7
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x30], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x30], 0
je 0x140029991
mov ebp, dword [rdi + 8]
dec ebp
lea eax, [rbp + rsi + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x14002984b
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.1401e42d0
jmp 0x14002984d
xor ebp, ebp
mov rax, qword [rbx + 0x1a0]
mov qword [rax + 0x38], rbp
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x38], 0
je 0x140029991
mov esi, dword [rdi + 8]
lea ebp, [r15*8]
dec esi
lea eax, [rsi + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x1400298b9
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.1401e42d0
jmp 0x1400298bb
xor esi, esi
mov qword [rbx + 0xb8], rsi
test rsi, rsi
je 0x140029991
mov esi, dword [rdi + 8]
dec esi
lea eax, [rsi + rbp + 0xc]
movsxd rcx, eax
call fcn.1401e3610
test rax, rax
je 0x140029912
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.1401e42d0
jmp 0x140029914
xor esi, esi
mov qword [rbx + 0xb0], rsi
test rsi, rsi
je 0x140029991
mov rdx, qword [rsp + 0x98]
mov rcx, r12
call fcn.140027890
mov ebx, eax
test eax, eax
je 0x140029970
mov rcx, qword [r12]
lea r8, str.RequestMemorySvc____InitDqLayers_failed__d__
mov r9d, eax
mov edx, 2
call fcn.1400254a0
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.1400273f0
test eax, eax
je 0x140029998
lea r8, str.RequestMemorySvc____InitMbListD_failed_
mov rcx, qword [r12]
mov edx, 2
call fcn.1400254a0
mov eax, 1
jmp 0x140029950
mov rdx, qword [r12]
lea r8, [rsp + 0x90]
mov rcx, r13
add rdx, 0x28
mov dword [rsp + 0x90], 0
call fcn.140028a00
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.1401e3610
test rax, rax
je 0x140029a22
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.1401e42d0
jmp 0x140029a24
xor ebx, ebx
mov qword [rbp + 0x30], rbx
test rbx, rbx
je 0x140029991
mov edx, r13d
mov rcx, rbx
call fcn.140047f70
mov rcx, qword [r12]
mov rax, qword [rcx + 0xb8]
cmp qword [rax], 0
je 0x140029a6a
mov rax, qword [rax]
cmp qword [rax + 0xb8], 0
je 0x140029a6a
mov rax, qword [rax + 0xb8]
mov qword [rcx + 0x98], rax
jmp 0x140029a75
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 0x140029950
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.1400254a0
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.1400254a0
mov eax, 1
add rsp, 0x68
pop r15
pop r13
pop r12
pop rdi
ret