Function at 0x45af30
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 0x45afa6
mov eax, ecx
and eax, 0x3f
movzx edx, byte [eax + 0x6af790]
imul ebx, edx, 6
mov eax, dword [edx*4 + 0x6af7d0]
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 0x45afa6
movzx eax, byte [esi]
sub ebx, 6
and eax, 0x3f
mov cl, bl
inc esi
shl eax, cl
or dword [ebp - 0x28], eax
jmp 0x45af8c
dec esi
cmp dword [ebp - 0x28], 0
jne 0x45afbb
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
jmp 0x45b359
mov eax, dword [ebp - 0x28]
sub eax, 0x30
cmp eax, 0x4a
ja 0x45b359
mov edx, dword [ebp - 0x28]
movsx ebx, word [edx + edx + str.alpha]
test ebx, ebx
je 0x45afe1
mov dword [ebp - 0x28], ebx
jmp 0x45b359
cmp dword [ebp - 0x28], 0x55
je 0x45b04b
jg 0x45b019
cmp dword [ebp - 0x28], 0x39
jg 0x45b008
cmp dword [ebp - 0x28], 0x31
jge 0x45b176
cmp dword [ebp - 0x28], 0x30
je 0x45b1e9
jmp 0x45b34a
cmp dword [ebp - 0x28], 0x4c
je 0x45b04b
cmp dword [ebp - 0x28], 0x4e
je 0x45b04b
jmp 0x45b34a
cmp dword [ebp - 0x28], 0x6c
je 0x45b04b
jg 0x45b036
cmp dword [ebp - 0x28], 0x63
je 0x45b31f
cmp dword [ebp - 0x28], 0x67
je 0x45b059
jmp 0x45b34a
cmp dword [ebp - 0x28], 0x75
je 0x45b04b
cmp dword [ebp - 0x28], 0x78
je 0x45b23c
jmp 0x45b34a
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x25
jmp 0x45b359
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 0x45b359
mov dword [ebp - 0x1c], 0
cmp bl, 0x7b
jne 0x45b0d9
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 0x45b0b3
mov al, byte [ecx]
cmp al, 0x2d
je 0x45b0ae
movzx eax, al
test byte [eax + 0x6add40], 4
je 0x45b0b3
inc ecx
mov al, byte [ecx]
jmp 0x45b08b
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 0x45b359
mov dword [ebp - 0x1c], 1
inc esi
xor ebx, ebx
cmp byte [esi + 1], 0x2d
jne 0x45b0e4
mov bl, 1
inc esi
mov dword [ebp - 0x28], 0
movzx eax, byte [esi + 1]
test byte [eax + 0x6add40], 4
je 0x45b128
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 + 0x6add40], 4
jne 0x45b0f8
cmp dword [ebp - 0x28], 0
jns 0x45b128
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x3d
jmp 0x45b359
cmp dword [ebp - 0x1c], 0
je 0x45b142
inc esi
cmp byte [esi], 0x7d
je 0x45b142
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x39
jmp 0x45b359
cmp dword [ebp - 0x28], 0
jne 0x45b156
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x3a
jmp 0x45b359
test ebx, ebx
je 0x45b1c3
cmp dword [ebp - 0x28], edi
jle 0x45b16d
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xf
jmp 0x45b359
sub edi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x28], edi
jmp 0x45b1c3
cmp dword [ebp + 0x10], 0
jne 0x45b1d1
mov ebx, esi
mov dword [ebp - 0x28], eax
movzx eax, byte [esi + 1]
test byte [eax + 0x6add40], 4
je 0x45b19c
imul eax, dword [ebp - 0x28], 0xa
inc esi
movzx edx, byte [esi]
lea eax, [eax + edx - 0x30]
jmp 0x45b17e
cmp dword [ebp - 0x28], 0
jns 0x45b1b0
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x3d
jmp 0x45b359
cmp dword [ebp - 0x28], 9
setle dl
cmp dword [ebp - 0x28], edi
setle al
or eax, edx
test al, 1
je 0x45b1cf
add dword [ebp - 0x28], 0x1d
neg dword [ebp - 0x28]
jmp 0x45b359
mov esi, ebx
movzx ecx, byte [esi]
mov dword [ebp - 0x28], ecx
cmp ecx, 0x37
jle 0x45b1e9
dec esi
mov dword [ebp - 0x28], 0
jmp 0x45b359
sub dword [ebp - 0x28], 0x30
mov ebx, 1
jmp 0x45b20c
cmp al, 0x37
ja 0x45b213
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 0x45b213
mov al, byte [esi + 1]
cmp al, 0x2f
ja 0x45b1f4
cmp dword [ebp - 0x18], 0
sete dl
xor eax, eax
cmp dword [ebp - 0x28], 0xff
setg al
test edx, eax
je 0x45b359
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x33
jmp 0x45b359
mov al, byte [esi + 1]
mov byte [ebp - 0x1d], al
cmp al, 0x7b
jne 0x45b2d5
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
movzx eax, byte [esi + 2]
lea edi, [esi + 2]
test byte [eax + 0x6add40], 8
je 0x45b2a8
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 0x45b2a3
inc dword [ebp - 0x24]
cmp ebx, 0x60
jle 0x45b28a
sub ebx, 0x20
shl dword [ebp - 0x28], 4
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp ebx, 0x40
jg 0x45b29d
sub eax, 0x30
jmp 0x45b2a0
sub eax, 0x37
mov dword [ebp - 0x28], eax
movzx eax, byte [edi]
jmp 0x45b25f
cmp byte [edi], 0x7d
jne 0x45b2d5
cmp dword [ebp - 0x28], 0
js 0x45b2c5
cmp dword [ebp - 0x18], 0
je 0x45b2bf
cmp dword [ebp - 0x24], 8
jmp 0x45b2c3
cmp dword [ebp - 0x24], 2
jle 0x45b2ce
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x22
mov esi, edi
jmp 0x45b359
movzx eax, byte [ebp - 0x1d]
mov dword [ebp - 0x28], 0
mov ebx, 1
test byte [eax + 0x6add40], 8
je 0x45b359
inc esi
movzx edx, byte [esi]
cmp edx, 0x60
jle 0x45b2fa
sub edx, 0x20
shl dword [ebp - 0x28], 4
mov eax, dword [ebp - 0x28]
add eax, edx
cmp edx, 0x40
jg 0x45b30d
sub eax, 0x30
jmp 0x45b310
sub eax, 0x37
mov dword [ebp - 0x28], eax
mov eax, ebx
inc ebx
dec eax
jg 0x45b359
movzx eax, byte [esi + 1]
jmp 0x45b2e5
inc esi
movzx ecx, byte [esi]
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x45b335
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x45b359
mov eax, dword [ebp - 0x28]
sub eax, 0x61
cmp eax, 0x19
ja 0x45b344
sub dword [ebp - 0x28], 0x20
xor dword [ebp - 0x28], 0x40
jmp 0x45b359
test byte [ebp + 0xc], 0x40
je 0x45b359
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