Function at 0x419be0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0xc]
shr ebp, 0xb
mov esi, dword [esi]
movzx edx, byte [esi + 1]
add esi, 2
and ebp, 1
je 0x419cd1
cmp edx, 0xc0
jl 0x419cd1
test dl, 0x20
jne 0x419c24
movzx eax, byte [esi]
and edx, 0x1f
and eax, 0x3f
shl edx, 6
or edx, eax
inc esi
jmp 0x419cd1
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
and ecx, 0x3f
and eax, 0x3f
test dl, 0x10
jne 0x419c4b
and edx, 0xf
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
add esi, 2
jmp 0x419cd1
test dl, 8
jne 0x419c6e
and edx, 7
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 6
and eax, 0x3f
or edx, eax
add esi, 3
jmp 0x419cd1
test dl, 4
jne 0x419c9d
and edx, 3
shl edx, 6
or edx, ecx
shl edx, 6
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 0x419cd1
and edx, 1
shl edx, 6
or edx, ecx
shl edx, 6
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 0x419ce2
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x419d21
lea ecx, [edx - 0x30]
push ebx
push edi
cmp ecx, 0x4a
ja 0x419cfa
movsx ebx, word [ecx*2 + 0x48b078]
test ebx, ebx
je 0x419d47
mov edx, ebx
mov edi, dword [esp + 0x18]
cmp edx, 0xfffffff4
jne 0x419d1f
cmp byte [esi + 1], 0x7b
jne 0x419d1f
lea eax, [esi + 2]
push eax
call fcn.0041fc30
add esp, 4
test eax, eax
jne 0x419d1f
mov dword [edi], 0x25
pop edi
pop ebx
test dword [esp + 0x18], 0x20000000
je 0x41a259
lea eax, [edx + 0xb]
cmp eax, 5
mov eax, dword [esp + 0xc]
mov dword [eax], esi
ja 0x41a25f
pop esi
lea eax, [edx - 0x17]
pop ebp
ret
cmp ecx, 0x48
ja case.0x419d57.10
movzx eax, byte [ecx + 0x41a288]
jmp dword [eax*4 + 0x41a264]
mov ecx, dword [esp + 0x18]
mov edi, ecx
mov dword [ecx], 0x25
jmp 0x419cfe
test dword [esp + 0x20], 0x2000000
je 0x419e3b
movzx eax, byte [esi + 1]
test byte [eax + 0x48be50], 8
je 0x419cfa
movzx ecx, byte [esi + 2]
test byte [ecx + 0x48be50], 8
je 0x419cfa
movzx edi, byte [esi + 3]
test byte [edi + 0x48be50], 8
je 0x419cfa
movzx ebx, byte [esi + 4]
test byte [ebx + 0x48be50], 8
je 0x419cfa
mov edx, eax
cmp edx, 0x61
jl 0x419dc8
sub edx, 0x20
xor eax, eax
cmp edx, 0x41
setge al
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
cmp ecx, 0x61
jl 0x419de1
sub ecx, 0x20
xor eax, eax
cmp ecx, 0x41
setge al
shl edx, 4
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, ecx
cmp edi, 0x61
jl 0x419dff
sub edi, 0x20
xor eax, eax
cmp edi, 0x41
setge al
shl edx, 4
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, edi
cmp ebx, 0x61
jl 0x419e1d
sub ebx, 0x20
xor eax, eax
cmp ebx, 0x41
setge al
shl edx, 4
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, ebx
add esi, 4
jmp 0x419cfa
mov edi, dword [esp + 0x18]
mov dword [edi], 0x25
jmp 0x419cfe
test dword [esp + 0x20], 0x2000000
mov edi, dword [esp + 0x18]
jne 0x419cfe
mov dword [edi], 0x25
jmp 0x419cfe
cmp dword [esp + 0x24], 0
jne 0x419cfa
mov al, byte [esi + 1]
cmp al, 0x3c
je 0x419fb2
cmp al, 0x27
je 0x419fb2
cmp al, 0x7b
jne 0x419ec7
mov al, byte [esi + 2]
lea ecx, [esi + 2]
test al, al
je 0x419eab
cmp al, 0x7d
je 0x419eb3
cmp al, 0x2d
je 0x419ea3
cmp al, 0x30
jb 0x419eb3
cmp al, 0x39
ja 0x419eb3
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x419e93
mov edi, 1
inc esi
jmp 0x419ec9
mov al, byte [ecx]
test al, al
je 0x419eab
cmp al, 0x7d
je 0x419eab
mov edx, 0xffffffe4
jmp 0x419d1f
xor edi, edi
cmp byte [esi + 1], 0x2d
lea eax, [esi + 1]
jne 0x419edb
mov ebx, 1
mov esi, eax
jmp 0x419edd
xor ebx, ebx
mov al, byte [esi + 1]
lea ecx, [esi + 1]
xor edx, edx
cmp al, 0x30
jb 0x419f58
lea esp, [esp]
cmp al, 0x39
ja 0x419f14
cmp edx, 0xccccccc
ja 0x419f53
mov esi, ecx
lea ecx, [edx - 6]
lea ecx, [edx + ecx*4]
movzx eax, byte [esi]
lea edx, [eax + ecx*2]
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jae 0x419ef0
cmp edx, 0x7fffffff
jbe 0x419f58
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jb 0x41a017
lea ebx, [ebx]
cmp al, 0x39
ja 0x41a017
mov esi, ecx
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jae 0x419f30
mov edi, dword [esp + 0x18]
mov dword [edi], 0x3d
jmp 0x419cfe
or edx, 0xffffffff
jmp 0x419f1c
test edi, edi
je 0x419f71
inc esi
cmp byte [esi], 0x7d
je 0x419f71
mov edi, dword [esp + 0x18]
mov dword [edi], 0x39
jmp 0x419cfe
test edx, edx
jne 0x419f84
mov eax, dword [esp + 0x18]
mov dword [eax], 0x3a
jmp 0x419d1f
test ebx, ebx
je 0x419fa4
mov eax, dword [esp + 0x1c]
cmp edx, eax
jle 0x419f9f
mov edi, dword [esp + 0x18]
mov dword [edi], 0xf
jmp 0x419cfe
sub eax, edx
lea edx, [eax + 1]
mov eax, 0xffffffdd
sub eax, edx
mov edx, eax
jmp 0x419cfa
mov edx, 0xffffffe5
jmp 0x419d1f
cmp dword [esp + 0x24], 0
jne 0x41a040
mov al, byte [esi + 1]
mov edx, ecx
lea ecx, [esi + 1]
mov edi, esi
cmp al, 0x30
jb 0x419ff5
cmp al, 0x39
ja 0x419ff5
cmp edx, 0xccccccc
ja 0x41a026
mov esi, ecx
lea ecx, [edx - 6]
lea ecx, [edx + ecx*4]
movzx eax, byte [esi]
lea edx, [eax + ecx*2]
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jae 0x419fd1
cmp edx, 0x7fffffff
jbe 0x41a02b
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jb 0x41a017
cmp al, 0x39
ja 0x41a017
mov esi, ecx
mov al, byte [esi + 1]
lea ecx, [esi + 1]
cmp al, 0x30
jae 0x41a007
mov edi, dword [esp + 0x18]
mov dword [edi], 0x3d
jmp 0x419cfe
or edx, 0xffffffff
jmp 0x419ffd
cmp edx, 0xa
jl 0x419fa4
cmp edx, dword [esp + 0x1c]
jle 0x419fa4
mov esi, edi
movzx edx, byte [esi]
cmp edx, 0x38
jl case.0x419d57.0
dec esi
xor edx, edx
jmp 0x419d1f
sub edx, 0x30
mov al, byte [esi + 1]
inc ebx
cmp al, 0x30
jb 0x41a06f
cmp al, 0x37
ja 0x41a06f
movzx eax, byte [esi + 1]
inc esi
add edx, 0xfffffffa
lea edx, [eax + edx*8]
cmp ebx, 2
jl 0x41a053
mov edi, dword [esp + 0x18]
test ebp, ebp
jne 0x419cfe
cmp edx, 0xff
jle 0x419cfe
mov dword [edi], 0x33
jmp 0x419cfe
test dword [esp + 0x20], 0x2000000
je 0x41a0ff
movzx eax, byte [esi + 1]
test byte [eax + 0x48be50], 8
je 0x419cfa
movzx ecx, byte [esi + 2]
test byte [ecx + 0x48be50], 8
je 0x419cfa
mov edx, eax
cmp edx, 0x61
jl 0x41a0c8
sub edx, 0x20
xor eax, eax
cmp edx, 0x41
setge al
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
cmp ecx, 0x61
jl 0x41a0e1
sub ecx, 0x20
xor eax, eax
cmp ecx, 0x41
setge al
shl edx, 4
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, ecx
add esi, 2
jmp 0x419cfa
cmp byte [esi + 1], 0x7b
jne 0x41a1bc
movzx ecx, byte [esi + 2]
lea edi, [esi + 2]
xor edx, edx
test byte [ecx + 0x48be50], 8
je 0x41a16c
jmp 0x41a120
inc edi
test edx, edx
jne 0x41a12a
cmp ecx, 0x30
je 0x41a15c
cmp ecx, 0x61
jl 0x41a132
sub ecx, 0x20
xor eax, eax
cmp ecx, 0x41
setge al
shl edx, 4
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
mov eax, ebp
add edx, ecx
neg eax
sbb eax, eax
and eax, 0x10ff00
add eax, 0xff
cmp edx, eax
jg 0x41a193
movzx ecx, byte [edi]
test byte [ecx + 0x48be50], 8
jne 0x41a120
test edx, edx
js 0x41a196
mov ecx, dword [esp + 0x18]
cmp byte [edi], 0x7d
jne 0x41a1bc
test ebp, ebp
je 0x41a18c
lea eax, [edx - 0xd800]
cmp eax, 0x7ff
ja 0x41a18c
mov dword [ecx], 0x49
mov esi, edi
jmp 0x419cfa
or edx, 0xffffffff
movzx eax, byte [edi]
test byte [eax + 0x48be50], 8
je 0x41a1b0
movzx eax, byte [edi + 1]
inc edi
test byte [eax + 0x48be50], 8
jne 0x41a1a2
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0x22
jmp 0x41a170
xor edx, edx
mov edi, edi
movzx eax, byte [esi + 1]
inc ebx
test byte [eax + 0x48be50], 8
je 0x419cfa
movzx ecx, byte [esi + 1]
inc esi
cmp ecx, 0x61
jl 0x41a1df
sub ecx, 0x20
xor eax, eax
cmp ecx, 0x41
setge al
shl edx, 4
dec eax
and eax, 0xfffffff9
add eax, 0x37
sub edx, eax
add edx, ecx
cmp ebx, 2
jl 0x41a1c0
jmp 0x419cfa
movzx edx, byte [esi + 1]
inc esi
test edx, edx
jne 0x41a217
mov eax, dword [esp + 0x18]
mov dword [eax], 2
jmp 0x419d1f
cmp edx, 0x7f
jle 0x41a22b
mov edi, dword [esp + 0x18]
mov dword [edi], 0x44
jmp 0x419cfe
lea eax, [edx - 0x61]
cmp eax, 0x19
ja 0x41a236
sub edx, 0x20
xor edx, 0x40
jmp 0x419cfa
mov eax, dword [esp + 0x20]
test al, 0x40
je 0x419cfa
mov edi, dword [esp + 0x18]
mov dword [edi], 3
jmp 0x419cfe
mov eax, dword [esp + 0xc]
mov dword [eax], esi
pop esi
mov eax, edx
pop ebp
ret