Function at 0x452c60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3a09
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], edi
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x452cbf
mov eax, dword [esi]
jmp 0x452cc1
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], 1
cmp edx, 3
jb 0x452ed7
nop dword [eax]
mov bh, byte [edi + 1]
mov bl, byte [edi]
mov al, bh
mov dl, byte [edi + 2]
and bl, 3
mov ecx, dword [esi + 0x14]
and bh, 0xf
shr al, 4
shl bl, 4
or bl, al
shl bh, 2
mov al, dl
and dl, 0x3f
shr al, 6
or bh, al
mov byte [ebp - 0xd], dl
movzx eax, byte [edi]
shr eax, 2
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x452d58
inc eax
cmp eax, 0x7ffffffe
ja 0x452f3a
cmp ecx, eax
jae 0x452d40
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.0040d300
jmp 0x452d58
test eax, eax
jne 0x452d58
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
jb 0x452d51
mov eax, dword [esi]
jmp 0x452d53
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x452d62
mov ecx, dword [esi]
jmp 0x452d64
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov word [ecx + eax*2], dx
mov ecx, dword [esi + 0x14]
movzx eax, bl
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x452dc4
inc eax
cmp eax, 0x7ffffffe
ja 0x452f3a
cmp ecx, eax
jae 0x452dac
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.0040d300
jmp 0x452dc4
test eax, eax
jne 0x452dc4
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x452dbd
mov eax, dword [esi]
jmp 0x452dbf
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x452dce
mov ecx, dword [esi]
jmp 0x452dd0
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov word [ecx + eax*2], dx
mov ecx, dword [esi + 0x14]
movzx eax, bh
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x452e30
inc eax
cmp eax, 0x7ffffffe
ja 0x452f3a
cmp ecx, eax
jae 0x452e18
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.0040d300
jmp 0x452e30
test eax, eax
jne 0x452e30
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x452e29
mov eax, dword [esi]
jmp 0x452e2b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x452e3a
mov ecx, dword [esi]
jmp 0x452e3c
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov word [ecx + eax*2], dx
movzx eax, byte [ebp - 0xd]
mov ecx, dword [esi + 0x14]
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x452e9d
inc eax
cmp eax, 0x7ffffffe
ja 0x452f3a
cmp ecx, eax
jae 0x452e85
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.0040d300
jmp 0x452e9d
test eax, eax
jne 0x452e9d
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x452e96
mov eax, dword [esi]
jmp 0x452e98
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x452ea7
mov ecx, dword [esi]
jmp 0x452ea9
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x14]
add edi, 3
mov dword [ebp - 0x14], edi
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 8]
sub edx, 3
mov dword [ebp + 8], edx
cmp edx, 3
jae 0x452ce0
sub edx, 1
je 0x452f44
sub edx, 1
jne 0x452f8b
mov bh, byte [edi + 1]
mov ecx, esi
mov bl, byte [edi]
mov al, bh
shr al, 4
and bl, 3
shl bl, 4
and bh, 0xf
or bl, al
shl bh, 2
movzx eax, byte [edi]
shr eax, 2
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.0040bba0
movzx eax, bl
mov ecx, esi
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.0040bba0
movzx eax, bh
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
jmp 0x452f7b
push str.string_too_long
call fcn.00465f9c
movzx eax, byte [edi]
mov ecx, esi
mov bl, byte [edi]
shr eax, 2
and bl, 3
shl bl, 4
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.0040bba0
movzx eax, bl
mov ecx, esi
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.0040bba0
push 0x3d
mov ecx, esi
call fcn.0040bba0
push 0x3d
mov ecx, esi
call fcn.0040bba0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret