Function at 0x46c53f
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x25
jmp 0x42fc66
mov al, byte [ecx + 1]
cmp al, 0x3c
je 0x42fabc
cmp al, 0x27
je 0x42fabc
cmp al, 0x7b
jne 0x42fa14
mov al, byte [ecx + 2]
lea edx, [ecx + 2]
test al, al
je 0x42f9f7
jmp 0x42f9db
cmp al, 0x7d
je 0x42f9ff
cmp al, 0x2d
je 0x42f9ef
movzx eax, al
test byte [eax + 0x487ad0], 4
je 0x42f9ff
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x42f9db
mov esi, 1
inc ecx
jmp 0x42fa16
mov dl, byte [edx]
test dl, dl
je 0x42f9f7
cmp dl, 0x7d
je 0x42f9f7
mov eax, 0xffffffe4
jmp 0x42fc7a
xor esi, esi
cmp byte [ecx + 1], 0x2d
jne 0x42fa24
mov edx, 1
inc ecx
jmp 0x42fa26
xor edx, edx
movzx edi, byte [ecx + 1]
xor eax, eax
test byte [edi + 0x487ad0], 4
je 0x42fa66
lea ebx, [ebx]
movzx edi, byte [ecx + 1]
inc ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
movzx edi, byte [ecx + 1]
test byte [edi + 0x487ad0], 4
jne 0x42fa3b
test eax, eax
jns 0x42fa66
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x3d
jmp 0x42fc66
test esi, esi
je 0x42fa7e
inc ecx
cmp byte [ecx], 0x7d
je 0x42fa7e
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x39
jmp 0x42fc66
test eax, eax
jne 0x42fa90
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x3a
jmp 0x42fc7a
test edx, edx
je 0x42faae
mov edx, dword [ebp + 0x10]
cmp eax, edx
jle 0x42faa9
mov edx, dword [ebp + 0xc]
mov dword [edx], 0xf
jmp 0x42fc66
sub edx, eax
lea eax, [edx + 1]
mov edx, 0xffffffdd
sub edx, eax
mov eax, edx
jmp 0x42fc66
mov eax, 0xffffffe5
jmp 0x42fc7a
cmp dword [ebp + 0x18], 0
jne 0x42fb14
mov eax, edx
movzx edx, byte [ecx + 1]
test byte [edx + 0x487ad0], 4
mov edi, ecx
je 0x42faf6
movzx edx, byte [ecx + 1]
inc ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*2 - 0x30]
movzx edx, byte [ecx + 1]
test byte [edx + 0x487ad0], 4
jne 0x42fadd
test eax, eax
jns 0x42fb08
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x3d
jmp 0x42fc66
cmp eax, 0xa
jl 0x42faae
cmp eax, dword [ebp + 0x10]
jle 0x42faae
mov ecx, edi
movzx eax, byte [ecx]
cmp eax, 0x38
jl case.0x46c684.0
dec ecx
xor eax, eax
jmp 0x42fc7a
sub eax, 0x30
lea esp, [esp]
mov dl, byte [ecx + 1]
inc ebx
cmp dl, 0x30
jb 0x42fb47
cmp dl, 0x37
ja 0x42fb47
movzx edx, byte [ecx + 1]
inc ecx
lea eax, [edx + eax*8 - 0x30]
cmp ebx, 2
jl 0x42fb2b
test esi, esi
jne 0x42fc66
cmp eax, 0xff
jle 0x42fc66
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x33
jmp 0x42fc66
cmp byte [ecx + 1], 0x7b
jne 0x42fbe5
movzx edi, byte [ecx + 2]
lea edx, [ecx + 2]
xor eax, eax
test byte [edi + 0x487ad0], 8
mov dword [ebp - 4], eax
je 0x42fbbd
inc edx
test eax, eax
jne 0x42fb8d
cmp edi, 0x30
je 0x42fbb1
inc dword [ebp - 4]
cmp edi, 0x61
jl 0x42fb98
sub edi, 0x20
xor ebx, ebx
cmp edi, 0x41
setge bl
shl eax, 4
dec ebx
and ebx, 0xfffffff9
add ebx, 0x37
sub eax, ebx
mov ebx, dword [ebp - 8]
add eax, edi
movzx edi, byte [edx]
test byte [edi + 0x487ad0], 8
jne 0x42fb83
cmp byte [edx], 0x7d
jne 0x42fbe5
test eax, eax
js 0x42fbd5
neg esi
sbb esi, esi
and esi, 6
add esi, 2
cmp dword [ebp - 4], esi
jle 0x42fbde
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x22
mov ecx, edx
jmp 0x42fc66
xor eax, eax
lea esp, [esp]
movzx edx, byte [ecx + 1]
inc ebx
test byte [edx + 0x487ad0], 8
je 0x42fc66
movzx esi, byte [ecx + 1]
inc ecx
cmp esi, 0x61
jl 0x42fc06
sub esi, 0x20
xor edx, edx
cmp esi, 0x41
setge dl
shl eax, 4
dec edx
and edx, 0xfffffff9
add edx, 0x37
sub eax, edx
add eax, esi
cmp ebx, 2
jl 0x42fbeb
jmp 0x42fc66
movzx eax, byte [ecx + 1]
inc ecx
test eax, eax
jne 0x42fc37
mov edx, dword [ebp + 0xc]
mov dword [edx], 2
jmp 0x42fc7a
cmp eax, 0x7f
jle 0x42fc47
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x44
jmp 0x42fc66
lea edx, [eax - 0x61]
cmp edx, 0x19
ja 0x42fc52
sub eax, 0x20
xor eax, 0x40
jmp 0x42fc66
test byte [ebp + 0x14], 0x40
je 0x42fc66
mov edx, dword [ebp + 0xc]
mov dword [edx], 3
cmp eax, 0xfffffff4
jne 0x42fc7a
cmp byte [ecx + 1], 0x7b
jne 0x42fc7a
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x25
pop edi
pop ebx
test dword [ebp + 0x14], 0x20000000
pop esi
je 0x42fc91
lea edx, [eax + 0xb]
cmp edx, 5
ja 0x42fc91
sub eax, 0x17
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx eax, byte [ecx + 1]
sub esp, 8
push esi
mov esi, dword [ebp + 0x14]
shr esi, 0xb
add ecx, 2
and esi, 1
je 0x46c63d
cmp eax, 0xc0
jl 0x46c63d
movzx edx, byte [ecx]
and edx, 0x3f
test al, 0x20
jne 0x46c584
and eax, 0x1f
shl eax, 6
or eax, edx
inc ecx
jmp 0x46c63d
test al, 0x10
jne 0x46c5a4
and eax, 0xf
shl eax, 6
or edx, eax
movzx eax, byte [ecx + 1]
shl edx, 6
and eax, 0x3f
or eax, edx
add ecx, 2
jmp 0x46c63d
test al, 8
jne 0x46c5cd
and eax, 7
shl eax, 6
or edx, eax
movzx eax, byte [ecx + 1]
and eax, 0x3f
shl edx, 6
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
add ecx, 3
jmp 0x46c63d
test al, 4
jne 0x46c602
and eax, 3
shl eax, 6
or edx, eax
movzx eax, byte [ecx + 1]
and eax, 0x3f
shl edx, 6
or edx, eax
movzx eax, byte [ecx + 2]
and eax, 0x3f
shl edx, 6
or edx, eax
movzx eax, byte [ecx + 3]
shl edx, 6
and eax, 0x3f
or eax, edx
add ecx, 4
jmp 0x46c63d
and eax, 1
shl eax, 6
or edx, eax
movzx eax, byte [ecx + 1]
and eax, 0x3f
shl edx, 6
or edx, eax
movzx eax, byte [ecx + 2]
and eax, 0x3f
shl edx, 6
or edx, eax
movzx eax, byte [ecx + 3]
and eax, 0x3f
shl edx, 6
or edx, eax
movzx eax, byte [ecx + 4]
shl edx, 6
and eax, 0x3f
or eax, edx
add ecx, 5
dec ecx
test eax, eax
jne 0x46c650
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
jmp 0x46c960
lea edx, [eax - 0x30]
push ebx
push edi
cmp edx, 0x4a
ja 0x46c94a
movsx ebx, word [edx*2 + 0x486ea8]
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x46c674
mov eax, ebx
jmp 0x46c94a
cmp edx, 0x48
ja case.default.0x46c684
movzx edi, byte [edx + 0x42fcb7]
jmp dword [edi*4 + 0x42fc9b]
test byte [ebp + 0x14], 0x40
je 0x46c94a
mov edx, dword [ebp + 0xc]
mov dword [edx], 3