Function at 0x4ab3bc
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, edx
mov eax, ecx
mov dword [esp + 0xc], eax
push esi
push edi
test ebp, ebp
je 0x4ab3d7
test eax, eax
je 0x4ab60d
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4ab60d
cmp dword [esp + 0x28], 0
je 0x4ab60d
mov esi, dword [0x765370]
test ebp, ebp
jne 0x4ab44a
mov eax, fcn.0060ea03
test esi, esi
cmove esi, eax
xor ebx, ebx
inc ebx
mov ecx, esi
push ebx
call dword [0x6636e0]
call esi
pop ecx
test eax, eax
jne 0x4ab439
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4ab639
push 3
pop ebx
mov ecx, ebx
mov dword [esi], ebx
call fcn.004ab90c
mov dword [esi + 0x10], 0xa9
jmp 0x4ab628
mov byte [eax], 0
mov dword [edi], eax
mov eax, dword [esp + 0x28]
and dword [eax], 0
jmp 0x4ab63b
push 3
xor edx, edx
lea eax, [ebp + 2]
pop ebx
div ebx
mov edi, eax
mov eax, fcn.0060ea03
shl edi, 2
test esi, esi
mov dword [esp + 0x1c], edi
cmove esi, eax
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call dword [0x6636e0]
call esi
mov edx, eax
pop ecx
test edx, edx
jne 0x4ab49d
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4ab639
mov ecx, ebx
mov dword [esi], ebx
call fcn.004ab90c
mov dword [esi + 0x10], 0xb9
jmp 0x4ab628
push 2
pop eax
xor ecx, ecx
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x10], ecx
cmp ebp, eax
jbe 0x4ab54a
mov ecx, dword [esp + 0x14]
add ecx, eax
xor edi, edi
mov dword [esp + 0x10], ecx
movzx eax, byte [ecx - 2]
add esi, ebx
shr eax, 2
mov al, byte [eax + 0x6d3430]
mov byte [edi + edx], al
movzx ecx, byte [ecx - 1]
mov eax, dword [esp + 0x10]
shr ecx, 4
movzx eax, byte [eax - 2]
shl eax, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx + 0x6d3430]
mov byte [edi + edx + 1], al
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
movzx eax, byte [eax - 1]
shl eax, 2
shr ecx, 6
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx + 0x6d3430]
mov ecx, dword [esp + 0x10]
mov byte [edi + edx + 2], al
movzx eax, byte [ecx]
add ecx, ebx
and eax, 0x3f
mov dword [esp + 0x10], ecx
mov al, byte [eax + 0x6d3430]
mov byte [edi + edx + 3], al
add edi, 4
mov eax, dword [esp + 0x18]
add eax, ebx
mov dword [esp + 0x18], eax
cmp eax, ebp
jb 0x4ab4c0
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp esi, ebp
jae 0x4ab5f9
lea eax, [ebp - 1]
lea edi, [ecx + 1]
lfence
cmp eax, esi
jne 0x4ab5a1
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
movzx eax, byte [esi + ecx]
shr eax, 2
mov al, byte [eax + 0x6d3430]
mov byte [edx + ebp], al
movzx eax, byte [esi + ecx]
and eax, ebx
shl eax, 4
mov al, byte [eax + 0x6d3430]
mov byte [edi + edx], al
mov eax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
inc edi
cmp eax, 0x6d3430
jne 0x4ab5f9
mov word [edi + edx], 0x3d3d
add edi, 2
jmp 0x4ab5f9
mov ebx, dword [esp + 0x14]
movzx eax, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x6d3430]
mov byte [ecx + edx], al
movzx ecx, byte [esi + ebx + 1]
movzx eax, byte [esi + ebx]
shl eax, 4
shr ecx, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx + 0x6d3430]
mov byte [edi + edx], al
movzx eax, byte [esi + ebx + 1]
and eax, 0xf
mov al, byte [eax*4 + 0x6d3430]
mov byte [edi + edx + 1], al
mov eax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
add edi, 2
cmp eax, 0x6d3430
jne 0x4ab5f9
mov byte [edi + edx], 0x3d
inc edi
mov eax, dword [esp + 0x24]
mov bl, 1
mov byte [edx + edi], 0
mov dword [eax], edx
mov eax, dword [esp + 0x28]
mov dword [eax], edi
jmp 0x4ab63b
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4ab639
xor ebx, ebx
inc ebx
mov ecx, ebx
mov dword [esi], ebx
call fcn.004ab90c
mov dword [esi + 0x10], 0x9f
mov dword [esi + 4], eax
mov dword [esi + 8], str._encode
mov dword [esi + 0xc], str.J:JenkinsWorkspaceWX_Win_3_spark_client_framework_thirdpartycjose_source_src_base64.c
xor bl, bl
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x10
ret