Function at 0x10223116
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
call fcn.101ff6d5
jmp 0x101ff8cf
lea esp, [esp + 4]
jmp 0x101ffa8f
jmp 0x101ff907
jmp 0x101ff923
push ebp
jmp 0x101ff93f
jmp 0x101ff95b
mov ebp, esp
jmp 0x101ff977
jmp 0x101ff993
movzx eax, byte [ecx]
jmp 0x101ff9af
jmp 0x101ff9cb
shl eax, 0x10
jmp 0x101ff9e7
jmp 0x101ffa03
cmp dword [ebp + 0xc], 2
jmp 0x101ffa3b
jmp 0x10237196
jmp 0x101ffa57
jb 0x101ffa1f
jae 0x101ffa73
push ecx
add dword [ecx], esp
add ebx, dword [ebx + 0x799d6e0b]
fisttp dword [edx + eax*8 - 0x5b]
push esp
mov esi, 0xfd9a0490
or al, 0xe4
insb byte es:[edi], dx
jmp [edi - 0x17]
jmp 0x10234fb3
jmp 0x101ff8eb
jmp 0x101ff8ae
movzx edx, byte [ecx + 1]
jmp 0x10238685
mov edi, dword [ebp + 0xc]
jmp 0x102355a8
push 0x3e
pop eax
cmp ecx, 0x1a
jae 0x10235097
lea edx, [ecx + 0x41]
jmp 0x10235052
cmp ecx, eax
jae 0x10235107
jb 0x102350b8
pop esp
push esi
mov ecx, dword [ebp + 8]
jmp 0x102350de
cmp ecx, 0x34
jae 0x10235032
lea edx, [ecx + 0x47]
jmp 0x10235052
lea edx, [ecx - 4]
jmp 0x10235052
mov byte [ecx], dl
cmp esi, 0x1a
jae 0x10235246
lea ecx, [esi + 0x41]
jmp 0x102351a5
xor edx, edx
cmp ecx, eax
setne dl
lea edx, [edx*4 + 0x2b]
jmp 0x10235052
cmp esi, eax
jae 0x10235209
jb 0x10235227
add bh, byte [ebx - 0x17]
and al, cl
cld
inc dword [edi - 0x2a]
inc esp
and ebx, esi
sbb eax, 0x53b8e12e
push esp
dec edx
cmp dword [ebp + 0xc], 2
mov edx, dword [ebp + 8]
mov byte [edx + 1], cl
jb 0x10235295
cmp edi, 0x1a
jae 0x1023525a
jb 0x10235277
aas
scasd eax, dword es:[edi]
aas
pop edx
test eax, 0x23b33a55
inc esi
mov ch, 0x59
pop esi
nop
push 0x77
mov al, 0x57
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or byte [edx + esi - 0x6cb35bab], bl
push es
xchg esp, eax
push cs
test eax, 0x2247d74b
shr dword [esi], 1
push esp
mov ah, 0x59
dec eax
push esp
xor ecx, ecx
cmp esi, eax
jmp 0x102352fc
lea ecx, [esi - 4]
jmp 0x102351a5
cmp esi, 0x34
jae 0x10235184
lea ecx, [esi + 0x47]
jmp 0x102351a5
cmp edi, 0x34
jmp 0x10235324
lea ecx, [edi + 0x41]
jmp 0x102352be
mov byte [edx + 2], 0x3d
jmp 0x102353e1
add byte [eax], al
insd dword es:[edi], dx
pop ecx
mov byte [edx + 3], 0x3d
jmp 0x10235652
salc
bnd jbe 0x1023529c
cmp dword [esi - 0x70], 0x67
stc
int1
mov byte [edx + 2], cl
jmp 0x102353e1
dec edx
in eax, dx
retf
setne cl
lea ecx, [ecx*4 + 0x2b]
jmp 0x102351a5
or al, 0x6b
loop 0x10235384
pop ss
loop 0x10235323
jg 0x10235310
add dh, cl
sbb ebp, esp
popal
int1
nop
arpl word [ebx + 0x721b7314], ax
imul esi, dword [esi + 0x3acfa83a], 0x16800dd3
jno 0x102352b3
adc al, 0x73
sbb esi, dword [edx + 0x69]
jae 0x10235341
jb 0x10235391
mov dh, 0x3a
test al, 0xcf
cmp dl, bl
or eax, 0x80711680
je 0x102352d6
xor dword [ecx + 0x60d933c0], esp
int1
popal
add bl, dh
add al, 0x78
cmp edi, eax
jae 0x1023550e
jb 0x102354e2
imul edi, edi, 0xa0f90a6f
dec esp
jecxz 0x102353cb
push ss
in eax, 0x20
pop ebp
adc dl, bh
adc byte [ecx], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
out 0x70, al
out 0x81, al
jo 0x10235314
xor eax, 0xa25730a2
xor byte [edi - 0x5e], dl
dec eax
mov al, byte [0x3ccdaa34]
aam 0xb3
xlatb
loope 0x1023531f
lea ecx, [edi + 0x47]
dec edi
inc edi
jmp 0x102352be
imul edi, ecx, 0x65c06b98
inc ebp
xchg edi, eax
std
and eax, 0xe90c5d8b
pop ds
cld
invalid
mov ebx, dword [ebp + 0xc]
jmp 0x10234ffd
cmp dword [ebp + 0xc], 3
jmp 0x1023545d
lea ecx, [ecx*4 + 0x2b]
jmp 0x102352be
cmp ebx, 0x34
jae 0x102354ec
jb 0x10235587
xor eax, 0xbf4c25b5
imul edi, dword [esi + 3], 0xe505f693
sub eax, 0xf7ff1b0
test dword [0x83fffffe], edi
sti
sbb dh, byte [ebx - 0x2a]
jne 0x102352a0
cmp ebx, 0x1a
jae 0x1023543e
lea ecx, [ebx + 0x41]
jmp 0x102354ae
mov byte [edx + 3], cl
jmp 0x10235652
lea ecx, [edi - 4]
jmp 0x102352be
cmp ebx, eax
jae 0x102355bc
jb 0x10235699
scasb al, byte es:[edi]
sub eax, 0xd737c4bd
push ss
nop
push es
popal
nop
jns 0x1023557e
invalid
xor ecx, ecx
cmp edi, eax
setne cl
jmp 0x10235400
inc ecx
dec edx
retf
lea ecx, [ebx + 0x47]
jmp 0x102354ae
cmp dword [ebp + 0xc], 3
jne 0x102353d6
and eax, edx
mov ebx, eax
jmp 0x10234ffd
xor ecx, ecx
cmp ebx, eax
setne cl
lea ecx, [ecx*4 + 0x2b]
jmp 0x102354ae
pop edi
pop esi
pop ebx
pop ebp
ret
lea ecx, [ebx - 4]
jmp 0x102354ae
push ebx
push esi
push edi
mov ecx, eax
push 0x3f
mov esi, eax
shr ecx, 0x12
pop edx
shr esi, 0xc
and ecx, edx
and esi, edx
cmp dword [ebp + 0xc], 2
jb 0x10234fef
mov edi, eax
shr edi, 6
and edi, edx
jmp 0x102355a8
cmp dword [ebp + 0xc], 3
jne 0x1023583a
movzx ecx, byte [ecx + 2]
or eax, ecx
jmp 0x1023583a
shl edx, 8
or eax, edx
jmp 0x101ffa1f