Function at 0x459af4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x459ce2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov ecx, 3
xor edx, edx
div ecx
imul eax, eax, 3
jae 0x459b2f
call fcn.0040372c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
jae 0x459b45
call fcn.0040372c
jmp 0x459bef
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 1]
or dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 2]
or dword [ebp - 0x10], eax
add dword [ebp - 0x1c], 3
mov eax, dword [ebp - 0x10]
and eax, 0x3f
cmp eax, 0x3f
jbe 0x459b83
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx + 3], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
and eax, 0x3f
cmp eax, 0x3f
jbe 0x459ba3
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
and eax, 0x3f
cmp eax, 0x3f
jbe 0x459bc3
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
cmp eax, 0x3f
jbe 0x459be0
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
add dword [ebp - 0x20], 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jb 0x459b4a
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
jae 0x459c08
call fcn.0040372c
dec eax
je 0x459c13
dec eax
je 0x459c68
jmp 0x459ce2
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x10]
and eax, 0x3f
cmp eax, 0x3f
jbe 0x459c30
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
cmp eax, 0x3f
jbe 0x459c4d
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
mov byte [eax + 2], 0x3d
mov eax, dword [ebp - 0x20]
mov byte [eax + 3], 0x3d
jmp 0x459ce2
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 1]
or dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
and eax, 0x3f
cmp eax, 0x3f
jbe 0x459c93
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
and eax, 0x3f
cmp eax, 0x3f
jbe 0x459cb3
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
cmp eax, 0x3f
jbe 0x459cd0
call fcn.00403724
mov al, byte [eax + 0x4693e4]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
mov byte [eax + 3], 0x3d
mov esp, ebp
pop ebp
ret