Function at 0x1001a390
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xa8
mov eax, dword [0x101be8d0]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xbc]
cdq
push ebx
mov ebx, dword [esp + 0xb8]
and edx, 7
push ebp
mov ebp, dword [esp + 0xb4]
add eax, edx
sar eax, 3
push esi
mov esi, dword [esp + 0xbc]
mov dword [ecx + 8], eax
push edi
mov edi, dword [esp + 0xd4]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
call fcn.1009df40
add esp, 4
cmp eax, 1
je 0x1001a425
push str.Error_initializing_MD5_hashing_engine
push 0x326
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea edx, [esp + 0x24]
push edx
call fcn.10104e7f
push 0x20
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.1009e8c0
add esp, 0xc
cmp eax, 1
je 0x1001a46e
push str.Error_MD5_hashing_data
push 0x329
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea edx, [esp + 0x24]
push edx
call fcn.10104e7f
push 0x20
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.1009e8c0
add esp, 0xc
cmp eax, 1
je 0x1001a4b7
push str.Error_MD5_hashing_data
push 0x32c
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea edx, [esp + 0x24]
push edx
call fcn.10104e7f
mov eax, dword [esp + 0xc8]
mov ecx, eax
mov edx, eax
mov byte [esp + 0x1c], al
sar eax, 0x18
sar ecx, 8
mov byte [esp + 0x1f], al
push 4
lea eax, [esp + 0x20]
mov byte [esp + 0x21], cl
push eax
lea ecx, [esp + 0x50]
sar edx, 0x10
push ecx
mov byte [esp + 0x2a], dl
call fcn.1009e8c0
add esp, 0xc
cmp eax, 1
je 0x1001a528
push str.Error_MD5_hashing_data
push 0x335
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea eax, [esp + 0x24]
push eax
call fcn.10104e7f
mov ebp, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x10], esi
cmp ebp, esi
jbe 0x1001a5bf
push ebp
call fcn.10104f55
add esp, 4
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebp, ebp
jbe 0x1001a577
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 0x14]
jbe 0x1001a55e
call fcn.10104a22
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x18], 0x10
jb 0x1001a569
mov eax, dword [ecx + 4]
jmp 0x1001a56c
lea eax, [ecx + 4]
mov dl, byte [eax + esi]
mov byte [esi + ebx], dl
inc esi
cmp esi, ebp
jb 0x1001a550
push ebp
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.1009e8c0
add esp, 0xc
cmp eax, 1
je 0x1001a5bf
push str.Error_MD5_hashing_data
push 0x343
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea edx, [esp + 0x24]
push edx
call fcn.10104e7f
cmp byte [esp + 0xd8], 0
jne 0x1001a5ef
mov al, 0xff
mov byte [esp + 0x14], al
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
push 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.1009e8c0
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.1009e9a0
add esp, 8
cmp eax, 1
je 0x1001a63d
push str.Error_MD5_hashing_data
push 0x350
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea edx, [esp + 0x24]
push edx
call fcn.10104e7f
mov eax, dword [esp + 0xd0]
cmp eax, 3
je 0x1001a64e
cmp eax, 4
jne 0x1001a6b0
xor ebx, ebx
lea eax, [esp + 0x48]
push eax
call fcn.1009df40
add esp, 4
cmp eax, 1
jne 0x1001a707
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.1009e8c0
add esp, 0xc
cmp eax, 1
jne 0x1001a73b
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.1009e9a0
add esp, 8
cmp eax, 1
jne 0x1001a76f
inc ebx
cmp ebx, 0x32
jl 0x1001a650
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0xa8]
push edx
lea ebx, [esi + 0xb0]
push ebx
call fcn.10105350
mov eax, dword [esp + 0xdc]
add esp, 0xc
cmp eax, 3
je 0x1001a7a3
cmp eax, 4
je 0x1001a7a3
mov eax, dword [esi + 8]
push 0x20
push edi
push 0x20
push 0x101b2640
push eax
push ebx
lea ecx, [esi + 0x100]
call fcn.100190a0
jmp 0x1001a965
push str.Error_initializing_MD5_hashing_engine
push 0x359
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea edx, [esp + 0x24]
push edx
call fcn.10104e7f
push str.Error_MD5_hashing_data
push 0x35c
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea ecx, [esp + 0x24]
push ecx
call fcn.10104e7f
push str.Error_MD5_hashing_data
push 0x35f
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea eax, [esp + 0x24]
push eax
call fcn.10104e7f
lea ecx, [esp + 0x48]
push ecx
call fcn.1009df40
add esp, 4
cmp eax, 1
je 0x1001a7e9
push str.Error_initializing_MD5_hashing_engine
push 0x36a
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea eax, [esp + 0x24]
push eax
call fcn.10104e7f
push 0x20
lea ecx, [esp + 0x4c]
push 0x101b2640
push ecx
call fcn.1009e8c0
add esp, 0xc
cmp eax, 1
je 0x1001a836
push str.Error_MD5_hashing_data
push 0x36d
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea eax, [esp + 0x24]
push eax
call fcn.10104e7f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001a886
push ebp
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.1009e8c0
add esp, 0xc
cmp eax, 1
je 0x1001a886
push str.Error_MD5_hashing_data
push 0x372
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea eax, [esp + 0x24]
push eax
call fcn.10104e7f
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.1009e9a0
add esp, 8
cmp eax, 1
je 0x1001a8d4
push str.Error_MD5_hashing_data
push 0x376
push str.......podofo_0.9.6_src_basePdfEncrypt.cpp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 8
call fcn.10021720
push 0x101a8490
lea ecx, [esp + 0x24]
push ecx
call fcn.10104e7f
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [edi], edx
mov edx, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
xor eax, eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
xor ebx, ebx
jmp 0x1001a914
mov esi, dword [esp + 0x18]
mov ebp, dword [esi + 8]
mov ecx, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
jle 0x1001a945
mov esi, dword [ecx + 8]
jmp 0x1001a930
mov dl, byte [ecx + eax + 0xb0]
xor dl, bl
mov byte [esp + eax + 0xa4], dl
inc eax
cmp eax, esi
jl 0x1001a930
push 0x10
push edi
push 0x10
push edi
push ebp
lea eax, [esp + 0xb8]
push eax
add ecx, 0x100
call fcn.100190a0
inc ebx
cmp ebx, 0x14
jl 0x1001a910
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001a976
push eax
call fcn.10104f4a
add esp, 4
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101044ca
add esp, 0xa8
ret 0x20