Function at 0x4a6940
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaac94e
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0xaee08c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push 0x41
push 0
mov dword [ebp - 0x7c], edi
push eax
mov dword [ebp - 0x78], 0
call fcn.00a86510
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 0x41]
mov byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 0x1a
jl 0x4a6990
xor ecx, ecx
nop
lea eax, [ecx + 0x61]
mov byte [ebp + ecx - 0x3a], al
inc ecx
cmp ecx, 0x1a
jl 0x4a69a0
xor ecx, ecx
nop
lea eax, [ecx + 0x30]
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jl 0x4a69b0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov word [ebp - 0x16], 0x2f2b
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], 1
test eax, eax
je 0x4a6ec2
mov edx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [edx]
inc edx
mov byte [ebp + ecx - 0x5c], al
inc ecx
mov bl, byte [ebp - 0x5c]
mov dword [ebp + 0xc], edx
mov dh, byte [ebp - 0x5a]
mov dl, byte [ebp - 0x5b]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0x6f], dh
mov byte [ebp - 0x6d], dl
mov byte [ebp - 0x6e], bl
cmp ecx, 3
jne 0x4a6bbb
mov al, bl
mov cl, bl
shr al, 2
and cl, 3
mov byte [ebp - 0x64], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, dh
mov byte [ebp - 0x63], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, dh
and al, 0x3f
mov byte [ebp - 0x62], cl
mov byte [ebp - 0x61], al
xor eax, eax
mov dword [ebp - 0x60], eax
nop dword [eax]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [edi + 0x10]
mov ebx, dword [edi + 0x14]
mov dword [ebp - 0x68], ecx
mov dl, byte [ebp + eax - 0x54]
mov byte [ebp - 0x55], dl
mov dword [ebp - 0x6c], ebx
cmp ecx, ebx
jae 0x4a6a98
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ebx, 0x10
jb 0x4a6a8b
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4a6b9d
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4a6ee2
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4a6ac0
mov esi, SysReAllocString
lea eax, [esi + 0x24]
jmp 0x4a6af7
mov edx, ebx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x4a6ad9
mov esi, SysReAllocString
lea eax, [esi + 0x24]
jmp 0x4a6af7
lea eax, [ebx + edx]
cmp esi, eax
cmovb esi, eax
lea edx, [esi + 1]
cmp edx, 0x1000
jb 0x4a6b16
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x4a6eec
push eax
call fcn.00a34ab5
add esp, 4
test eax, eax
je 0x4a6ef1
mov ecx, dword [ebp - 0x68]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4a6b2c
test edx, edx
je 0x4a6b2a
push edx
call fcn.00a34ab5
mov ecx, dword [ebp - 0x68]
add esp, 4
mov ebx, eax
jmp 0x4a6b2c
xor ebx, ebx
cmp dword [ebp - 0x6c], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x14], esi
lea esi, [ebx + ecx]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x68], esi
push ecx
jb 0x4a6b88
mov esi, dword [edi]
push esi
push ebx
call fcn.00a85f90
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov cl, byte [ebp - 0x55]
mov byte [eax], cl
mov ecx, dword [ebp - 0x6c]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x4a6b7c
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4a6ef1
mov esi, edx
push ecx
push esi
call fcn.00a34ae5
add esp, 8
jmp 0x4a6b9b
push edi
push ebx
call fcn.00a85f90
mov cl, byte [ebp - 0x55]
add esp, 0xc
mov byte [esi], cl
mov byte [esi + 1], 0
mov dword [edi], ebx
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, 4
jl 0x4a6a60
mov dl, byte [ebp - 0x6d]
xor ecx, ecx
mov bl, byte [ebp - 0x6e]
mov dh, byte [ebp - 0x6f]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a69f5
test ecx, ecx
je 0x4a6ec2
mov eax, ecx
cmp ecx, 3
jge 0x4a6bf2
cmp eax, 3
jae 0x4a6ee7
mov byte [ebp + eax - 0x5c], 0
inc eax
cmp eax, 3
jl 0x4a6bd8
mov dh, byte [ebp - 0x5a]
mov dl, byte [ebp - 0x5b]
mov bl, byte [ebp - 0x5c]
mov al, bl
and bl, 3
shr al, 2
mov byte [ebp - 0x64], al
mov al, dl
shr al, 4
and dl, 0xf
shl bl, 4
add bl, al
shl dl, 2
mov al, dh
mov byte [ebp - 0x63], bl
shr al, 6
and dh, 0x3f
add dl, al
mov byte [ebp - 0x61], dh
mov byte [ebp - 0x62], dl
xor eax, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x74], edx
test edx, edx
jle 0x4a6d83
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [edi + 0x10]
mov ebx, dword [edi + 0x14]
mov dword [ebp - 0x60], ecx
mov dl, byte [ebp + eax - 0x54]
mov byte [ebp - 0x55], dl
mov dword [ebp - 0x6c], ebx
cmp ecx, ebx
jae 0x4a6c6b
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ebx, 0x10
jb 0x4a6c5e
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4a6d70
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4a6ee2
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4a6c93
mov esi, SysReAllocString
lea eax, [esi + 0x24]
jmp 0x4a6cca
mov edx, ebx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x4a6cac
mov esi, SysReAllocString
lea eax, [esi + 0x24]
jmp 0x4a6cca
lea eax, [ebx + edx]
cmp esi, eax
cmovb esi, eax
lea edx, [esi + 1]
cmp edx, 0x1000
jb 0x4a6ce9
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x4a6eec
push eax
call fcn.00a34ab5
add esp, 4
test eax, eax
je 0x4a6ef1
mov ecx, dword [ebp - 0x60]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4a6cff
test edx, edx
je 0x4a6cfd
push edx
call fcn.00a34ab5
mov ecx, dword [ebp - 0x60]
add esp, 4
mov ebx, eax
jmp 0x4a6cff
xor ebx, ebx
cmp dword [ebp - 0x6c], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x14], esi
lea esi, [ebx + ecx]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x60], esi
push ecx
jb 0x4a6d5b
mov esi, dword [edi]
push esi
push ebx
call fcn.00a85f90
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov cl, byte [ebp - 0x55]
mov byte [eax], cl
mov ecx, dword [ebp - 0x6c]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x4a6d4f
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4a6ef1
mov esi, edx
push ecx
push esi
call fcn.00a34ae5
add esp, 8
jmp 0x4a6d6e
push edi
push ebx
call fcn.00a85f90
mov cl, byte [ebp - 0x55]
add esp, 0xc
mov byte [esi], cl
mov byte [esi + 1], 0
mov dword [edi], ebx
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x74]
jl 0x4a6c33
mov ecx, dword [ebp - 0x68]
cmp ecx, 3
jge 0x4a6ec2
nop dword [eax]
mov ebx, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x68], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x6c], ebx
cmp ecx, ebx
jae 0x4a6dbe
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ebx, 0x10
jb 0x4a6db3
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x4a6eb6
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4a6ee2
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4a6de6
mov esi, SysReAllocString
lea ecx, [esi + 0x24]
jmp 0x4a6e1c
mov edx, ebx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x4a6dff
mov esi, SysReAllocString
lea ecx, [esi + 0x24]
jmp 0x4a6e1c
lea eax, [ebx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x4a6e3b
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4a6eec
push ecx
call fcn.00a34ab5
add esp, 4
test eax, eax
je 0x4a6ef1
mov ecx, dword [ebp - 0x60]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4a6e51
test eax, eax
je 0x4a6e4f
push eax
call fcn.00a34ab5
mov ecx, dword [ebp - 0x60]
add esp, 4
mov ebx, eax
jmp 0x4a6e51
xor ebx, ebx
cmp dword [ebp - 0x6c], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x14], esi
lea esi, [ebx + ecx]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x74], esi
push ecx
jb 0x4a6ea5
mov esi, dword [edi]
push esi
push ebx
call fcn.00a85f90
mov eax, dword [ebp - 0x74]
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
inc ecx
mov word [eax], 0x3d
cmp ecx, 0x1000
jb 0x4a6e99
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4a6ef1
mov esi, edx
push ecx
push esi
call fcn.00a34ae5
add esp, 8
jmp 0x4a6eb4
push edi
push ebx
call fcn.00a85f90
add esp, 0xc
mov word [esi], 0x3d
mov dword [edi], ebx
mov ecx, dword [ebp - 0x68]
cmp ecx, 3
jl 0x4a6d90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a348e6
mov esp, ebp
pop ebp
ret 0xc
call fcn.00437b30
call fcn.00a35024
call fcn.00437b10
call fcn.00a89f21
int3