Function at 0x760540
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov dword [eax], 0
test ebx, ebx
jle 0x76058f
mov esi, dword [esp + 0x30]
mov edi, dword [esi + 4]
cmp edi, 0x51
jge 0x760919
mov eax, dword [esi]
mov ecx, edi
sub ecx, eax
mov ebp, ebx
sub ebp, ecx
jge 0x760596
add eax, esi
add eax, 8
push ebx
push dword [esp + 0x40]
push eax
call fcn.007de188
add esp, 0xc
add dword [esi], ebx
jmp 0x7608fe
xor eax, eax
jmp 0x760903
test eax, eax
je 0x760685
add eax, esi
add eax, 8
mov dword [esp + 8], ecx
push ecx
mov edi, dword [esp + 0x40]
push edi
push eax
call fcn.007de188
add esp, 0xc
mov edx, dword [esi + 4]
test byte [esi + 0x5c], 2
mov eax, 0xf7f7aa
mov ecx, 0xf7f769
cmove ecx, eax
test edx, edx
jle 0x7606a7
mov eax, edx
mov dword [esp + 4], ebp
lea edx, [esi + 9]
mov dword [esp], 4
mov dword [esp + 0x18], ecx
nop word cs:[eax + eax]
movzx esi, byte [edx - 1]
mov ebx, esi
shl ebx, 0x10
cmp eax, 2
mov dword [esp + 0xc], eax
jbe 0x7606b1
movzx eax, byte [edx]
shl eax, 8
movzx ebp, byte [edx + 1]
lea edi, [eax + ebp]
or eax, ebx
shr esi, 2
movzx ebx, byte [ecx + esi]
mov esi, dword [esp]
mov ecx, dword [esp + 0x34]
mov byte [ecx + esi - 4], bl
mov ecx, dword [esp + 0x18]
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [ecx + eax]
mov ebx, dword [esp + 0x34]
mov byte [ebx + esi - 3], al
shr edi, 6
and edi, 0x3f
movzx eax, byte [ecx + edi]
mov byte [ebx + esi - 2], al
and ebp, 0x3f
movzx eax, byte [ecx + ebp]
mov byte [ebx + esi - 1], al
mov eax, dword [esp + 0xc]
add esi, 4
mov dword [esp], esi
add edx, 3
add eax, 0xfffffffd
jne 0x7605f0
mov ecx, dword [esp]
lea eax, [ecx + ebx]
add eax, 0xfffffffc
add ecx, 0xfffffffc
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 4]
jmp 0x760711
mov edx, esi
mov dword [esp], 0
mov ebp, ebx
mov eax, edi
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
cmp ebp, eax
jge 0x76073e
jmp 0x7608d7
xor ecx, ecx
mov ebx, dword [esp + 0x34]
mov eax, ebx
jmp 0x760711
jne 0x7606bb
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 4]
mov eax, ebx
shr eax, 0x12
movzx eax, byte [ecx + eax]
mov edx, dword [esp]
mov edi, dword [esp + 0x34]
mov byte [edi + edx - 4], al
mov eax, ebx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [ecx + eax]
mov byte [edi + edx - 3], al
mov dl, 0x3d
cmp dword [esp + 0xc], 1
je 0x7606fa
shr ebx, 6
and ebx, 0x3f
movzx edx, byte [ecx + ebx]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x34]
lea eax, [ebx + ecx]
mov byte [ebx + ecx - 2], dl
mov byte [ebx + ecx - 1], 0x3d
mov edi, dword [esp + 0x3c]
mov byte [eax], 0
mov dword [esi], 0
add ebx, ecx
test byte [esi + 0x5c], 1
jne 0x760727
mov byte [ebx], 0xa
inc ebx
inc ecx
mov dword [esp], ecx
add edi, dword [esp + 8]
mov byte [ebx], 0
mov edx, esi
mov eax, dword [esi + 4]
cmp ebp, eax
jl 0x7608d7
cmp dword [esp], 0
js 0x7608d7
mov ecx, eax
nop word [eax + eax]
mov esi, edx
test byte [edx + 0x5c], 2
mov edx, 0xf7f769
mov eax, 0xf7f7aa
cmove edx, eax
test ecx, ecx
jle 0x760830
mov dword [esp + 0x14], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x10], edi
lea ebx, [edi + 1]
mov edx, 4
mov esi, ecx
nop word cs:[eax + eax]
movzx ebp, byte [ebx - 1]
mov eax, ebp
shl eax, 0x10
cmp esi, 2
mov dword [esp + 0xc], esi
jbe 0x760840
movzx ecx, byte [ebx]
shl ecx, 8
movzx esi, byte [ebx + 1]
mov dword [esp + 0x18], esi
add esi, ecx
or ecx, eax
shr ebp, 2
mov edi, edx
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + ebp]
mov ebp, dword [esp + 8]
mov byte [ebp + edi - 4], al
shr ecx, 0xc
and ecx, 0x3f
movzx eax, byte [edx + ecx]
mov byte [ebp + edi - 3], al
shr esi, 6
and esi, 0x3f
movzx eax, byte [edx + esi]
mov byte [ebp + edi - 2], al
mov eax, dword [esp + 0x18]
and eax, 0x3f
movzx eax, byte [edx + eax]
mov edx, edi
mov esi, dword [esp + 0xc]
mov byte [ebp + edi - 1], al
add edx, 4
add ebx, 3
add esi, 0xfffffffd
jne 0x760790
mov ebx, dword [esp + 8]
lea eax, [edx + ebx]
add eax, 0xfffffffc
add edx, 0xfffffffc
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 4]
jmp 0x760834
xor edx, edx
mov eax, ebx
mov ecx, dword [esp]
jmp 0x7608a3
jne 0x76084a
movzx ecx, byte [ebx]
shl ecx, 8
or eax, ecx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x12
mov ebp, dword [esp + 0x14]
movzx ecx, byte [ebp + ecx]
mov ebx, dword [esp + 8]
mov byte [ebx + edx - 4], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ebp + ecx]
mov byte [ebx + edx - 3], cl
mov cl, 0x3d
cmp dword [esp + 0xc], 1
je 0x760890
shr eax, 6
and eax, 0x3f
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
lea eax, [ebx + edx]
mov byte [ebx + edx - 2], cl
mov byte [ebx + edx - 1], 0x3d
mov ecx, dword [esp]
mov ebp, dword [esp + 4]
mov byte [eax], 0
mov eax, dword [esi + 4]
add ebx, edx
add ecx, edx
test byte [esi + 0x5c], 1
jne 0x7608b8
mov byte [ebx], 0xa
inc ebx
inc ecx
mov dword [esp], ecx
add edi, eax
sub ebp, eax
mov byte [ebx], 0
mov edx, esi
mov eax, dword [esi + 4]
cmp ebp, eax
jl 0x7608d7
mov ecx, eax
cmp dword [esp], 0
jns 0x760750
mov ecx, dword [esp]
test ecx, ecx
js 0x76090b
test ebp, ebp
mov esi, edx
je 0x7608f6
lea eax, [esi + 8]
push ebp
push edi
push eax
mov edi, ecx
call fcn.007de188
mov ecx, edi
add esp, 0xc
mov dword [esi], ebp
mov eax, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, 1
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x38]
mov dword [eax], 0
xor eax, eax
jmp 0x760903
push 0xab
push 0xf7f619
push 0xf7f62d
call fcn.0062e730
nop dword [eax]