Function at 0x10097db0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10131c40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x224], edi
push 0x103
lea eax, [ebp - 0x117]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [edi], vtable.TempFileStreamCache.0
mov byte [ebp - 0x118], 0
call fcn.100bac50
add esp, 0xc
mov byte [ebp - 0x220], 0
lea eax, [ebp - 0x21f]
push 0x103
push 0
push eax
call fcn.100bac50
mov eax, dword [0x1013cfb4]
add esp, 0xc
inc eax
mov ecx, 1
cmp eax, 0xffff
cmovg eax, ecx
mov dword [0x1013cfb4], eax
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x220]
push eax
push dword [0x1013cfb4]
lea eax, [ebp - 0x118]
push str.hnc.xml.pdfwriter.StreamCache_
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
sub esp, 8
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 4]
call fcn.1007c660
test eax, eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
jne 0x10097ead
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10097ebc
or eax, 4
jmp 0x10097ebc
add ecx, esi
xor eax, eax
mov edx, 4
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.1000c840
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b54bf
mov esp, ebp
pop ebp
ret

Function at 0x10098e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx]
mov edi, dword [ecx + 4]
sub edi, dword [ecx]
mov dword [ebp - 0x14], ebx
mov dl, byte [esi + 0x100]
mov al, byte [esi + 0x101]
test edi, edi
jle 0x10098ed1
movzx ecx, dl
movzx edx, al
lea esp, [esp]
lea eax, [ecx + 1]
and eax, 0x800000ff
jns 0x10098e51
dec eax
or eax, 0xffffff00
inc eax
movzx ebx, al
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
movzx eax, byte [ebx + esi]
add eax, edx
and eax, 0x800000ff
jns 0x10098e6e
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [ebx + esi]
movzx ecx, al
mov dword [ebp - 8], ecx
mov cl, byte [ecx + esi]
mov byte [ebx + esi], cl
mov ecx, dword [ebp - 8]
mov byte [ecx + esi], dl
movzx edx, byte [ebx + esi]
movzx ecx, byte [ecx + esi]
add edx, ecx
and edx, 0x800000ff
jns 0x10098e9d
dec edx
or edx, 0xffffff00
inc edx
movzx ecx, dl
mov edx, dword [ebp + 8]
mov bl, byte [ecx + esi]
mov edx, dword [edx]
mov ecx, dword [ebp - 4]
xor bl, byte [edx + ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx]
mov byte [edx + ecx], bl
inc edx
mov ecx, dword [ebp - 0xc]
cmp edx, edi
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
jl 0x10098e40
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
pop edi
pop esi
mov byte [ecx + 0x100], dl
mov ecx, dword [ebx]
pop ebx
mov byte [ecx + 0x101], al
mov esp, ebp
pop ebp
ret 8