Function at 0x10036a20
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aeb49
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x24], esi
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x18], 1
test edx, edx
jle 0x10036d9c
lea esp, [esp]
mov al, byte [edi + esi]
inc edi
cmp edi, edx
je 0x10036d56
mov cl, byte [edi + esi]
inc edi
mov byte [ebp - 0xd], cl
cmp edi, edx
je 0x10036d0d
mov cl, byte [edi + esi]
movzx edx, al
mov eax, edx
shr eax, 2
mov byte [ebp - 0xf], cl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0xe], al
or eax, 0xffffffff
sub eax, ecx
inc edi
mov dword [ebp - 0x1c], edx
cmp eax, 1
jbe 0x10036d03
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10036d03
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10036b07
push ecx
push esi
mov ecx, ebx
call fcn.10010010
mov edx, dword [ebp - 0x1c]
test esi, esi
je 0x10036b3f
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10036b21
mov eax, dword [ebx]
jmp 0x10036b23
test esi, esi
jne 0x10036afa
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10036b1a
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10036b3f
mov eax, ebx
mov byte [eax], 0
jmp 0x10036b3f
mov eax, ebx
mov bl, byte [ebp - 0xe]
mov byte [eax + ecx], bl
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10036b39
mov eax, dword [ebx]
jmp 0x10036b3b
mov eax, ebx
mov byte [eax + esi], 0
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
and edx, 3
shr eax, 4
shl edx, 4
or eax, edx
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
or eax, 0xffffffff
sub eax, ecx
mov byte [ebp - 0xe], dl
cmp eax, 1
jbe 0x10036d03
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10036d03
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10036b9b
push ecx
push esi
mov ecx, ebx
call fcn.10010010
mov dl, byte [ebp - 0xe]
test esi, esi
je 0x10036bcd
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10036bb5
mov eax, dword [ebx]
jmp 0x10036bb7
test esi, esi
jne 0x10036b8e
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10036bae
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10036bcd
mov eax, ebx
mov byte [eax], 0
jmp 0x10036bcd
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10036bc7
mov eax, dword [ebx]
jmp 0x10036bc9
mov eax, ebx
mov byte [eax + esi], 0
movzx edx, byte [ebp - 0xf]
mov ecx, dword [ebp - 0x1c]
and ecx, 0xf
mov eax, edx
shr eax, 6
shl ecx, 2
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0xf], al
or eax, 0xffffffff
sub eax, ecx
mov dword [ebp - 0x20], edx
cmp eax, 1
jbe 0x10036d03
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10036d03
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10036c2e
push ecx
push esi
mov ecx, ebx
call fcn.10010010
mov edx, dword [ebp - 0x20]
test esi, esi
je 0x10036c66
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10036c48
mov eax, dword [ebx]
jmp 0x10036c4a
test esi, esi
jne 0x10036c21
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10036c41
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10036c66
mov eax, ebx
mov byte [eax], 0
jmp 0x10036c66
mov eax, ebx
mov bl, byte [ebp - 0xf]
mov byte [ecx + eax], bl
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10036c60
mov eax, dword [ebx]
jmp 0x10036c62
mov eax, ebx
mov byte [esi + eax], 0
mov ecx, dword [ebx + 0x10]
and edx, 0x3f
or eax, 0xffffffff
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
sub eax, ecx
mov byte [ebp - 0xf], dl
cmp eax, 1
jbe 0x10036d03
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10036d03
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10036caf
push ecx
push esi
mov ecx, ebx
call fcn.10010010
mov dl, byte [ebp - 0xf]
test esi, esi
je 0x10036ce1
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10036cc9
mov eax, dword [ebx]
jmp 0x10036ccb
test esi, esi
jne 0x10036ca2
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10036cc2
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10036ce1
mov eax, ebx
mov byte [eax], 0
jmp 0x10036ce1
mov eax, ebx
mov byte [ecx + eax], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10036cdb
mov eax, dword [ebx]
jmp 0x10036cdd
mov eax, ebx
mov byte [esi + eax], 0
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
cmp edi, edx
jl 0x10036a90
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.1007cf2c
movzx esi, al
mov eax, esi
shr eax, 2
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.10006700
movzx edi, byte [ebp - 0xd]
mov eax, edi
shr eax, 4
and esi, 3
shl esi, 4
or eax, esi
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.10006700
and edi, 0xf
movzx eax, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x10036d88
movzx esi, al
mov eax, esi
shr eax, 2
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.10006700
and esi, 3
shl esi, 4
mov ecx, ebx
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.10006700
push 0x3d
push 1
mov ecx, ebx
call fcn.10006700
push 0x3d
push 1
mov ecx, ebx
call fcn.10006700
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret