Function at 0x100216e4
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x1003cdfb], 0
push ebx
push esi
push edi
mov ebx, 0x1003d228
jne 0x100216fe
cmp byte [0x1003cdfa], 0
je 0x1002172b
push str.PDFXTerm
push ebx
call fcn.100242af
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1002171b
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1002172b
push ebx
call fcn.10005eb0
pop ecx
mov eax, dword [0x1003d628]
xor ecx, ecx
xor esi, esi
inc ecx
test eax, eax
je 0x1002182c
jmp 0x100217e6
mov edi, dword [eax]
cmp word [edi + 0x2c], si
jne 0x100217aa
mov word [edi + 0x2c], cx
cmp byte [0x1003cdfb], 0
jne 0x10021760
cmp byte [0x1003cdfa], 0
je 0x1002178f
push edi
push str.PDFX_0x_xl_.closing__true
push ebx
call fcn.100242af
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1002177f
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1002178f
push ebx
call fcn.10005eb0
pop ecx
mov eax, dword [0x1003d628]
push 2
push dword [edi + 8]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002f5c0]
call esi
pop ecx
pop ecx
xor esi, esi
push edi
mov dword [edi + 8], esi
call fcn.100242af
mov eax, dword [0x1003d628]
mov ecx, dword [edi]
push 4
push esi
push edi
mov dword [eax], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d628]
add esp, 0x10
mov esi, dword [eax + 0x28]
mov ecx, esi
push edi
call dword [0x1002f5c0]
call esi
mov eax, dword [0x1003d628]
xor esi, esi
pop ecx
push 1
pop ecx
cmp dword [eax], esi
jne 0x10021742
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10021801
push ecx
call fcn.100242af
mov eax, dword [0x1003d628]
pop ecx
push 4
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d628]
add esp, 0xc
mov esi, dword [eax + 0x28]
mov ecx, esi
push eax
call dword [0x1002f5c0]
call esi
pop ecx
xor esi, esi
xor ecx, ecx
mov dword [0x1003d628], esi
inc ecx
mov eax, dword [0x1003d62c]
test eax, eax
je 0x10021924
jmp 0x100218e2
mov edi, dword [eax]
cmp word [edi + 0x2c], si
jne 0x100218a6
mov word [edi + 0x2c], cx
cmp byte [0x1003cdfb], 0
jne 0x1002185c
cmp byte [0x1003cdfa], 0
je 0x1002188b
push edi
push str.PDFX_0x_xl_.closing__true
push ebx
call fcn.100242af
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1002187b
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1002188b
push ebx
call fcn.10005eb0
pop ecx
mov eax, dword [0x1003d62c]
push 2
push dword [edi + 8]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002f5c0]
call esi
pop ecx
pop ecx
xor esi, esi
push edi
mov dword [edi + 8], esi
call fcn.100242af
mov eax, dword [0x1003d62c]
mov ecx, dword [edi]
push 4
push esi
push edi
mov dword [eax], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d62c]
add esp, 0x10
mov esi, dword [eax + 0x28]
mov ecx, esi
push edi
call dword [0x1002f5c0]
call esi
mov eax, dword [0x1003d62c]
xor esi, esi
pop ecx
push 1
pop ecx
cmp dword [eax], esi
jne 0x1002183e
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x100218fd
push ecx
call fcn.100242af
mov eax, dword [0x1003d62c]
pop ecx
push 4
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1003d62c]
add esp, 0xc
mov esi, dword [eax + 0x28]
mov ecx, esi
push eax
call dword [0x1002f5c0]
call esi
and dword [0x1003d62c], 0
pop ecx
pop edi
pop esi
pop ebx
ret