Function at 0x10005e90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100a5688]
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 ebx, ecx
mov dword [ebp - 0x68], 0
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov dword [ebp - 0x70], ebx
mov byte [ebx], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 1
test eax, eax
je 0x10006188
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
mov byte [ebp + edi - 0x5c], al
mov ah, byte [ebp - 0x5a]
mov ch, byte [ebp - 0x5b]
mov cl, byte [ebp - 0x5c]
inc edi
inc edx
mov dword [ebp - 0x6c], edx
mov byte [ebp - 0x55], ah
mov byte [ebp - 0x63], ch
mov byte [ebp - 0x62], cl
cmp edi, 3
jne 0x10005ff4
mov al, cl
shr al, 2
mov byte [ebp - 0x60], al
and cl, 3
shl cl, 4
mov al, ch
shr al, 4
add cl, al
mov byte [ebp - 0x5f], cl
mov cl, ch
and cl, 0xf
mov al, ah
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x5e], cl
mov byte [ebp - 0x5d], al
xor edi, edi
movzx eax, byte [ebp + edi - 0x60]
mov ecx, dword [ebx + 0x10]
mov dl, byte [ebp + eax - 0x54]
or eax, 0xffffffff
sub eax, ecx
mov byte [ebp - 0x61], dl
cmp eax, 1
jbe 0x10006029
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10006029
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10005fad
push ecx
push esi
mov ecx, ebx
call fcn.10005730
mov dl, byte [ebp - 0x61]
test esi, esi
je 0x10005fdf
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10005fc7
mov eax, dword [ebx]
jmp 0x10005fc9
test esi, esi
jne 0x10005fa0
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10005fc0
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10005fdf
mov eax, ebx
mov byte [eax], 0
jmp 0x10005fdf
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10005fd9
mov eax, dword [ebx]
jmp 0x10005fdb
mov eax, ebx
mov byte [eax + esi], 0
inc edi
cmp edi, 4
jl 0x10005f60
mov edx, dword [ebp - 0x6c]
mov ch, byte [ebp - 0x63]
mov cl, byte [ebp - 0x62]
xor edi, edi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10005f03
test edi, edi
je 0x10006188
mov eax, edi
cmp edi, 3
jge 0x10006038
cmp eax, 3
jae 0x10006033
mov byte [ebp + eax - 0x5c], 0
inc eax
cmp eax, 3
jl 0x10006011
mov dl, byte [ebp - 0x5a]
mov ch, byte [ebp - 0x5b]
mov cl, byte [ebp - 0x5c]
jmp 0x1000603b
push str.string_too_long
call fcn.1005610c
call fcn.10056f6f
mov dl, byte [ebp - 0x55]
mov al, cl
shr al, 2
mov byte [ebp - 0x60], al
mov al, ch
and cl, 3
shr al, 4
shl cl, 4
add cl, al
mov al, dl
and ch, 0xf
shr al, 6
shl ch, 2
and dl, 0x3f
add ch, al
mov byte [ebp - 0x5d], dl
xor edx, edx
lea eax, [edi + 1]
mov byte [ebp - 0x5f], cl
mov byte [ebp - 0x5e], ch
mov dword [ebp - 0x5c], edx
test eax, eax
jle 0x1000610c
lea esp, [esp]
movzx eax, byte [ebp + edx - 0x60]
mov ecx, dword [ebx + 0x10]
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0x55], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x10006029
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10006029
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x100060c5
push ecx
push esi
mov ecx, ebx
call fcn.10005730
mov edx, dword [ebp - 0x5c]
test esi, esi
je 0x100060fd
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x100060df
mov eax, dword [ebx]
jmp 0x100060e1
test esi, esi
jne 0x100060b8
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x100060d8
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x100060fd
mov eax, ebx
mov byte [eax], 0
jmp 0x100060fd
mov eax, ebx
mov dl, byte [ebp - 0x55]
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x100060f4
mov eax, dword [ebx]
jmp 0x100060f6
mov eax, ebx
mov edx, dword [ebp - 0x5c]
mov byte [eax + esi], 0
inc edx
lea eax, [edi + 1]
mov dword [ebp - 0x5c], edx
cmp edx, eax
jl 0x10006080
cmp edi, 3
jge 0x10006188
mov ecx, dword [ebx + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc edi
cmp eax, 1
jbe 0x10006029
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10006029
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10006150
push ecx
push esi
mov ecx, ebx
call fcn.10005730
test esi, esi
je 0x10006183
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x1000616a
mov eax, dword [ebx]
jmp 0x1000616c
test esi, esi
jne 0x10006143
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10006163
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10006183
mov eax, ebx
mov byte [eax], 0
jmp 0x10006183
mov eax, ebx
mov byte [ecx + eax], 0x3d
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x1000617d
mov eax, dword [ebx]
jmp 0x1000617f
mov eax, ebx
mov byte [esi + eax], 0
cmp edi, 3
jl 0x10006111
mov eax, ebx
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.1005ae75
mov esp, ebp
pop ebp
ret