Function at 0x53b268
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405110
xor eax, eax
push ebp
push 0x53b520
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404c60
mov eax, dword [ebp - 4]
call fcn.00404f28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, 3
cdq
idiv ecx
test edx, edx
jne 0x53b2c7
mov eax, dword [ebp - 8]
mov ecx, 3
cdq
idiv ecx
jmp 0x53b2d3
mov eax, dword [ebp - 8]
mov ecx, 3
cdq
idiv ecx
inc eax
dec eax
test eax, eax
jl 0x53b4fd
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
lea edx, [esi + esi*2]
mov eax, edx
add eax, 3
cmp eax, dword [ebp - 8]
jg 0x53b39a
mov eax, edx
inc eax
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + eax - 1]
shr eax, 2
mov ecx, dword [0x74aec0]
mov al, byte [ecx + eax]
mov byte [ebp - 9], al
lea eax, [esi + esi*2]
inc eax
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax - 1]
shl eax, 4
and al, 0x30
add edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx - 1]
shr edx, 4
or al, dl
and eax, 0xff
mov edx, dword [0x74aec0]
mov al, byte [edx + eax]
mov byte [ebp - 0xa], al
lea eax, [esi + esi*2]
add eax, 2
mov edx, dword [ebp - 4]
mov al, byte [edx + eax - 1]
shl eax, 2
and al, 0x3c
lea edx, [esi + esi*2]
add edx, 3
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
xor ecx, ecx
mov cl, dl
shr ecx, 6
or al, cl
and eax, 0xff
mov ecx, dword [0x74aec0]
mov al, byte [ecx + eax]
mov byte [ebp - 0xb], al
lea eax, [esi + esi*2]
add eax, 3
mov ecx, dword [ebp - 4]
mov eax, edx
and al, 0x3f
and eax, 0xff
mov edx, dword [0x74aec0]
mov al, byte [edx + eax]
mov byte [ebp - 0xc], al
jmp 0x53b45b
mov eax, edx
add eax, 2
cmp eax, dword [ebp - 8]
jg 0x53b41a
inc edx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx - 1]
shr eax, 2
mov edx, dword [0x74aec0]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
lea eax, [esi + esi*2]
inc eax
mov edx, dword [ebp - 4]
mov al, byte [edx + eax - 1]
shl eax, 4
and al, 0x30
lea edx, [esi + esi*2]
add edx, 2
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
and eax, 0xff
mov ecx, dword [0x74aec0]
mov al, byte [ecx + eax]
mov byte [ebp - 0xa], al
lea eax, [esi + esi*2]
add eax, 2
mov ecx, dword [ebp - 4]
mov eax, edx
shl eax, 2
and al, 0x3c
and eax, 0xff
mov edx, dword [0x74aec0]
mov al, byte [edx + eax]
mov byte [ebp - 0xb], al
mov byte [ebp - 0xc], 0x3d
jmp 0x53b45b
inc edx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx - 1]
shr eax, 2
mov edx, dword [0x74aec0]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
lea eax, [esi + esi*2]
inc eax
mov edx, dword [ebp - 4]
mov al, byte [edx + eax - 1]
shl eax, 4
and al, 0x30
and eax, 0xff
mov edx, dword [0x74aec0]
mov al, byte [edx + eax]
mov byte [ebp - 0xa], al
mov byte [ebp - 0xb], 0x3d
mov byte [ebp - 0xc], 0x3d
push dword [ebx]
lea eax, [ebp - 0x14]
mov dl, byte [ebp - 9]
call fcn.00404e40
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 0xa]
call fcn.00404e40
push dword [ebp - 0x18]
mov eax, ebx
mov edx, 3
call fcn.00404fe8
mov eax, dword [ebx]
call fcn.00404f28
add eax, 2
mov ecx, 0x4e
cdq
idiv ecx
test edx, edx
jne 0x53b4a7
mov eax, ebx
mov edx, 0x53b538
call fcn.00404f30
push dword [ebx]
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0xb]
call fcn.00404e40
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
mov dl, byte [ebp - 0xc]
call fcn.00404e40
push dword [ebp - 0x20]
mov eax, ebx
mov edx, 3
call fcn.00404fe8
mov eax, dword [ebx]
call fcn.00404f28
add eax, 2
mov ecx, 0x4e
cdq
idiv ecx
test edx, edx
jne 0x53b4f3
mov eax, ebx
mov edx, 0x53b538
call fcn.00404f30
inc esi
dec dword [ebp - 0x10]
jne 0x53b2e2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b527
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404c84
lea eax, [ebp - 4]
call fcn.00404c60
ret