Function at 0xa65d7a
Capabilities:
Encode data using base64
Encrypt data using chaskey

Disassembly:
inc esp
mov dword [esi + ecx - 0x41b2], esi
inc edi
movzx eax, byte [edx + eax*2 - 0x8366]
inc esp
xor al, bl
inc ecx
neg al
inc ecx
not al
dec esp
lea esi, [esi*4 + 0x641d7335]
inc esp
movsx ebp, dh
inc ecx
ror al, 1
dec eax
xor edx, dword [esp + esi*4 - 0x106c8]
inc ecx
adc al, 0xb8
dec eax
bt edx, edx
imul eax, eax
inc ecx
xor bl, al
dec esi
lea eax, [esp + eax + 8]
neg word [esp + eax*2 - 0x40f92b83]
inc edx
mov edx, dword [eax + eax - 0x207c95c4]
dec esp
lea edi, [esi + 0x7d0d288d]
inc ecx
mov dword [ecx + eax*2 - 0x40f92b88], edx
dec ecx
add ebp, 0xa4276a85
inc ebp
movzx esp, byte [edx + eax*2 - 0x40f92b8b]
inc ecx
xor dh, ch
dec eax
shr ebp, 1
inc esp
xor ah, bl
inc ecx
neg ah
dec dword [esp + eax - 0x207c95c2]
dec eax
add dword [esp + eax - 0x207c95c4], 0x8296ff85
inc ecx
not ah
movzx ecx, bp
movzx edx, si
sar dword [esp + eax - 0x207c95c4], cl
inc ecx
ror ah, 1
dec eax
and dword [esp + eax*2 - 0x40f92b88], edx
jge 0xea56f2
lea edx, [eax*8 - 0x74c118f8]
lea esi, [esi + eax*2 + 8]
sal dword [esp + eax*2 + 4], 0xec
mov dword [esp + eax], eax
not ax
xor ecx, ebx
xor dword [esp + eax - 0xffff], edx
inc ecx
rol ecx, 1
shr eax, 0x33
xor ecx, 0x9f156bae
or dword [esp + eax + 4], 0xab3aab17
rol ecx, 3
add eax, eax
push eax
dec ecx
cbw
xor eax, 0x9b02281
xor ecx, 0x2bb07120
sal ax, 0x66
ror ecx, 1
xchg edx, eax
xor ebx, ecx
shr ax, 0xc6
mov dword [ebp + edx*8 - 0x4d850208], ecx
adc edx, 0xff819396
lea ebp, [edx + ebp - 0x93233de]
mul byte [esp + edx - 0x93233d1]
cdq
pop ecx
pop eax
pop eax
jo fcn.00989a2c
inc esp
jno 0x93c6c6
sub cl, dl
adc dword [ebp - 0x7eea9f13], edx
add esi, 4
shld dx, ax, cl
invalid
lodsb al, byte [esi]
bswap edx
or ax, 0x9e92
xor ax, cx
ror edx, 1
shr al, 0xc5
setb cl
push ecx
sbb edx, 0xc60b1ba4
pop eax
xor edx, 0x9385ca26
add edx, 0xf03e56a4
xor ebx, edx
btc ecx, 0x8e
add edi, edx
jmp edi
lea eax, [eax + edx*2 + 0x1a64da1]
lea ebp, [ebp + edx*8 - 0x7fffa]
btr edx, eax
mov word [ebp + edx*2 - 0x1fffe], cx
jae 0xb6b861
inc ecx
xor esp, 0x46210c2f
inc ecx
sub esp, 0xfd9cb5ba
inc ecx
rol dh, 3
sbb word [esp + esi*2 - 0x82fe], dx
dec eax
mov dword [esp + esi*4 - 0x1060c], ebx
inc esp
xor dword [esp + esi*2 - 0x8302], esp
inc cx
div ebx
dec eax
mov ebx, dword [esp + esi - 0x417d]
dec ebp
arpl sp, sp
dec ecx
add edi, esp
inc ecx
push edi
inc ebp
xadd dh, bl
inc ecx
pop edi
inc ecx
pop esi
pop edx
jnp fcn.00987526
neg dword [esp]
jg 0x964f1c
dec eax
lea ecx, [esp + ecx + 8]
jmp 0x93c54f
not cx
mov byte ss:[eax], dl
lea eax, [ecx*8 - 0x87c1d44]
mov edx, dword [esi]
xor ecx, eax
call fcn.00a5f02d
mov edx, 0x44867c97
sar dl, 0x44
dec esp
lea esp, [edx + edx*4 - 0x13f99055]
dec ebp
lea edx, [edx + edx - 0x44867cfd]
inc esi
mov esi, dword [edx + edx - 0x44867cf9]
dec esi
lea edi, [0x83046d1b]
inc ecx
mov ebp, 0xf22473a9
inc esp
xor esi, ebx
inc ecx
movsx eax, ah
inc ecx
neg esi
inc sp
xadd edx, edi
inc ecx
xor esi, 0xe173598
xor eax, edx
inc ebp
movsx eax, bh
inc ecx
rol esi, 2
inc ecx
movsx ecx, sp
rol ecx, cl
ror cx, 0x68
inc ecx
neg esi
dec edx
lea ebp, [0x148ced8b]
call fcn.00a146f1
mov ecx, 0x81087ebd
movzx ecx, byte [esi]
mov edx, 0x679bba03
sar edx, 0x8e
lea esi, [esi + edx*2 - 0x33cdb]
ror dx, 0xe
dec dx
ror edx, 0xad
xor cl, bl
movsx eax, dx
shl eax, 0xbb
ror cl, 1
sal ax, 0xe1
lea edx, [edx + 0x1fbd21b5]
sbb cl, 0x21
cwde
and eax, 0xb82d0f18
imul edx
xor cl, 0xac
and edx, edx
cwd
add edx, edx
dec cl
xor eax, edx
ror eax, 0x61
dec dx
xor bl, cl
jmp 0x96327a
dec eax
mov dword [esp], 0xfa226d11
inc ecx
xor ecx, eax
and ecx, 0xff
inc ecx
mov ecx, dword [ebx + ecx*4]
dec eax
sal dword [esp], 4
jnp 0xb87948
sub ebp, 4
mov eax, 0x31a1fb95
mov edx, eax
cbw
mov ecx, dword [eax + ebp - 0x31a1ff95]
sub eax, 0x3a9b6009
jno 0x9a3600
inc ecx
movsx esi, bl
inc ebp
mov edi, ebx
inc ebx
mov ecx, dword [edx + ebx - 0x3d82a137]
cwde
dec edx
lea eax, [eax + edi + 0x1a17c884]
dec eax
cdq
xor ecx, ebx
inc ebp
mov eax, edi
xor ecx, 0x728d54bf
rol ecx, 2
dec ecx
neg ebx
dec ecx
bswap ebp
jne 0xab092b
not ecx
call fcn.00b68fb1
mov eax, dword [ebp]
mov ecx, 0xf900dd06
movzx edx, cl
inc cl
mov dl, byte [ebp + edx - 2]
jno 0xa08084
lea ecx, [edx + edx*4 + 0x78979785]
mov ecx, dword [edx + esi - 0xffff]
sar edx, 0xe9
lea esi, [esi + edx*2 - 0xfa]
xor ecx, ebx
add eax, 0xc8b13910
call fcn.00b7806f
inc ecx
shr eax, 8
jmp 0xa02324
push ecx
inc ecx
adc ah, 0xb8
inc ecx
xor bl, ah
bt cx, 0x2f
shl dl, 0xe4
dec esi
lea esp, [esp + 0x10]
not ax
inc edx
mov edx, dword [eax - 0x207c6a3b]
dec eax
xor ebp, 0x7d07092d
jnp 0xa4bd09
inc sp
sbb dword [esp + esi*4 - 0x10610], esi
inc ecx
mov dword [ecx + eax*2 - 0x40f8d47a], edx
dec ebp
lea ecx, [ecx + eax - 0x207c6a3f]
cbw
dec eax
imul ecx
inc esi
mov esp, dword [ecx + edx - 0x4e3d]
inc esp
mov ebx, ecx
inc ecx
btc ebx, 0xba
shr byte [esp + ecx - 0x4e32], 0x64
dec esi
lea edx, [esi + edx - 0x418c]
inc esp
xor esp, ebx
dec ecx
shr edi, 0x83
inc esp
adc esp, edx
dec esp
xor dword [esp + esi*2 - 0x8302], ebx
dec esp
adc dword [esp + esi - 0x417d], esi
inc ecx
rol esp, 3
jmp 0x9c3dbd