Function at 0x1800692c0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
lea rax, vtable.PDFPortResources.0
mov qword [rcx], rax
lea rbp, [rcx + 0x2d8]
mov rax, qword [rcx + 0x2c0]
mov rdx, rbp
add rcx, 0x2c0
call qword [rax + 0x30]
mov rcx, rdi
call fcn.180063da0
xor r12d, r12d
mov rbx, qword [0x180129920]
test rbx, rbx
jne 0x18006933b
lea ecx, [rbx + 4]
call fcn.180034390
mov rbx, rax
test rax, rax
je 0x180069331
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
jmp 0x180069334
mov rbx, r12
mov qword [0x180129920], rbx
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp qword [rax], 1
jne 0x180069453
mov rbx, qword [0x1801298f8]
test rbx, rbx
jne 0x18006937d
lea ecx, [rbx + 4]
call fcn.180034390
mov rbx, rax
test rax, rax
je 0x180069373
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
jmp 0x180069376
mov rbx, r12
mov qword [0x1801298f8], rbx
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x18006939d
mov rcx, rax
call fcn.18007f390
mov rcx, rbx
call fcn.1800343c0
mov rbx, qword [0x180129920]
test rbx, rbx
jne 0x1800693cd
lea ecx, [rbx + 4]
call fcn.180034390
mov rbx, rax
test rax, rax
je 0x1800693c3
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
jmp 0x1800693c6
mov rbx, r12
mov qword [0x180129920], rbx
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
call fcn.1800343c0
mov rbx, qword [0x1801298f8]
test rbx, rbx
jne 0x18006940d
lea ecx, [rbx + 4]
call fcn.180034390
mov rbx, rax
test rax, rax
je 0x180069403
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
jmp 0x180069406
mov rbx, r12
mov qword [0x1801298f8], rbx
xor edx, edx
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [0x180129920]
test rbx, rbx
jne 0x180069447
lea ecx, [rbx + 4]
call fcn.180034390
mov rbx, rax
test rax, rax
je 0x18006943d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
jmp 0x180069440
mov rbx, r12
mov qword [0x180129920], rbx
xor edx, edx
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x18006948e
mov rbx, qword [0x180129920]
test rbx, rbx
jne 0x180069483
lea ecx, [rbx + 4]
call fcn.180034390
mov rbx, rax
test rax, rax
je 0x180069479
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
jmp 0x18006947c
mov rbx, r12
mov qword [0x180129920], rbx
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
dec qword [rax]
mov rbx, qword [rdi + 0x2f0]
test rbx, rbx
je 0x1800694ab
mov rcx, rbx
call fcn.18002c140
mov rcx, rbx
call fcn.1800343c0
nop
mov qword [rsp + 0x68], rbp
mov rcx, qword [rbp + 0x10]
call qword [0x18013afe0]
nop
mov rcx, rbp
call fcn.18009fa80
nop
lea rax, vtable.CAGMPDFPortErrorStrategist.0
mov qword [rdi + 0x2c0], rax
lea rcx, [rdi + 0x2c8]
call fcn.18009fa80
nop
lea rcx, [rdi + 0x298]
call fcn.18009f950
nop
mov rcx, qword [rdi + 0x200]
test rcx, rcx
je 0x180069503
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rdi + 0x1f8]
test rcx, rcx
je 0x18006951a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rdi + 0x1f0]
test rcx, rcx
je 0x180069531
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rdi + 0x1e8]
test rcx, rcx
je 0x180069548
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea rcx, [rdi + 0x1b8]
call fcn.18009fa80
nop
lea rcx, [rdi + 0x1a8]
call fcn.18009fa80
nop
lea rcx, [rdi + 0x198]
call fcn.18009fa80
nop
mov rcx, qword [rdi + 0x180]
call qword [0x18013afe0]
nop
lea rbx, [rdi + 0x160]
mov qword [rsp + 0x68], rbx
mov r8, qword [rbx + 8]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180065850
nop
mov rcx, qword [rbx + 8]
call qword [0x18013af70]
nop
lea rbx, [rdi + 0x140]
mov qword [rsp + 0x68], rbx
mov r8, qword [rbx + 8]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180065770
nop
mov rcx, qword [rbx + 8]
call qword [0x18013af70]
nop
lea rbx, [rdi + 0x110]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.180063980
nop
mov rcx, qword [rbx]
call qword [0x18013af70]
mov qword [rbx], r12
lea rbx, [rdi + 0xe0]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.1800638c0
nop
mov rcx, qword [rbx]
call qword [0x18013af70]
mov qword [rbx], r12
lea rbx, [rdi + 0xb0]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.18007c0b0
nop
mov rcx, qword [rbx]
call qword [0x18013af70]
mov qword [rbx], r12
lea rbx, [rdi + 0x80]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.18007c0b0
nop
mov rcx, qword [rbx]
call qword [0x18013af70]
mov qword [rbx], r12
lea rbx, [rdi + 0x50]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.18007c0b0
nop
mov rcx, qword [rbx]
call qword [0x18013af70]
mov qword [rbx], r12
lea rbx, [rdi + 0x20]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.18007c0b0
nop
mov rcx, qword [rbx]
call qword [0x18013af70]
mov qword [rbx], r12
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1800696b2
mov rax, qword [0x18013bb20]
call qword [rax + 0x1a0]
nop
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1800696c9
mov rax, qword [0x18013bb20]
call qword [rax + 0x1a0]
nop
lea rax, vtable.AGMPDFPortResourcesBIBImpl.0
mov qword [rdi], rax
add rsp, 0x30
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret