Function at 0x4a2550
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x40
mov dword [esp + 0x1c], 0
lea edi, [esp + 0x1c]
mov esi, dword [esp + 0x54]
mov byte [esp + 0x27], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x26], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x23], 0
movsd dword es:[edi], dword [esi]
add dword [esp + 0x54], 4
cmp dword [esp + 0x1c], 0
jle 0x4a2999
lea edi, [esp + 0x1a]
mov esi, dword [esp + 0x54]
mov byte [esp + 0x26], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x23], 0
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x14]
add esi, 2
push 0x198
movsd dword es:[edi], dword [esi]
call fcn.0059cc90
mov esi, dword [esp + 0x58]
pop ecx
lea edi, [esp + 0x28]
add esi, 6
mov dword [esp + 4], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x28]
mov dword [esp + 8], eax
add dword [esp + 8], 4
push dword [esp + 8]
call fcn.004b9ed0
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x54]
add edi, 0x170
add esi, 0x1e
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x28]
add esi, 0x22
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0x128
push dword [esp + 0xc]
call fcn.004b9ed0
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x54]
add edi, 0x174
add esi, 0x3a
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x21]
add esi, 0x3b
movsb byte es:[edi], byte [esi]
movzx ecx, byte [esp + 0x21]
mov ebx, dword [esp + 4]
add ebx, 0x175
mov al, byte [ebx]
and ecx, 1
and cl, 1
and al, 0xfe
or al, cl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x22]
add esi, 0x3c
movsb byte es:[edi], byte [esi]
movzx edx, byte [esp + 0x22]
mov al, byte [ebx]
and al, 0xfd
and edx, 1
and dl, 1
add dl, dl
or al, dl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x23]
add esi, 0x3d
movsb byte es:[edi], byte [esi]
movzx ecx, byte [esp + 0x23]
mov al, byte [ebx]
and al, 0xfb
and ecx, 1
and cl, 1
shl cl, 2
or al, cl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x24]
add esi, 0x3e
movsb byte es:[edi], byte [esi]
movzx edx, byte [esp + 0x24]
mov al, byte [ebx]
and al, 0xf7
and edx, 1
and dl, 1
shl dl, 3
or al, dl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x25]
add esi, 0x3f
movsb byte es:[edi], byte [esi]
movzx ecx, byte [esp + 0x25]
mov al, byte [ebx]
and al, 0xef
and ecx, 1
and cl, 1
shl cl, 4
or al, cl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x26]
add esi, 0x40
movsb byte es:[edi], byte [esi]
movzx edx, byte [esp + 0x26]
mov al, byte [ebx]
and al, 0xdf
and edx, 1
and dl, 1
shl dl, 5
or al, dl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x27]
add esi, 0x41
movsb byte es:[edi], byte [esi]
movzx ecx, byte [esp + 0x27]
mov al, byte [ebx]
and al, 0xdf
and ecx, 1
and cl, 1
shl cl, 5
or al, cl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 4]
add esi, 0x42
add edi, 0x178
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x54]
add edi, 0x17c
add esi, 0x46
movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x54]
add edi, 0x17d
add esi, 0x47
movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x54]
add edi, 0x184
add esi, 0x48
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x54]
add edi, 0x50
add esi, 0x4c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x880e28]
mov esi, dword [esp + 0x14]
mov edi, ecx
sar esi, 8
mov edx, esi
add dword [esp + 0x54], 0x54
mov ebp, dword [edi + 4]
movzx eax, byte [ebp + edx]
and eax, 0x80
je 0x4a27d8
xor edx, edx
jmp 0x4a27e0
imul edx, edx, 0x19c
add edx, dword [ecx]
test edx, edx
je 0x4a280f
movzx eax, byte [ebp + esi]
mov edi, dword [0x880e28]
and eax, 0x80
je 0x4a2800
xor esi, esi
jmp 0x4a2808
imul esi, esi, 0x19c
add esi, dword [edi]
push esi
call fcn.004f45a0
pop ecx
mov eax, dword [esp + 0x14]
push eax
push 0x198
call fcn.004bae80
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4a2837
movsx eax, word [esp + 0x1a]
mov ecx, esi
push 0
push eax
call fcn.004bace0
mov esi, eax
lea ecx, [esi + 4]
push dword [esp + 8]
call fcn.004b8f40
mov eax, dword [esp + 4]
fld dword [eax + 0x170]
fstp dword [esi + 0x170]
lea ecx, [esi + 0x128]
push dword [esp + 0xc]
call fcn.004b8f40
mov eax, dword [esp + 4]
push esi
mov al, byte [eax + 0x174]
mov byte [esi + 0x174], al
mov dl, byte [ebx]
mov al, byte [esi + 0x175]
and dl, 1
and dl, 1
and al, 0xfe
or al, dl
mov byte [esi + 0x175], al
mov cl, byte [ebx]
shr cl, 1
mov al, byte [esi + 0x175]
and cl, 1
and al, 0xfd
and cl, 1
add cl, cl
or al, cl
mov byte [esi + 0x175], al
mov dl, byte [ebx]
shr dl, 2
mov al, byte [esi + 0x175]
and dl, 1
and al, 0xfb
and dl, 1
shl dl, 2
or al, dl
mov byte [esi + 0x175], al
mov cl, byte [ebx]
shr cl, 3
mov al, byte [esi + 0x175]
and cl, 1
and al, 0xf7
and cl, 1
shl cl, 3
or al, cl
mov byte [esi + 0x175], al
mov dl, byte [ebx]
shr dl, 4
mov al, byte [esi + 0x175]
and dl, 1
and al, 0xef
and dl, 1
shl dl, 4
or al, dl
mov byte [esi + 0x175], al
mov cl, byte [ebx]
shr cl, 5
mov al, byte [esi + 0x175]
and cl, 1
and al, 0xdf
and cl, 1
shl cl, 5
or al, cl
mov byte [esi + 0x175], al
mov eax, dword [esp + 8]
fld dword [eax + 0x178]
fstp dword [esi + 0x178]
mov eax, dword [esp + 8]
mov al, byte [eax + 0x17c]
mov byte [esi + 0x17c], al
mov eax, dword [esp + 8]
mov al, byte [eax + 0x17d]
mov byte [esi + 0x17d], al
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x184]
mov dword [esi + 0x184], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [eax + 0x54]
mov dword [esi + 0x54], eax
mov al, byte [esi + 0x52]
and al, 0xf7
mov byte [esi + 0x52], al
inc dword [esp + 0x14]
call fcn.004ae930
pop ecx
push dword [esp + 4]
call fcn.005a3380
mov eax, dword [esp + 0x14]
pop ecx
cmp eax, dword [esp + 0x1c]
jl 0x4a25a3
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret