Function at 0x4a5410
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e54be
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
test eax, eax
je 0x4a58c5
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + esi - 0x14], al
inc esi
mov dl, byte [ebp - 0x13]
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0x10], ch
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xf], cl
cmp esi, 3
jne 0x4a5613
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor eax, eax
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp + eax - 0x18]
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x30], esi
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x20], edx
cmp esi, edx
jae 0x4a551e
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4a5511
mov eax, dword [edi]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0x4a55f8
mov eax, Ordinal_1
sub eax, esi
cmp eax, 1
jb 0x4a58d8
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4a5543
mov ecx, Ordinal_1
jmp 0x4a5567
mov eax, edx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, Ordinal_1
sub eax, dword [ebp - 0x1c]
cmp edx, eax
jbe 0x4a555d
mov ecx, Ordinal_1
jmp 0x4a5567
mov eax, dword [ebp - 0x1c]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
push eax
push edi
call fcn.0042e8e0
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x14], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
jbe 0x4a55dc
push dword [ebp - 0x30]
mov esi, dword [edi]
push esi
push ecx
call fcn.005b46d0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, 0x1000
jb 0x4a55d0
mov ecx, dword [esi - 4]
add eax, 0x23
sub esi, ecx
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0x4a58e2
mov esi, ecx
push eax
push esi
call fcn.005b26d8
add esp, 8
jmp 0x4a55f3
push esi
push edi
push ecx
call fcn.005b46d0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 4
jl 0x4a54e4
mov dl, byte [ebp - 0xe]
xor esi, esi
mov cl, byte [ebp - 0xf]
mov ch, byte [ebp - 0x10]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a5481
test esi, esi
je 0x4a58c5
mov eax, esi
cmp esi, 3
jge 0x4a564a
cmp eax, 3
jae 0x4a58dd
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x4a5630
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
shr ch, 6
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
and dl, 0xf
shr al, 4
add cl, al
shl dl, 2
add dl, ch
mov byte [ebp - 0x17], cl
xor eax, eax
mov byte [ebp - 0x16], dl
lea ecx, [esi + 1]
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x4a57b5
movzx eax, byte [ebp + eax - 0x18]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x20], ecx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x13], al
mov dword [ebp - 0x24], edx
cmp ecx, edx
jae 0x4a56bd
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4a56ad
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp + 0x13]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4a57a3
mov eax, Ordinal_1
sub eax, ecx
cmp eax, 1
jb 0x4a58d8
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0x30], eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4a56e7
mov ecx, Ordinal_1
jmp 0x4a570b
mov eax, edx
shr eax, 1
mov dword [ebp - 0x28], eax
mov eax, Ordinal_1
sub eax, dword [ebp - 0x28]
cmp edx, eax
jbe 0x4a5701
mov ecx, Ordinal_1
jmp 0x4a570b
mov eax, dword [ebp - 0x28]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
push eax
push edi
call fcn.0042e8e0
mov ecx, dword [ebp - 0x20]
mov edx, eax
mov eax, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp - 0x24], 0xf
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x14], eax
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
push ecx
jbe 0x4a5788
mov eax, dword [edi]
push eax
push edx
mov dword [ebp - 0x28], eax
call fcn.005b46d0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [eax], cl
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x28]
cmp ecx, 0x1000
jb 0x4a577c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a58e2
mov eax, edx
push ecx
push eax
call fcn.005b26d8
add esp, 8
jmp 0x4a579e
push edi
push edx
call fcn.005b46d0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 1]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, ecx
jl 0x4a5680
cmp esi, 3
jge 0x4a58c5
nop
mov edx, dword [edi + 0x14]
inc esi
mov dword [ebp - 0x20], esi
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x28], edx
cmp esi, edx
jae 0x4a57eb
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4a57e0
mov eax, dword [edi]
mov word [eax + esi], 0x3d
jmp 0x4a58b9
mov eax, Ordinal_1
sub eax, esi
cmp eax, 1
jb 0x4a58d8
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4a5810
mov ecx, Ordinal_1
jmp 0x4a5834
mov eax, edx
shr eax, 1
mov dword [ebp + 0x10], eax
mov eax, Ordinal_1
sub eax, dword [ebp + 0x10]
cmp edx, eax
jbe 0x4a582a
mov ecx, Ordinal_1
jmp 0x4a5834
mov eax, dword [ebp + 0x10]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], ecx
push eax
push edi
call fcn.0042e8e0
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x28], 0xf
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x24], ecx
mov dword [ebp + 0x10], eax
push esi
jbe 0x4a58a2
mov eax, dword [edi]
mov esi, eax
push esi
push ecx
call fcn.005b46d0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x28]
inc ecx
mov word [eax], 0x3d
cmp ecx, 0x1000
jb 0x4a5896
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4a58e2
mov esi, edx
push ecx
push esi
call fcn.005b26d8
add esp, 8
jmp 0x4a58b4
push edi
push ecx
call fcn.005b46d0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [eax], 0x3d
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov esi, dword [ebp - 0x20]
cmp esi, 3
jl 0x4a57c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ad50
call fcn.005b314d
call fcn.005c1009
int3