Function at 0x460a80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x460e4c
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
push ebx
mov dl, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, ecx
je 0x460d69
mov bl, byte [eax]
inc eax
mov byte [ebp - 1], bl
mov dword [ebp + 0xc], eax
cmp eax, ecx
je 0x460c85
mov cl, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx ebx, dl
mov eax, ebx
shr eax, 2
cmp dword [esi + 0x14], 0x10
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 2], cl
mov byte [ebp - 0xc], al
jb 0x460ae6
mov eax, dword [esi]
jmp 0x460ae8
mov eax, esi
test edi, edi
je 0x460aee
sub edi, eax
push dword [ebp - 0xc]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460b03
mov esi, dword [esi]
movzx eax, byte [ebp - 1]
mov dword [ebp - 0x14], eax
and ebx, 3
shr eax, 4
shl ebx, 4
inc esi
add eax, ebx
add edi, esi
movzx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x18], edi
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 0x10], al
jb 0x460b33
mov eax, dword [esi]
jmp 0x460b35
mov eax, esi
test edi, edi
je 0x460b3b
sub edi, eax
push dword [ebp - 0x10]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460b50
mov esi, dword [esi]
movzx ebx, byte [ebp - 2]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 6
and ecx, 0xf
inc esi
add edi, esi
mov esi, dword [ebp + 0x14]
lea eax, [eax + ecx*4]
mov dword [ebp + 0x18], edi
cmp dword [esi + 0x14], 0x10
movzx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1c], al
jb 0x460b80
mov eax, dword [esi]
jmp 0x460b82
mov eax, esi
test edi, edi
je 0x460b88
sub edi, eax
push dword [ebp - 0x1c]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460b9d
mov esi, dword [esi]
inc esi
add edi, esi
mov esi, dword [ebp + 0x14]
and ebx, 0x3f
mov dword [ebp + 0x18], edi
cmp dword [esi + 0x14], 0x10
mov al, byte [ebx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x20], al
jb 0x460bbd
mov eax, dword [esi]
jmp 0x460bbf
mov eax, esi
test edi, edi
je 0x460bc5
sub edi, eax
push dword [ebp - 0x20]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460bda
mov esi, dword [esi]
mov ebx, dword [ebp - 8]
inc edi
add edi, esi
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x18], edi
cmp ebx, 0x11
jne 0x460c63
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x14], edi
jb 0x460bf8
mov eax, dword [esi]
jmp 0x460bfa
mov eax, esi
test edi, edi
je 0x460c00
sub edi, eax
push 0xd
push 1
push edi
mov ecx, esi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460c16
mov eax, dword [esi]
jmp 0x460c18
mov eax, esi
inc edi
add edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x460c25
mov eax, dword [esi]
jmp 0x460c27
mov eax, esi
test edi, edi
je 0x460c2d
sub edi, eax
push 0xa
push 1
push edi
mov ecx, esi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460c51
mov eax, dword [esi]
inc edi
add edi, eax
xor eax, eax
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], edi
mov dword [ebp - 8], eax
jmp 0x460c67
mov eax, esi
inc edi
add edi, eax
xor eax, eax
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], edi
mov dword [ebp - 8], eax
jmp 0x460c67
inc ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x460aa2
mov ecx, dword [ebp + 8]
pop ebx
pop edi
mov dword [ecx], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
movzx eax, dl
mov dword [ebp - 0x1c], eax
shr eax, 2
cmp dword [esi + 0x14], 0x10
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x20], al
jb 0x460ca2
mov eax, dword [esi]
jmp 0x460ca4
mov eax, esi
test edi, edi
je 0x460caa
sub edi, eax
push dword [ebp - 0x20]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460cbf
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1c]
movzx ebx, bl
and ecx, 3
inc esi
mov eax, ebx
shr eax, 4
shl ecx, 4
add edi, esi
mov esi, dword [ebp + 0x14]
add eax, ecx
mov dword [ebp + 0x18], edi
cmp dword [esi + 0x14], 0x10
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x20], al
jb 0x460cef
mov eax, dword [esi]
jmp 0x460cf1
mov eax, esi
test edi, edi
je 0x460cf7
sub edi, eax
push dword [ebp - 0x20]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460d0c
mov esi, dword [esi]
inc esi
and ebx, 0xf
add edi, esi
mov esi, dword [ebp + 0x14]
shl ebx, 4
mov dword [ebp + 0x18], edi
cmp dword [esi + 0x14], 0x10
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x20], al
jb 0x460d2e
mov eax, dword [esi]
jmp 0x460d30
mov eax, esi
test edi, edi
je 0x460d36
sub edi, eax
push dword [ebp - 0x20]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460d4b
mov esi, dword [esi]
mov edx, dword [ebp + 0x14]
lea ecx, [edi + 1]
add ecx, esi
lea eax, [edx + 0x14]
mov dword [ebp + 0x18], ecx
cmp dword [eax], 0x10
jb 0x460e27
mov eax, dword [edx]
jmp 0x460e29
movzx ebx, dl
mov eax, ebx
shr eax, 2
cmp dword [esi + 0x14], 0x10
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x20], al
jb 0x460d85
mov eax, dword [esi]
jmp 0x460d87
mov eax, esi
test edi, edi
je 0x460d8d
sub edi, eax
push dword [ebp - 0x20]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460da2
mov esi, dword [esi]
inc esi
and ebx, 3
add edi, esi
mov esi, dword [ebp + 0x14]
shl ebx, 6
mov dword [ebp + 0x18], edi
cmp dword [esi + 0x14], 0x10
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x20], al
jb 0x460dc4
mov eax, dword [esi]
jmp 0x460dc6
mov eax, esi
test edi, edi
je 0x460dcc
sub edi, eax
push dword [ebp - 0x20]
mov ecx, esi
push 1
push edi
call fcn.0041aa10
cmp dword [esi + 0x14], 0x10
jb 0x460de1
mov esi, dword [esi]
inc edi
add esi, edi
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x18], esi
cmp dword [edi + 0x14], 0x10
jb 0x460df4
mov eax, dword [edi]
jmp 0x460df6
mov eax, edi
test esi, esi
je 0x460dfc
sub esi, eax
push 0x3d
push 1
push esi
mov ecx, edi
call fcn.0041aa10
cmp dword [edi + 0x14], 0x10
jb 0x460e10
mov edi, dword [edi]
mov edx, dword [ebp + 0x14]
lea ecx, [esi + 1]
add ecx, edi
lea eax, [edx + 0x14]
mov dword [ebp + 0x18], ecx
cmp dword [eax], 0x10
jb 0x460e27
mov eax, dword [edx]
jmp 0x460e29
mov eax, edx
test ecx, ecx
je 0x460e2f
sub ecx, eax
push 0x3d
push 1
push ecx
mov ecx, edx
call fcn.0041aa10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
pop ebx
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 0x1c