Function at 0x45afd0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
shr edx, 0xb
lea esi, [eax + 2]
movzx ecx, byte [eax + 1]
and edx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], edx
setne dl
xor eax, eax
cmp ecx, 0xbf
setg al
test edx, eax
je 0x45b046
mov eax, ecx
and eax, 0x3f
movzx edx, byte [eax + 0x530790]
imul ebx, edx, 6
mov eax, dword [edx*4 + 0x5307d0]
and ecx, eax
mov dword [ebp - 0x28], ecx
mov cl, bl
shl dword [ebp - 0x28], cl
mov eax, edx
dec edx
test eax, eax
jle 0x45b046
movzx eax, byte [esi]
sub ebx, 6
and eax, 0x3f
mov cl, bl
inc esi
shl eax, cl
or dword [ebp - 0x28], eax
jmp 0x45b02c
dec esi
cmp dword [ebp - 0x28], 0
jne 0x45b05b
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
jmp 0x45b3f9
mov eax, dword [ebp - 0x28]
sub eax, 0x30
cmp eax, 0x4a
ja 0x45b3f9
mov edx, dword [ebp - 0x28]
movsx ebx, word [edx + edx + str.alpha]
test ebx, ebx
je 0x45b081
mov dword [ebp - 0x28], ebx
jmp 0x45b3f9
cmp dword [ebp - 0x28], 0x55
je 0x45b0eb
jg 0x45b0b9
cmp dword [ebp - 0x28], 0x39
jg 0x45b0a8
cmp dword [ebp - 0x28], 0x31
jge 0x45b216
cmp dword [ebp - 0x28], 0x30
je 0x45b289
jmp 0x45b3ea
cmp dword [ebp - 0x28], 0x4c
je 0x45b0eb
cmp dword [ebp - 0x28], 0x4e
je 0x45b0eb
jmp 0x45b3ea
cmp dword [ebp - 0x28], 0x6c
je 0x45b0eb
jg 0x45b0d6
cmp dword [ebp - 0x28], 0x63
je 0x45b3bf
cmp dword [ebp - 0x28], 0x67
je 0x45b0f9
jmp 0x45b3ea
cmp dword [ebp - 0x28], 0x75
je 0x45b0eb
cmp dword [ebp - 0x28], 0x78
je 0x45b2dc
jmp 0x45b3ea
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x25
jmp 0x45b3f9
mov bl, byte [esi + 1]
mov dword [ebp - 0x28], 0xffffffe5
cmp bl, 0x3c
sete dl
cmp bl, 0x27
sete al
or eax, edx
test al, 1
jne 0x45b3f9
mov dword [ebp - 0x1c], 0
cmp bl, 0x7b
jne 0x45b179
lea ecx, [esi + 2]
mov al, byte [esi + 2]
test al, al
setne dl
cmp al, 0x7d
setne al
movzx eax, al
test edx, eax
je 0x45b153
mov al, byte [ecx]
cmp al, 0x2d
je 0x45b14e
movzx eax, al
test byte [eax + 0x52ed40], 4
je 0x45b153
inc ecx
mov al, byte [ecx]
jmp 0x45b12b
mov al, byte [ecx]
mov dword [ebp - 0x28], 0xffffffe4
test al, al
setne dl
cmp al, 0x7d
setne al
movzx eax, al
test edx, eax
jne 0x45b3f9
mov dword [ebp - 0x1c], 1
inc esi
xor ebx, ebx
cmp byte [esi + 1], 0x2d
jne 0x45b184
mov bl, 1
inc esi
mov dword [ebp - 0x28], 0
movzx eax, byte [esi + 1]
test byte [eax + 0x52ed40], 4
je 0x45b1c8
imul eax, dword [ebp - 0x28], 0xa
inc esi
movzx edx, byte [esi]
lea eax, [eax + edx - 0x30]
mov dword [ebp - 0x28], eax
movzx eax, byte [esi + 1]
test byte [eax + 0x52ed40], 4
jne 0x45b198
cmp dword [ebp - 0x28], 0
jns 0x45b1c8
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x3d
jmp 0x45b3f9
cmp dword [ebp - 0x1c], 0
je 0x45b1e2
inc esi
cmp byte [esi], 0x7d
je 0x45b1e2
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x39
jmp 0x45b3f9
cmp dword [ebp - 0x28], 0
jne 0x45b1f6
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x3a
jmp 0x45b3f9
test ebx, ebx
je 0x45b263
cmp dword [ebp - 0x28], edi
jle 0x45b20d
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xf
jmp 0x45b3f9
sub edi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x28], edi
jmp 0x45b263
cmp dword [ebp + 0x10], 0
jne 0x45b271
mov ebx, esi
mov dword [ebp - 0x28], eax
movzx eax, byte [esi + 1]
test byte [eax + 0x52ed40], 4
je 0x45b23c
imul eax, dword [ebp - 0x28], 0xa
inc esi
movzx edx, byte [esi]
lea eax, [eax + edx - 0x30]
jmp 0x45b21e
cmp dword [ebp - 0x28], 0
jns 0x45b250
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x3d
jmp 0x45b3f9
cmp dword [ebp - 0x28], 9
setle dl
cmp dword [ebp - 0x28], edi
setle al
or eax, edx
test al, 1
je 0x45b26f
add dword [ebp - 0x28], 0x1d
neg dword [ebp - 0x28]
jmp 0x45b3f9
mov esi, ebx
movzx ecx, byte [esi]
mov dword [ebp - 0x28], ecx
cmp ecx, 0x37
jle 0x45b289
dec esi
mov dword [ebp - 0x28], 0
jmp 0x45b3f9
sub dword [ebp - 0x28], 0x30
mov ebx, 1
jmp 0x45b2ac
cmp al, 0x37
ja 0x45b2b3
inc esi
mov edx, dword [ebp - 0x28]
movzx eax, byte [esi]
lea eax, [eax + edx*8 - 0x30]
mov dword [ebp - 0x28], eax
mov eax, ebx
inc ebx
dec eax
jg 0x45b2b3
mov al, byte [esi + 1]
cmp al, 0x2f
ja 0x45b294
cmp dword [ebp - 0x18], 0
sete dl
xor eax, eax
cmp dword [ebp - 0x28], 0xff
setg al
test edx, eax
je 0x45b3f9
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x33
jmp 0x45b3f9
mov al, byte [esi + 1]
mov byte [ebp - 0x1d], al
cmp al, 0x7b
jne 0x45b375
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
movzx eax, byte [esi + 2]
lea edi, [esi + 2]
test byte [eax + 0x52ed40], 8
je 0x45b348
movzx ebx, byte [edi]
inc edi
cmp dword [ebp - 0x28], 0
sete dl
xor eax, eax
cmp ebx, 0x30
sete al
test edx, eax
jne 0x45b343
inc dword [ebp - 0x24]
cmp ebx, 0x60
jle 0x45b32a
sub ebx, 0x20
shl dword [ebp - 0x28], 4
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp ebx, 0x40
jg 0x45b33d
sub eax, 0x30
jmp 0x45b340
sub eax, 0x37
mov dword [ebp - 0x28], eax
movzx eax, byte [edi]
jmp 0x45b2ff
cmp byte [edi], 0x7d
jne 0x45b375
cmp dword [ebp - 0x28], 0
js 0x45b365
cmp dword [ebp - 0x18], 0
je 0x45b35f
cmp dword [ebp - 0x24], 8
jmp 0x45b363
cmp dword [ebp - 0x24], 2
jle 0x45b36e
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x22
mov esi, edi
jmp 0x45b3f9
movzx eax, byte [ebp - 0x1d]
mov dword [ebp - 0x28], 0
mov ebx, 1
test byte [eax + 0x52ed40], 8
je 0x45b3f9
inc esi
movzx edx, byte [esi]
cmp edx, 0x60
jle 0x45b39a
sub edx, 0x20
shl dword [ebp - 0x28], 4
mov eax, dword [ebp - 0x28]
add eax, edx
cmp edx, 0x40
jg 0x45b3ad
sub eax, 0x30
jmp 0x45b3b0
sub eax, 0x37
mov dword [ebp - 0x28], eax
mov eax, ebx
inc ebx
dec eax
jg 0x45b3f9
movzx eax, byte [esi + 1]
jmp 0x45b385
inc esi
movzx ecx, byte [esi]
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x45b3d5
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x45b3f9
mov eax, dword [ebp - 0x28]
sub eax, 0x61
cmp eax, 0x19
ja 0x45b3e4
sub dword [ebp - 0x28], 0x20
xor dword [ebp - 0x28], 0x40
jmp 0x45b3f9
test byte [ebp + 0xc], 0x40
je 0x45b3f9
mov edx, dword [ebp - 0x14]
mov dword [edx], 3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov dword [ecx], esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret