Function at 0x4b8a20
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4f5b4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x4c], ebx
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0xd4], 1
mov byte [esp + 0x54], al
call fcn.004c8bd0
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 2
call fcn.004c8bd0
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 3
mov byte [esp + 0x2c], dl
call fcn.004c8bd0
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 4
mov byte [esp + 0x1c], al
call fcn.004c8bd0
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x7c], cl
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 5
call fcn.004c8bd0
mov byte [esp + 0xd0], 6
xor ebp, ebp
mov dword [esp + 0x48], ebx
jmp 0x4b8ae0
mov ebp, dword [esp + 0x60]
xor ebx, ebx
mov edi, 0x53f08c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x53f08c
lea ecx, [esp + 0xe8]
call fcn.004bb4b0
mov esi, eax
cmp esi, 0xffffffff
je 0x4b8e89
cmp esi, ebp
je 0x4b8b5b
mov edx, esi
lea eax, [esp + 0x88]
sub edx, ebp
lea ecx, [esp + 0xdc]
push edx
push ebp
push eax
call fcn.004baf70
mov ecx, dword [0x51fe0c]
mov byte [esp + 0xd0], 8
push ecx
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.004bb1d0
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 6
call fcn.004c8bd0
add esi, 2
push 1
lea edx, [esp + 0x17]
push esi
push edx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1f], 0x3f
call fcn.004bb4b0
mov esi, eax
cmp esi, 0xffffffff
je 0x4b8ee1
inc esi
push 1
lea eax, [esp + 0xbc]
push esi
push eax
lea ecx, [esp + 0xe8]
call fcn.004baf70
mov ecx, dword [0x51fe0c]
mov byte [esp + 0xd0], 9
push ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.004bb1d0
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xd4], 6
call fcn.004c8bd0
mov edi, 0x53f148
or ecx, 0xffffffff
xor eax, eax
add esi, 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x53f148
lea ecx, [esp + 0xe8]
call fcn.004bb4b0
cmp eax, 0xffffffff
jne 0x4b8bfb
mov eax, dword [esp + 0xe4]
lea edx, [eax + 2]
sub eax, esi
push eax
lea eax, [esp + 0xac]
push esi
push eax
lea ecx, [esp + 0xe8]
mov dword [esp + 0x6c], edx
call fcn.004baf70
mov ecx, dword [0x51fe0c]
mov byte [esp + 0xd0], 0xa
push ecx
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.004bb1d0
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], 6
call fcn.004c8bd0
mov edx, dword [esp + 0x40]
push edx
call fcn.004d2f27
mov ebp, eax
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], ebp
je 0x4b8c74
lea ecx, [esp + 0x50]
call fcn.004bb5b0
mov eax, dword [esp + 0x54]
jmp 0x4b8c79
mov eax, 0x51fe08
movsx eax, byte [eax]
add eax, 0xffffffbe
cmp eax, 0x2f
ja case.0x4b8c90.68
xor ecx, ecx
mov cl, byte [eax + 0x4b9148]
jmp dword [ecx*4 + 0x4b913c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
test ecx, ecx
mov ebx, eax
jne 0x4b8caa
mov ecx, 0x51fe08
xor edi, edi
mov esi, ebp
test eax, eax
jle 0x4b8d24
mov al, byte [ecx]
cmp al, 0xd
je 0x4b8d1e
cmp al, 0xa
je 0x4b8d1e
movsx edx, al
movsx eax, byte [edx + 0x51fd84]
movsx edx, byte [ecx + 1]
shl eax, 0x12
inc ecx
movsx edx, byte [edx + 0x51fd84]
shl edx, 0xc
add eax, edx
inc ecx
mov edx, eax
sar edx, 0x10
mov byte [esi], dl
mov dl, byte [ecx]
inc esi
cmp dl, 0x3d
je 0x4b8d19
movsx edx, dl
movsx edx, byte [edx + 0x51fd84]
shl edx, 6
add eax, edx
inc ecx
mov edx, eax
sar edx, 8
mov byte [esi], dl
mov dl, byte [ecx]
inc esi
cmp dl, 0x3d
je 0x4b8d19
movsx edx, dl
movsx edx, byte [edx + 0x51fd84]
add eax, edx
inc ecx
mov byte [esi], al
inc esi
add edi, 4
jmp 0x4b8d20
inc ecx
inc edi
cmp edi, ebx
jl 0x4b8cb2
mov byte [esi], 0
jmp 0x4b8d9c
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
test esi, esi
mov ebx, eax
jne 0x4b8d3c
mov esi, 0x51fe08
mov edi, ebp
xor ebp, ebp
test eax, eax
mov dword [esp + 0x64], esi
jle 0x4b8d95
push 3
push 0x53f144
push esi
call fcn.004d1ad0
add esp, 0xc
test eax, eax
jne 0x4b8d64
add esi, 3
add ebp, 3
jmp 0x4b8d91
mov al, byte [esi]
cmp al, 0x3d
jne 0x4b8d8c
cmp byte [esi + 1], 0x3d
je 0x4b8e6d
push edi
push 0x53f13c
push esi
call fcn.004d39fd
add esp, 0xc
inc edi
add esi, 3
add ebp, 3
jmp 0x4b8d91
mov byte [edi], al
inc edi
inc esi
inc ebp
cmp ebp, ebx
jl 0x4b8d48
mov byte [edi], 0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b8e0d
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
call fcn.004bbbe0
add esp, 0xc
mov ecx, dword [0x51fe0c]
mov byte [esp + 0xd0], 0xb
push ecx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.004bb1d0
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 6
call fcn.004c8bd0
mov edi, 0x5647e4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5647e4
lea ecx, [esp + 0x20]
call fcn.004bb900
lea edx, [esp + 0x28]
push ebp
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.004bbab0
add esp, 0xc
mov ecx, dword [0x51fe0c]
mov byte [esp + 0xd0], 0xc
push ecx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.004bb1d0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 6
call fcn.004c8bd0
push ebp
call fcn.004d2e3e
mov eax, dword [esp + 0x4c]
add esp, 4
inc eax
cmp eax, 0xa
mov dword [esp + 0x48], eax
jl 0x4b8ada
xor ebx, ebx
jmp 0x4b8ee1
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
push ebx
push eax
push esi
call fcn.004d2d40
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x4b8d98
mov eax, dword [esp + 0xe4]
cmp ebp, eax
je 0x4b8ee1
sub eax, ebp
lea edx, [esp + 0x68]
push eax
push ebp
push edx
lea ecx, [esp + 0xe8]
call fcn.004baf70
mov ecx, dword [0x51fe0c]
mov byte [esp + 0xd0], 7
push ecx
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.004bb1d0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 6
call fcn.004c8bd0
jmp 0x4b8ee1
push ebp
call fcn.004d2e3e
add esp, 4
cmp dword [esp + 0x30], ebx
jne 0x4b8f9b
mov esi, dword [esp + 0xd8]
mov dl, byte [esp + 0xdc]
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.004c8bd0
mov eax, dword [0x51fe0c]
lea ecx, [esp + 0xdc]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004bb1d0
mov dword [esp + 0x4c], 1
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 5
call fcn.004c8bd0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 4
call fcn.004c8bd0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 3
call fcn.004c8bd0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 2
call fcn.004c8bd0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 1
call fcn.004c8bd0
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0xd4], 0
call fcn.004c8bd0
jmp 0x4b911e
cmp dword [esp + 0x20], ebx
je 0x4b902d
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.004bbbe0
add esp, 0xc
mov edx, dword [0x51fe0c]
lea ecx, [esp + 0x28]
push edx
push ebx
push eax
mov byte [esp + 0xdc], 0xd
call fcn.004bb1d0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 6
call fcn.004c8bd0
mov edi, 0x5647e4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.004bb630
test al, al
je 0x4b902d
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x5647e4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004bf920
mov esi, dword [esp + 0xd8]
mov cl, byte [esp + 0x28]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004c8bd0
mov edx, dword [0x51fe0c]
lea eax, [esp + 0x28]
push edx
push ebx
push eax
mov ecx, esi
call fcn.004bb1d0
push 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x50], 1
mov byte [esp + 0xd4], 5
call fcn.004c8bd0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 4
call fcn.004c8bd0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 3
call fcn.004c8bd0
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x4b90bb
mov al, byte [ecx - 1]
test al, al
je 0x4b90b1
cmp al, 0xff
je 0x4b90b1
dec al
mov byte [ecx - 1], al
jmp 0x4b90bb
dec ecx
push ecx
call fcn.004e3b62
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], ebx
cmp ecx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
je 0x4b90eb
mov al, byte [ecx - 1]
test al, al
je 0x4b90e1
cmp al, 0xff
je 0x4b90e1
dec al
mov byte [ecx - 1], al
jmp 0x4b90eb
dec ecx
push ecx
call fcn.004e3b62
add esp, 4
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x54], ebx
cmp ecx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x4b911e
mov al, byte [ecx - 1]
test al, al
je 0x4b9114
cmp al, 0xff
je 0x4b9114
dec al
mov byte [ecx - 1], al
jmp 0x4b911e
dec ecx
push ecx
call fcn.004e3b62
add esp, 4
mov ecx, dword [esp + 0xc8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 0x14