Function at 0x4bef90
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x40
mov dword [esp + 0x18], 0
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x54]
mov word [esp + 0x26], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x21], 0
movsd dword es:[edi], dword [esi]
add dword [esp + 0x54], 4
cmp dword [esp + 0x18], 0
jle 0x4bf42c
nop
lea edi, [esp + 0x16]
mov esi, dword [esp + 0x54]
mov byte [esp + 0x23], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x20], 0
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x10]
add esi, 2
push 0x194
movsd dword es:[edi], dword [esi]
call fcn.006402a0
mov esi, dword [esp + 0x58]
pop ecx
lea edi, [esp + 0x28]
add esi, 6
mov dword [esp], 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]
lea ecx, [esp + 0x28]
mov dword [esp + 4], eax
add dword [esp + 4], 4
push dword [esp + 4]
call fcn.004de610
mov edi, dword [esp]
mov esi, dword [esp + 0x54]
add edi, 0x168
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]
lea ecx, [esp + 0x28]
mov dword [esp + 8], eax
add dword [esp + 8], 0x120
push dword [esp + 8]
call fcn.004de610
mov edi, dword [esp]
mov esi, dword [esp + 0x54]
add edi, 0x16c
add esi, 0x3a
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x1e]
add esi, 0x3b
movsb byte es:[edi], byte [esi]
movzx edx, byte [esp + 0x1e]
mov ebx, dword [esp]
add ebx, 0x16d
mov al, byte [ebx]
and edx, 1
and dl, 1
and al, 0xfe
or al, dl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x1f]
add esi, 0x3c
movsb byte es:[edi], byte [esi]
movzx ecx, byte [esp + 0x1f]
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 + 0x20]
add esi, 0x3d
movsb byte es:[edi], byte [esi]
movzx edx, byte [esp + 0x20]
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 + 0x21]
add esi, 0x3e
movsb byte es:[edi], byte [esi]
movzx ecx, byte [esp + 0x21]
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 + 0x22]
add esi, 0x3f
movsb byte es:[edi], byte [esi]
movzx edx, byte [esp + 0x22]
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 + 0x23]
add esi, 0x40
movsb byte es:[edi], byte [esi]
movzx ecx, byte [esp + 0x23]
mov al, byte [ebx]
and al, 0xbf
and ecx, 1
and cl, 1
shl cl, 6
or al, cl
mov byte [ebx], al
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x24]
add esi, 0x41
movsb byte es:[edi], byte [esi]
movzx edx, byte [esp + 0x24]
mov eax, dword [esp]
mov cl, byte [eax + 0x52]
and edx, 1
and cl, 0xf7
and dl, 1
shl dl, 3
or cl, dl
mov byte [eax + 0x52], cl
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x26]
add esi, 0x42
movsw word es:[edi], word [esi]
mov edx, dword [esp + 0x26]
mov word [eax + 0x170], dx
mov esi, dword [esp + 0x54]
lea edi, [esp + 0x25]
add esi, 0x44
movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x25]
mov byte [eax + 0x16f], cl
mov esi, dword [esp + 0x54]
lea edi, [eax + 0x174]
add esi, 0x46
movsd dword es:[edi], dword [esi]
mov edi, dword [esp]
mov esi, dword [esp + 0x54]
add edi, 0x178
add esi, 0x4a
movsb byte es:[edi], byte [esi]
mov edi, dword [esp]
mov esi, dword [esp + 0x54]
add edi, 0x179
add esi, 0x4b
movsb byte es:[edi], byte [esi]
mov edi, dword [esp]
mov esi, dword [esp + 0x54]
add edi, 0x180
add esi, 0x4c
movsd dword es:[edi], dword [esi]
mov edi, dword [esp]
mov esi, dword [esp + 0x54]
add edi, 0x50
add esi, 0x50
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x94dbe8]
mov esi, dword [esp + 0x10]
mov edi, ecx
sar esi, 8
mov edx, esi
add dword [esp + 0x54], 0x58
mov ebp, dword [edi + 4]
movzx eax, byte [ebp + edx]
and eax, 0x80
je 0x4bf250
xor edx, edx
jmp 0x4bf258
imul edx, edx, 0x1a0
add edx, dword [ecx]
test edx, edx
je 0x4bf281
movzx eax, byte [ebp + esi]
mov edi, dword [0x94dbe8]
and eax, 0x80
je 0x4bf272
xor esi, esi
jmp 0x4bf27a
imul esi, esi, 0x1a0
add esi, dword [edi]
push esi
call fcn.0053d2b0
pop ecx
mov eax, dword [esp + 0x10]
push eax
push 0x194
call fcn.004e4070
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4bf2a9
movsx eax, word [esp + 0x16]
mov ecx, esi
push 0
push eax
call fcn.004e41d0
mov esi, eax
lea ecx, [esi + 4]
push dword [esp + 4]
call fcn.004df8e0
mov eax, dword [esp]
fld dword [eax + 0x168]
fstp dword [esi + 0x168]
lea ecx, [esi + 0x120]
push dword [esp + 8]
call fcn.004df8e0
mov eax, dword [esp]
push esi
mov al, byte [eax + 0x16c]
mov byte [esi + 0x16c], al
mov dl, byte [ebx]
mov al, byte [esi + 0x16d]
and dl, 1
and dl, 1
and al, 0xfe
or al, dl
mov byte [esi + 0x16d], al
mov cl, byte [ebx]
shr cl, 2
mov al, byte [esi + 0x16d]
and cl, 1
and al, 0xfb
and cl, 1
shl cl, 2
or al, cl
mov byte [esi + 0x16d], al
mov dl, byte [ebx]
shr dl, 3
mov al, byte [esi + 0x16d]
and dl, 1
and al, 0xf7
and dl, 1
shl dl, 3
or al, dl
mov byte [esi + 0x16d], al
mov cl, byte [ebx]
shr cl, 4
mov al, byte [esi + 0x16d]
and cl, 1
and al, 0xef
and cl, 1
shl cl, 4
or al, cl
mov byte [esi + 0x16d], al
mov dl, byte [ebx]
shr dl, 5
mov al, byte [esi + 0x16d]
and dl, 1
and al, 0xdf
and dl, 1
shl dl, 5
or al, dl
mov byte [esi + 0x16d], al
mov cl, byte [ebx]
shr cl, 6
mov al, byte [esi + 0x16d]
and cl, 1
and al, 0xbf
and cl, 1
shl cl, 6
or al, cl
mov byte [esi + 0x16d], al
mov eax, dword [esp + 4]
fld dword [eax + 0x174]
fstp dword [esi + 0x174]
mov eax, dword [esp + 4]
mov al, byte [eax + 0x178]
mov byte [esi + 0x178], al
mov eax, dword [esp + 4]
mov al, byte [eax + 0x179]
mov byte [esi + 0x179], al
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x180]
mov dword [esi + 0x180], eax
mov eax, dword [esp + 4]
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
mov eax, dword [esp + 4]
mov ax, word [eax + 0x170]
mov word [esi + 0x170], ax
mov eax, dword [esp + 4]
mov al, byte [eax + 0x16f]
mov byte [esi + 0x16f], al
inc dword [esp + 0x10]
call fcn.004db410
pop ecx
push dword [esp]
call fcn.00645c00
mov eax, dword [esp + 0x10]
pop ecx
cmp eax, dword [esp + 0x18]
jl 0x4beff0
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret