Function at 0x4ea700
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x10]
push edi
shr ebx, 0xb
xor edi, edi
mov esi, dword [esi]
movzx edx, byte [esi + 1]
add esi, 2
and ebx, 1
je 0x4ea804
cmp edx, 0xc0
jb 0x4ea804
movzx eax, byte [esi]
and eax, 0x3f
test dl, 0x20
jne 0x4ea748
and edx, 0x1f
shl edx, 6
or edx, eax
inc esi
jmp 0x4ea804
test dl, 0x10
jne 0x4ea769
and edx, 0xf
shl edx, 6
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 6
and eax, 0x3f
or edx, eax
add esi, 2
jmp 0x4ea804
test dl, 8
jne 0x4ea793
and edx, 7
shl edx, 6
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 6
and eax, 0x3f
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 6
and eax, 0x3f
or edx, eax
add esi, 3
jmp 0x4ea804
test dl, 4
jne 0x4ea7c9
and edx, 3
shl edx, 6
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 6
and eax, 0x3f
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 6
and eax, 0x3f
or edx, eax
movzx eax, byte [esi + 3]
shl edx, 6
and eax, 0x3f
or edx, eax
add esi, 4
jmp 0x4ea804
and edx, 1
shl edx, 6
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 6
and eax, 0x3f
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 6
and eax, 0x3f
or edx, eax
movzx eax, byte [esi + 3]
shl edx, 6
and eax, 0x3f
or edx, eax
movzx eax, byte [esi + 4]
shl edx, 6
and eax, 0x3f
or edx, eax
add esi, 5
dec esi
test edx, edx
jne 0x4ea81c
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
mov ecx, dword [esp + 0x24]
jmp 0x4eaa55
lea eax, [edx - 0x30]
cmp eax, 0x4a
ja 0x4ea813
lea ecx, [edx - 0x30]
movsx edi, word [ecx*2 + 0x556420]
push ebp
test edi, edi
je 0x4ea841
jle 0x4eab8e
mov edx, edi
jmp 0x4eaa4e
cmp eax, 0x48
ja case.0x4ea851.10
movzx eax, byte [eax + 0x4eae58]
jmp dword [eax*4 + 0x4eae30]
mov eax, dword [esp + 0x20]
mov dword [eax], 0x25
jmp 0x4eaa4e
test dword [esp + 0x28], 0x2000000
je case.0x4ea851.28
movzx eax, byte [esi + 1]
test byte [eax + 0x556570], 8
je 0x4eaa4e
movzx ecx, byte [esi + 2]
test byte [ecx + 0x556570], 8
je 0x4eaa4e
movzx edi, byte [esi + 3]
test byte [edi + 0x556570], 8
je 0x4eaa4e
lea ebp, [esi + 4]
mov dword [esp + 0x10], ebp
movzx ebp, byte [ebp]
test byte [ebp + 0x556570], 8
je 0x4eaa4e
mov edx, eax
cmp edx, 0x61
jb 0x4ea8c6
sub edx, 0x20
cmp edx, 0x41
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
cmp ecx, 0x61
jb 0x4ea8db
sub ecx, 0x20
cmp ecx, 0x41
sbb eax, eax
shl edx, 4
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, ecx
cmp edi, 0x61
jb 0x4ea8f5
sub edi, 0x20
cmp edi, 0x41
sbb eax, eax
shl edx, 4
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, edi
cmp ebp, 0x61
jb 0x4ea90f
sub ebp, 0x20
mov esi, dword [esp + 0x10]
cmp ebp, 0x41
mov ecx, 0x10ffff
sbb eax, eax
shl edx, 4
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
mov eax, 0xff
add edx, ebp
test ebx, ebx
cmovne eax, ecx
cmp edx, eax
jbe 0x4ead26
mov eax, dword [esp + 0x20]
mov dword [eax], 0x4c
jmp 0x4eaa4e
mov ecx, dword [esp + 0x28]
xor edi, edi
test ecx, 0x2000000
jne 0x4eaa54
mov eax, dword [esp + 0x20]
mov dword [eax], 0x25
jmp 0x4eaa54
cmp dword [esp + 0x2c], 0
jne 0x4eaa4e
mov al, byte [esi + 1]
cmp al, 0x3c
je 0x4eaaaf
cmp al, 0x27
je 0x4eaaaf
cmp al, 0x7b
jne 0x4ea9cc
mov al, byte [esi + 2]
lea ecx, [esi + 2]
test al, al
je 0x4ea9b0
cmp al, 0x7d
je 0x4ea9b8
cmp al, 0x2d
je 0x4ea9a8
cmp al, 0x30
jb 0x4ea9b8
cmp al, 0x39
ja 0x4ea9b8
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4ea998
mov ebx, 1
inc esi
jmp 0x4ea9ce
mov al, byte [ecx]
test al, al
je 0x4ea9b0
cmp al, 0x7d
je 0x4ea9b0
mov edi, 0x1c
jmp 0x4eaa50
xor ebx, ebx
cmp byte [esi + 1], 0x2d
jne 0x4ea9dc
mov ebp, 1
inc esi
jmp 0x4ea9de
xor ebp, ebp
mov cl, byte [esi + 1]
lea edi, [esi + 1]
xor eax, eax
cmp cl, 0x30
jb 0x4eaa14
nop dword [eax + eax]
cmp cl, 0x39
ja 0x4eaa14
cmp eax, 0xccccccb
jg 0x4eaa2a
mov esi, edi
lea ecx, [eax + eax*4]
lea edi, [esi + 1]
movzx eax, byte [esi]
lea eax, [eax + ecx*2]
mov cl, byte [edi]
add eax, 0xffffffd0
cmp cl, 0x30
jae 0x4ea9f0
test ebx, ebx
je 0x4eaa7b
inc esi
cmp byte [esi], 0x7d
je 0x4eaa7b
mov eax, dword [esp + 0x20]
mov dword [eax], 0x39
jmp 0x4eaa4e
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jb 0x4eaa44
cmp al, 0x39
ja 0x4eaa44
mov esi, ecx
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jae 0x4eaa34
mov eax, dword [esp + 0x20]
mov dword [eax], 0x3d
xor edi, edi
mov ecx, dword [esp + 0x28]
pop ebp
test ecx, 0x20000000
je 0x4eaa68
lea ecx, [edi - 6]
cmp ecx, 5
ja 0x4eaa68
add edi, 0x17
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov dword [ecx], edx
pop ebx
pop ecx
ret
test eax, eax
jne 0x4eaa8b
mov eax, dword [esp + 0x20]
mov dword [eax], 0x3a
jmp 0x4eaa4e
test ebp, ebp
je 0x4eaaa8
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4eaaa3
mov eax, dword [esp + 0x20]
mov dword [eax], 0xf
jmp 0x4eaa4e
sub ecx, eax
lea eax, [ecx + 1]
mov edi, eax
jmp 0x4eab8e
mov edi, 0x1b
jmp 0x4eaa50
cmp dword [esp + 0x2c], 0
jne 0x4eab0f
mov al, byte [esi + 1]
lea ebp, [esi + 1]
mov dword [esp + 0x10], esi
cmp al, 0x30
jb 0x4eaaf8
nop dword [eax + eax]
cmp al, 0x39
ja 0x4eaaf8
cmp ecx, 0xccccccb
jg 0x4eab65
mov esi, ebp
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
lea ebp, [esi + 1]
movzx eax, byte [esi]
lea ecx, [eax + ecx*2]
mov al, byte [ebp]
cmp al, 0x30
jae 0x4eaad0
cmp ecx, 8
jl 0x4eab8c
cmp ecx, dword [esp + 0x24]
jle 0x4eab8c
mov esi, dword [esp + 0x10]
movzx edx, byte [esi]
cmp edx, 0x38
jae 0x4eaa4e
sub edx, 0x30
nop
mov al, byte [esi + 1]
inc edi
cmp al, 0x30
jb 0x4eab3c
cmp al, 0x37
ja 0x4eab3c
movzx eax, byte [esi + 1]
inc esi
add edx, 0xfffffffa
lea edx, [eax + edx*8]
cmp edi, 2
jl 0x4eab20
test ebx, ebx
jne 0x4eaa4e
mov ecx, dword [esp + 0x28]
xor edi, edi
cmp edx, 0xff
jbe 0x4eaa54
mov eax, dword [esp + 0x20]
mov dword [eax], 0x33
jmp 0x4eaa54
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jb 0x4eaa44
cmp al, 0x39
ja 0x4eaa44
mov esi, ecx
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jae 0x4eab73
jmp 0x4eaa44
mov edi, ecx
neg edi
cmp edi, 0xc
jne 0x4eaa50
cmp byte [esi + 1], 0x7b
jne 0x4eaa50
lea eax, [esi + 2]
push eax
call fcn.004f1780
mov ecx, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x4eaa54
mov eax, dword [esp + 0x20]
mov dword [eax], 0x25
jmp 0x4eaa54
cmp byte [esi + 1], 0x7b
je 0x4eabdf
mov eax, dword [esp + 0x20]
mov dword [eax], 0x51
jmp 0x4eaa4e
mov al, byte [esi + 2]
add esi, 2
xor edx, edx
cmp al, 0x30
jb 0x4eac1b
mov edi, 0x10ffff
cmp al, 0x37
ja 0x4eac1b
inc esi
movzx eax, al
test edx, edx
jne 0x4eac01
cmp eax, 0x30
je 0x4eac15
add eax, 0xffffffd0
test ebx, ebx
lea edx, [eax + edx*8]
mov eax, 0xff
cmovne eax, edi
cmp edx, eax
ja 0x4eac33
mov al, byte [esi]
cmp al, 0x30
jae 0x4eabf0
cmp byte [esi], 0x7d
je 0x4ead26
mov eax, dword [esp + 0x20]
mov dword [eax], 0x50
jmp 0x4eaa4e
mov al, byte [esi]
cmp al, 0x30
jb 0x4eac4c
nop dword [eax]
cmp al, 0x37
ja 0x4eac4c
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jae 0x4eac40
mov eax, dword [esp + 0x20]
mov dword [eax], 0x22
jmp 0x4eaa4e
mov ecx, dword [esp + 0x28]
test ecx, 0x2000000
je 0x4eacc2
movzx eax, byte [esi + 1]
test byte [eax + 0x556570], 8
je 0x4eae28
movzx ecx, byte [esi + 2]
test byte [ecx + 0x556570], 8
je 0x4eaa4e
mov edx, eax
cmp edx, 0x61
jb 0x4eac93
sub edx, 0x20
cmp edx, 0x41
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
cmp ecx, 0x61
jb 0x4eaca8
sub ecx, 0x20
cmp ecx, 0x41
sbb eax, eax
shl edx, 4
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, ecx
add esi, 2
jmp 0x4eaa4e
xor edx, edx
cmp byte [esi + 1], 0x7b
jne 0x4ead90
movzx ecx, byte [esi + 2]
add esi, 2
test byte [ecx + 0x556570], 8
je 0x4ead21
mov edi, 0x10ffff
inc esi
test edx, edx
jne 0x4eaced
cmp ecx, 0x30
je 0x4ead15
cmp ecx, 0x61
jb 0x4eacf5
sub ecx, 0x20
cmp ecx, 0x41
sbb eax, eax
shl edx, 4
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
mov eax, 0xff
add edx, ecx
test ebx, ebx
cmovne eax, edi
cmp edx, eax
ja 0x4ead54
movzx ecx, byte [esi]
test byte [ecx + 0x556570], 8
jne 0x4eace3
cmp byte [esi], 0x7d
jne 0x4ead81
test ebx, ebx
je 0x4eaa4e
mov ecx, dword [esp + 0x28]
lea eax, [edx - 0xd800]
xor edi, edi
cmp eax, 0x7ff
ja 0x4eaa54
mov eax, dword [esp + 0x20]
mov dword [eax], 0x49
jmp 0x4eaa54
movzx eax, byte [esi]
test byte [eax + 0x556570], 8
je 0x4eac4c
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x556570], 8
jne 0x4ead64
mov eax, dword [esp + 0x20]
mov dword [eax], 0x22
jmp 0x4eaa4e
mov eax, dword [esp + 0x20]
mov dword [eax], 0x4f
jmp 0x4eaa4e
movzx eax, byte [esi + 1]
inc edi
test byte [eax + 0x556570], 8
je 0x4eaa4e
movzx ecx, byte [esi + 1]
inc esi
cmp ecx, 0x61
jb 0x4eadaf
sub ecx, 0x20
cmp ecx, 0x41
sbb eax, eax
shl edx, 4
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, ecx
cmp edi, 2
jl 0x4ead90
jmp 0x4eaa4e
movzx edx, byte [esi + 1]
inc esi
test edx, edx
jne 0x4eade3
mov eax, dword [esp + 0x20]
mov dword [eax], 2
jmp 0x4eaa4e
cmp edx, 0x7f
jbe 0x4eadf7
mov eax, dword [esp + 0x20]
mov dword [eax], 0x44
jmp 0x4eaa4e
lea eax, [edx - 0x61]
cmp eax, 0x19
ja 0x4eae02
sub edx, 0x20
xor edx, 0x40
jmp 0x4eaa4e
mov ecx, dword [esp + 0x28]
xor edi, edi
test cl, 0x40
je 0x4eaa54
mov eax, dword [esp + 0x20]
mov dword [eax], 3
jmp 0x4eaa54
xor edi, edi
jmp 0x4eaa54