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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0036
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1010aef8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor esi, esi
mov dword [ebx + 4], esi
mov dword [ebx], vtable.PDFPortResources.0
mov dword [ebp - 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
lea edi, [ebx + 0x10]
push 8
mov byte [ebp - 4], 2
mov dword [edi], esi
call dword [0x1010db70]
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10067b84
call fcn.1009d5f0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp + 0xf]
push edx
mov dword [edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.10031080
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
lea edi, [ebx + 0x28]
push 8
mov byte [ebp - 4], 3
mov dword [edi], esi
call dword [0x1010db70]
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10067bcd
call fcn.1009d5f0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp + 0xf]
push edx
mov dword [edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.10031080
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
lea edi, [ebx + 0x40]
push 8
mov byte [ebp - 4], 4
mov dword [edi], esi
call dword [0x1010db70]
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10067c16
call fcn.1009d5f0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp + 0xf]
push edx
mov dword [edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.10031080
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
lea edi, [ebx + 0x58]
push 8
mov byte [ebp - 4], 5
mov dword [edi], esi
call dword [0x1010db70]
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10067c5f
call fcn.1009d5f0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp + 0xf]
push edx
mov dword [edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.10031080
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
lea edi, [ebx + 0x70]
push 8
mov byte [ebp - 4], 6
mov dword [edi], esi
call dword [0x1010db70]
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10067ca8
call fcn.1009d5f0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp + 0xf]
push edx
mov dword [edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.10031080
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
lea edi, [ebx + 0x88]
push 8
mov byte [ebp - 4], 7
mov dword [edi], esi
call dword [0x1010db70]
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10067cf4
call fcn.1009d5f0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp + 0xf]
push edx
mov dword [edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.10031080
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
push esi
push 1
mov byte [ebp - 4], 8
mov dword [ebx + 0xa8], esi
call fcn.10036dd0
mov dword [ebx + 0xa4], eax
mov dword [eax], eax
mov eax, dword [ebx + 0xa4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0xa4]
mov dword [eax + 8], eax
mov ecx, dword [ebx + 0xa4]
mov byte [ecx + 0x14], 1
mov edx, dword [ebx + 0xa4]
mov byte [edx + 0x15], 1
push esi
push 1
mov byte [ebp - 4], 9
mov dword [ebx + 0xb8], esi
call fcn.1005bec0
mov dword [ebx + 0xb4], eax
mov dword [eax], eax
mov eax, dword [ebx + 0xb4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0xb4]
mov dword [eax + 8], eax
mov eax, dword [ebx + 0xb4]
mov byte [eax + 0x20], 1
mov ecx, dword [ebx + 0xb4]
add esp, 0x1c
mov byte [ecx + 0x21], 1
mov byte [ebp - 4], 0xa
call fcn.1009b450
push eax
lea ecx, [ebx + 0xc0]
call fcn.10045ad0
lea ecx, [ebx + 0xcc]
call fcn.1009d630
mov dword [ebx + 0xd0], esi
lea ecx, [ebx + 0xd4]
call fcn.1009d630
mov dword [ebx + 0xd8], esi
lea edi, [ebx + 0xdc]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x10], edi
call fcn.100a1d00
mov dword [0x1010e240], eax
cmp eax, esi
je 0x10067df5
mov edx, dword [eax]
call edx
jmp 0x10067df7
xor eax, eax
push eax
mov ecx, edi
call fcn.1009e380
push edi
mov ecx, 0x1010ae10
mov byte [ebp - 4], 0xe
call fcn.100a2050
push 0x20
mov byte [ebp - 4], 0xf
mov dword [ebx + 0xe4], esi
mov dword [ebx + 0xe8], esi
mov dword [ebx + 0xec], esi
mov dword [ebx + 0xf0], esi
call fcn.100328c0
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x10
cmp eax, esi
je 0x10067e48
mov ecx, eax
call fcn.10081700
jmp 0x10067e4a
xor eax, eax
mov dword [ebx + 0xf4], eax
mov dword [ebx + 0xf8], esi
mov byte [ebp - 4], 0x12
call fcn.10065d60
mov dword [ebx + 0xfc], eax
mov byte [ebp - 4], 0x13
call fcn.10066080
mov dword [ebx + 0x100], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x104], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x108], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x10c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x110], edx
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x114], eax
lea edi, [ebx + 0x118]
mov ecx, 0x17
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x174]
call fcn.1009d5a0
lea esi, [ebx + 0x188]
mov byte [ebp - 4], 0x15
mov word [ebx + 0x184], 0
mov dword [ebp + 8], esi
call fcn.1009d480
test eax, eax
je 0x10067eed
call fcn.1009d480
mov ecx, dword [eax]
push 0
call ecx
add esp, 4
jmp 0x10067eef
xor eax, eax
lea ecx, [esi + 4]
push eax
call fcn.1009e380
mov byte [ebp - 4], 0x16
mov dword [esi], vtable.CAGMPDFPortErrorStrategist.0
call fcn.1009d480
mov dword [esi + 8], eax
push 0xc
mov byte [ebp - 4], 0x17
call dword [0x1010db70]
add esp, 4
test eax, eax
jne 0x10067f65
call fcn.1009d5f0
xor eax, eax
lea ecx, [ebx + 0x194]
push eax
push ecx
call fcn.100977d0
add esp, 8
mov dword [ebx + 0x1a0], 0
mov eax, dword [0x100fef8c]
mov byte [ebp - 4], 0x19
test eax, eax
jne 0x10067f78
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x10067f6f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x10067f71
push ebx
mov ecx, eax
call fcn.1005add0
jmp 0x10067f24
xor esi, esi
mov eax, esi
mov dword [0x100fef8c], eax
mov edx, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edx
call edi
test eax, eax
jne 0x10068068
push 0x30
call fcn.100328c0
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x10067fab
mov ecx, eax
call fcn.1007ecd0
mov edi, eax
jmp 0x10067fad
xor edi, edi
mov eax, dword [0x100fef8c]
mov byte [ebp - 4], 0x19
test eax, eax
jne 0x10067fdd
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x10067fd4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x10067fd6
xor esi, esi
mov eax, esi
mov dword [0x100fef8c], eax
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
call edi
push 4
call fcn.100328c0
mov dword [ebp + 8], eax
mov eax, dword [0x100fefa0]
add esp, 4
test eax, eax
jne 0x10068022
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x1006801b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov eax, esi
jmp 0x1006801d
xor eax, eax
mov dword [0x100fefa0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
push ecx
push edx
call edi
mov eax, dword [0x100fefa0]
test eax, eax
jne 0x10068057
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x10068050
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov eax, esi
jmp 0x10068052
xor eax, eax
mov dword [0x100fefa0], eax
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [eax], 1
jmp 0x1006809b
mov eax, dword [0x100fefa0]
test eax, eax
jne 0x10068094
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x1006808d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov eax, esi
jmp 0x1006808f
xor eax, eax
mov dword [0x100fefa0], eax
mov ecx, dword [eax]
push ecx
call edi
inc dword [eax]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x54]
test eax, eax
je 0x10068104
push eax
lea ecx, [ebp - 0x1c]
call fcn.1009e380
mov esi, vtable.CAGMPDFPortErrorStrategist.0
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x20], esi
call fcn.1009d480
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1c
call fcn.1009e3b0
mov ecx, dword [ebx + 0x18c]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 0xc]
mov dword [ebx + 0x18c], eax
call fcn.1009dac0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov dword [ebx + 0x190], edx
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x20], esi
call fcn.1009dac0
cmp dword [ebx + 0x114], 0
je 0x10068120
cmp dword [ebx + 0x128], 0x10
jge 0x10068120
mov dword [ebx + 0x114], 0
mov edx, dword [ebx + 0x188]
lea edi, [ebx + 0x188]
lea eax, [ebx + 0x194]
push eax
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
push 0x118
call fcn.100328c0
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x10068250
sub esp, 8
mov esi, esp
mov dword [ebp + 8], esp
mov dword [ebp - 0x10], esi
call fcn.100a1cc0
mov dword [0x1010e23c], eax
test eax, eax
je 0x10068175
mov ecx, dword [eax]
call ecx
jmp 0x10068177
xor eax, eax
push eax
mov ecx, esi
call fcn.1009e380
push esi
mov ecx, 0x1010ae10
mov byte [ebp - 4], 0x1e
call fcn.100a2050
sub esp, 8
mov esi, esp
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
call fcn.100a1cc0
mov dword [0x1010e23c], eax
test eax, eax
je 0x100681b1
mov edx, dword [eax]
call edx
jmp 0x100681b3
xor eax, eax
push eax
mov ecx, esi
call fcn.1009e380
push esi
mov ecx, 0x1010ae10
mov byte [ebp - 4], 0x20
call fcn.100a2050
mov eax, dword [ebx + 0x128]
push 0x7d0
push eax
sub esp, 0xc
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x18], esp
mov esi, esp
test edi, edi
je 0x100681eb
lea eax, [edi + 4]
jmp 0x100681ed
xor eax, eax
lea ecx, [esi + 4]
push eax
call fcn.1009e3b0
mov dword [esi], vtable.CAGMPDFPortErrorStrategist.0
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [ebx + 0x164]
mov ecx, dword [ebx + 0x110]
mov eax, dword [ebx + 0xf4]
push 0
push edx
movzx edx, word [ebx + 0x170]
push ecx
movzx ecx, word [ebx + 0x114]
push edx
movzx edx, word [ebx + 0x10c]
push ecx
movzx ecx, word [ebx + 0x108]
push edx
mov edx, dword [ebx + 0x11c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov byte [ebp - 4], 0x1d
call fcn.1007d360
mov esi, eax
jmp 0x10068252
xor esi, esi
mov ecx, dword [ebx + 0xf8]
mov byte [ebp - 4], 0x19
cmp esi, ecx
je 0x1006826c
test ecx, ecx
je 0x1006826c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push 0x48
mov dword [ebx + 0xf8], esi
call fcn.100328c0
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x22
test eax, eax
je 0x10068299
mov ecx, dword [ebx + 0x120]
push ecx
mov ecx, eax
call fcn.100297b0
mov edi, eax
jmp 0x1006829b
xor edi, edi
mov esi, dword [ebx + 0x1a0]
mov byte [ebp - 4], 0x19
cmp edi, esi
je 0x100682bd
test esi, esi
je 0x100682bd
mov ecx, esi
call fcn.100296c0
push esi
call fcn.100328f0
add esp, 4
mov dword [ebx + 0x1a0], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8