Function at 0x10209fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x20], 2
mov dword [esp + 0xc], eax
jne 0x1020a039
lea esi, [edi + 0xcc]
mov edx, ecx
push esi
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10209660
mov eax, dword [edi + 8]
lea ecx, [esp + 0x90]
cdq
and edx, 7
add eax, edx
mov edx, esi
sar eax, 3
push eax
call fcn.10256a40
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x94]
add esp, 0xc
push 0x20
push 0x10369394
call fcn.10256ac0
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, dword [edi + 0x20]
cmp ecx, 3
je 0x1020a04a
cmp ecx, 4
jne 0x1020a252
mov eax, dword [edi + 8]
add edi, 0xcc
mov ecx, dword [esp + 0x18]
cdq
and edx, 7
mov dword [esp + 0x28], edi
push edi
push dword [ebp + 0xc]
lea esi, [edx + eax]
mov edx, dword [esp + 0x1c]
sar esi, 3
mov dword [esp + 0x34], esi
call fcn.10209660
push 0x20
mov edx, 0x10369394
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x3c], 0x67452301
mov dword [esp + 0x40], 0xefcdab89
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
call fcn.101efd60
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x1020a0e8
cmp byte [ecx + 4], 0x72
jne 0x1020a0d4
call fcn.101e8f10
mov ecx, eax
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x1020a0e8
cmp byte [ecx + 4], 0x73
jne 0x1020a0e8
movzx ecx, word [ecx + 0x10]
mov dword [esp + 0x10], ecx
jmp 0x1020a0f0
mov dword [esp + 0x10], 0
mov eax, dword [eax]
test eax, eax
je 0x1020a110
cmp byte [eax + 4], 0x72
jne 0x1020a103
mov ecx, eax
call fcn.101e8f10
test eax, eax
je 0x1020a110
cmp byte [eax + 4], 0x73
lea edx, [eax + 0x12]
je 0x1020a115
mov edx, 0x10559f1c
push dword [esp + 0x10]
lea ecx, [esp + 0x34]
call fcn.101efd60
add esp, 4
lea edx, [esp + 0x1a0]
lea ecx, [esp + 0x30]
call fcn.101efe10
push esi
mov edx, edi
lea ecx, [esp + 0x8c]
call fcn.10256a40
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1a4]
add esp, 4
lea ecx, [esp + 0x88]
push 0x10
push eax
call fcn.10256ac0
mov edx, 1
add esp, 8
mov dword [esp + 0x20], edx
lea ecx, [ecx]
xor eax, eax
test esi, esi
jle 0x1020a191
jmp 0x1020a180
mov cl, byte [edi + eax]
xor cl, dl
mov byte [esp + eax + 0x1a0], cl
inc eax
cmp eax, esi
jl 0x1020a180
push esi
lea edx, [esp + 0x1a4]
lea ecx, [esp + 0x8c]
call fcn.10256a40
mov esi, dword [esp + 0x10]
add esp, 4
xor edi, edi
mov edi, edi
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
inc edx
and edx, 0xff
movzx ecx, byte [esp + edx + 0x90]
add eax, ecx
mov dword [esp + 0x10], ecx
and eax, 0xff
movzx ecx, byte [esp + eax + 0x90]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], edx
mov byte [esp + eax + 0x90], cl
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add eax, ecx
mov byte [esp + edx + 0x90], cl
and eax, 0xff
mov al, byte [esp + eax + 0x90]
xor byte [esi + edi], al
inc edi
cmp edi, 0x10
jb 0x1020a1b0
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
inc edx
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], edx
cmp edx, 0x13
jle 0x1020a170
mov eax, dword [esp + 0xc]
movdqu xmm0, xmmword [0x10369394]
mov edi, dword [esp + 0x18]
movdqu xmmword [eax + 0x10], xmm0
cmp dword [edi + 0x20], 5
mov esi, dword [ebp + 0xc]
jne 0x1020a275
mov ecx, dword [esp + 0x1c]
mov edx, edi
push eax
push 0
push esi
push dword [esp + 0x20]
call fcn.10209880
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp dword [edi + 0x20], 6
jne 0x1020a310
mov edx, dword [esp + 0x14]
mov ecx, 0x7f
push eax
cmp esi, ecx
lea eax, [edi + 0x74]
push 0
cmovg esi, ecx
mov ecx, dword [esp + 0x24]
push eax
push esi
call fcn.10209b00
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1dc]
push eax
push 0
lea eax, [edi + 0x7c]
push eax
push esi
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.10209b00
xorps xmm0, xmm0
lea edx, [esp + 0x1ec]
push 0x100
lea ecx, [esp + 0xac]
movdqa xmmword [esp + 0x1c4], xmm0
call fcn.10254a00
add esp, 0x24
test eax, eax
jne 0x1020a324
lea eax, [edi + 0xcc]
xor edx, edx
push eax
lea eax, [edi + 0xa4]
push eax
lea eax, [esp + 0x1a8]
push eax
push 0x20
lea ecx, [esp + 0x98]
call fcn.10255740
add esp, 0x10
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret
push str.AES_key_init_failed__keylen256_
push 1
push 0x229
push str...mupdf_sourcepdfpdf_crypt.c
push esi
call fcn.101df770
int3