Function at 0x40fbaa
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
movzx esi, word [0x42b894]
imul eax, esi, 0x88d216aa
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
push 3
mov dword [0x42b88c], eax
lea eax, [edx + 2]
pop ecx
xor edx, edx
imul esi, esi, 0xb71c6605
div ecx
mov cl, byte [0x42b880]
and cl, 4
mov dword [0x42b888], esi
mov ebp, eax
mov byte [0x42b8aa], cl
movzx ecx, word [0x42b8a8]
mov eax, 0x9c
shl ebp, 2
or esi, 0x45dd2742
imul ecx, eax
mov dword [esp + 0x30], ebp
mov dword [0x42b880], esi
lea eax, [ebp + 0xa]
push eax
mov word [0x42b8a8], cx
call fcn.0040570b
mov ebx, dword [0x42b880]
mov edx, 0x79c3
pop ecx
movzx ecx, word [0x42b8a8]
mov edi, eax
mov al, byte [0x42b894]
sub cx, dx
mov dword [esp + 0x10], ecx
xor al, 0xbd
movzx ecx, bx
mov dword [esp + 0x2c], edi
lea edx, [ecx + 0x15da]
test edi, edi
jne 0x40fc9d
mov al, byte [0x42b8aa]
add al, 0x68
mov byte [0x42b896], al
lea eax, [ecx + 0x2116]
and ecx, 0x9aae
mov word [0x42b8a8], ax
movzx eax, cx
or eax, 0x2486eb7e
mov word [0x42b894], cx
mov dword [0x42b88c], eax
lea eax, [ecx - 0xeb4]
mov word [0x42b884], ax
xor eax, eax
jmp 0x40fe86
movzx eax, al
mov ecx, 0xe764
xor ax, cx
mov ecx, dword [esp + 0x1c]
mov word [0x42b894], ax
movzx eax, ax
imul esi, eax, 0x471f335f
test ecx, ecx
je 0x40fe00
mov eax, dword [esp + 0x14]
lea ebp, [edi + 2]
push 3
xor edx, edx
mov dword [esp + 0x1c], 2
pop ebx
lea edi, [eax + 2]
not eax
mov dword [esp + 0x14], eax
lea eax, [ecx - 1]
div ebx
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ebx, esi
movzx edx, byte [edi - 2]
add eax, edi
or ebx, 0x1322fdeb
shl edx, 0x10
mov dword [0x42b880], ebx
mov dword [esp + 0x28], eax
cmp eax, ecx
jae 0x40fd29
mov eax, dword [esp + 0x10]
movzx esi, ax
movzx eax, byte [edi - 1]
and esi, 0x10d1160f
shl eax, 8
or esi, 0x4106c000
add edx, eax
mov eax, ebx
or eax, 0x950
mov word [esp + 0x24], ax
cmp dword [esp + 0x18], ecx
jae 0x40fd4b
lea eax, [esi - 0x7bbd]
mov word [esp + 0x24], ax
movzx eax, byte [edi]
add edx, eax
mov eax, dword [esp + 0x10]
movzx ecx, ax
mov eax, edx
shr eax, 0x12
add ecx, 0x62813076
mov dword [0x42b88c], ecx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 2], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 1], al
lea eax, [ecx - 0x1928]
mov dword [esp + 0x10], eax
lea eax, [ebx - 0x47]
movzx ecx, al
mov eax, 0x1838
imul ecx, eax
mov eax, 0x5b98
add cx, ax
mov word [0x42b894], cx
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x28], ecx
jae 0x40fdbe
mov eax, edx
shr eax, 6
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x40fdc0
mov al, 0x3d
mov byte [ebp], al
mov eax, dword [esp + 0x18]
cmp eax, ecx
jae 0x40fdd6
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x40fdd8
mov dl, 0x3d
mov byte [ebp + 1], dl
add ebp, 4
push 3
pop edx
add eax, edx
add edi, edx
sub dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
jne 0x40fcea
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov ecx, 0xf5a8
or cx, word [esp + 0x10]
mov eax, ebx
movzx edx, dx
or eax, 0xf25f
and edx, 0x508fc595
mov byte [edi + ebp], 0
mov dword [0x42b888], edx
mov word [0x42b8a8], cx
mov word [0x42b884], ax
test esi, esi
je 0x40fe6d
movzx ecx, cx
mov eax, 0x6af0
add ecx, 0x951cfda9
mov dword [esi], ebp
mov dword [0x42b88c], ecx
xor ecx, 0xa0d
add ax, cx
mov word [0x42b894], ax
mov eax, 0xabcc
add cx, ax
mov word [0x42b884], cx
movzx eax, bl
imul eax, eax, 0xf2
sub dl, 0x7f
mov byte [0x42b8aa], dl
mov byte [0x42b896], al
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret