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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfe76
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 0x100673c4
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 0x1006740d
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 0x10067456
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 0x1006749f
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 0x100674e8
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 0x10067534
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 0x10067635
mov edx, dword [eax]
call edx
jmp 0x10067637
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 0x10067688
mov ecx, eax
call fcn.10081700
jmp 0x1006768a
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 dword [ebx + 0x104], ecx
mov dword [ebx + 0x108], esi
mov edx, dword [eax + 4]
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x10c], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x110], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x114], edx
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 0x1006772a
call fcn.1009d480
mov eax, dword [eax]
push 0
call eax
add esp, 4
jmp 0x1006772c
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 0x100677a2
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 0x100677b5
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x100677ac
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x100677ae
push ebx
mov ecx, eax
call fcn.1005add0
jmp 0x10067761
xor esi, esi
mov eax, esi
mov dword [0x100fef8c], eax
mov ecx, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call edi
test eax, eax
jne 0x100678a5
push 0x30
call fcn.100328c0
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x100677e8
mov ecx, eax
call fcn.1007ecd0
mov edi, eax
jmp 0x100677ea
xor edi, edi
mov eax, dword [0x100fef8c]
mov byte [ebp - 4], 0x19
test eax, eax
jne 0x1006781a
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x10067811
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x10067813
xor esi, esi
mov eax, esi
mov dword [0x100fef8c], eax
mov edx, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
call edi
push 4
call fcn.100328c0
mov dword [ebp + 8], eax
mov eax, dword [0x100fefa0]
add esp, 4
test eax, eax
jne 0x1006785f
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x10067858
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov eax, esi
jmp 0x1006785a
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 0x10067894
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x1006788d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov eax, esi
jmp 0x1006788f
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 0x100678d8
mov eax, dword [0x100fefa0]
test eax, eax
jne 0x100678d1
push 4
call fcn.100328c0
mov esi, eax
add esp, 4
test esi, esi
je 0x100678ca
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov eax, esi
jmp 0x100678cc
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 0x10067941
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 0x1006795d
cmp dword [ebx + 0x128], 0x10
jge 0x1006795d
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 0x10067a8d
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 0x100679b2
mov ecx, dword [eax]
call ecx
jmp 0x100679b4
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 0x100679ee
mov edx, dword [eax]
call edx
jmp 0x100679f0
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 0x10067a28
lea eax, [edi + 4]
jmp 0x10067a2a
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 0x10067a8f
xor esi, esi
mov ecx, dword [ebx + 0xf8]
mov byte [ebp - 4], 0x19
cmp esi, ecx
je 0x10067aa9
test ecx, ecx
je 0x10067aa9
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 0x10067ad6
mov ecx, dword [ebx + 0x120]
push ecx
mov ecx, eax
call fcn.100297b0
mov edi, eax
jmp 0x10067ad8
xor edi, edi
mov esi, dword [ebx + 0x1a0]
mov byte [ebp - 4], 0x19
cmp edi, esi
je 0x10067afa
test esi, esi
je 0x10067afa
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