Function at 0x496f7c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x496f84
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 0xc]
xor eax, eax
push ebp
push 0x497536
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403fc0
and eax, 0x80000003
jns 0x496fb9
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x496fd3
mov ecx, 0x49754c
mov dl, 1
mov eax, dword [0x407a70]
call fcn.0040b29c
call fcn.0040378c
mov eax, dword [ebp - 4]
call fcn.00403fc0
test eax, eax
jns 0x496fe2
add eax, 3
sar eax, 2
dec eax
lea edx, [eax + eax*2]
mov eax, dword [ebp - 8]
call fcn.004042f4
mov eax, dword [ebp - 4]
call fcn.00403fc0
mov edi, eax
test edi, edi
jns 0x497002
add edi, 3
sar edi, 2
dec edi
test edi, edi
jle 0x497188
mov esi, 1
mov eax, esi
dec eax
shl eax, 2
mov edx, dword [ebp - 4]
lea eax, [edx + eax]
mov edx, ebx
mov ecx, 4
call fcn.00402880
mov al, byte [ebx]
cmp al, 0x40
jbe 0x49703a
cmp al, 0x5b
jae 0x49703a
sub byte [ebx], 0x41
jmp 0x497064
mov al, byte [ebx]
cmp al, 0x60
jbe 0x497049
cmp al, 0x7b
jae 0x497049
sub byte [ebx], 0x47
jmp 0x497064
mov al, byte [ebx]
cmp al, 0x2f
jbe 0x497058
cmp al, 0x3a
jae 0x497058
add byte [ebx], 4
jmp 0x497064
cmp al, 0x2b
jne 0x497061
mov byte [ebx], 0x3e
jmp 0x497064
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x497075
cmp al, 0x5b
jae 0x497075
sub byte [ebx + 1], 0x41
jmp 0x4970a5
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x497086
cmp al, 0x7b
jae 0x497086
sub byte [ebx + 1], 0x47
jmp 0x4970a5
mov al, byte [ebx + 1]
cmp al, 0x2f
jbe 0x497097
cmp al, 0x3a
jae 0x497097
add byte [ebx + 1], 4
jmp 0x4970a5
cmp al, 0x2b
jne 0x4970a1
mov byte [ebx + 1], 0x3e
jmp 0x4970a5
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x4970b6
cmp al, 0x5b
jae 0x4970b6
sub byte [ebx + 2], 0x41
jmp 0x4970e6
mov al, byte [ebx + 2]
cmp al, 0x60
jbe 0x4970c7
cmp al, 0x7b
jae 0x4970c7
sub byte [ebx + 2], 0x47
jmp 0x4970e6
mov al, byte [ebx + 2]
cmp al, 0x2f
jbe 0x4970d8
cmp al, 0x3a
jae 0x4970d8
add byte [ebx + 2], 4
jmp 0x4970e6
cmp al, 0x2b
jne 0x4970e2
mov byte [ebx + 2], 0x3e
jmp 0x4970e6
mov byte [ebx + 2], 0x3f
mov al, byte [ebx + 3]
cmp al, 0x40
jbe 0x4970f7
cmp al, 0x5b
jae 0x4970f7
sub byte [ebx + 3], 0x41
jmp 0x497127
mov al, byte [ebx + 3]
cmp al, 0x60
jbe 0x497108
cmp al, 0x7b
jae 0x497108
sub byte [ebx + 3], 0x47
jmp 0x497127
mov al, byte [ebx + 3]
cmp al, 0x2f
jbe 0x497119
cmp al, 0x3a
jae 0x497119
add byte [ebx + 3], 4
jmp 0x497127
cmp al, 0x2b
jne 0x497123
mov byte [ebx + 3], 0x3e
jmp 0x497127
mov byte [ebx + 3], 0x3f
mov dl, byte [ebx]
shl edx, 2
mov al, byte [ebx + 1]
xor ecx, ecx
mov cl, al
shr ecx, 4
and cl, 3
or dl, cl
mov byte [ebp - 0xf], dl
shl eax, 4
xor edx, edx
mov dl, byte [ebx + 2]
shr edx, 2
and dl, 0xf
or al, dl
mov byte [ebp - 0xe], al
mov al, byte [ebx + 2]
shl eax, 6
mov dl, byte [ebx + 3]
and dl, 0x3f
or al, dl
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 8]
call fcn.00404190
mov edx, esi
dec edx
lea edx, [edx + edx*2]
lea edx, [eax + edx]
lea eax, [ebp - 0xf]
mov ecx, 3
call fcn.00402880
inc esi
dec edi
jne 0x497013
mov eax, dword [ebp - 4]
call fcn.00403fc0
test eax, eax
je 0x49751b
mov eax, dword [ebp - 4]
call fcn.00403fc0
mov edx, dword [ebp - 4]
lea eax, [edx + eax - 4]
mov edx, ebx
mov ecx, 4
call fcn.00402880
cmp byte [ebx + 2], 0x3d
jne 0x49726e
mov al, byte [ebx]
cmp al, 0x40
jbe 0x4971cc
cmp al, 0x5b
jae 0x4971cc
sub byte [ebx], 0x41
jmp 0x4971f7
mov al, byte [ebx]
cmp al, 0x60
jbe 0x4971db
cmp al, 0x7b
jae 0x4971db
sub byte [ebx], 0x47
jmp 0x4971f7
cmp byte [ebx], 0x2f
jbe 0x4971ea
cmp byte [ebx], 0x3a
jae 0x4971ea
add byte [ebx], 4
jmp 0x4971f7
cmp byte [ebx], 0x2b
jne 0x4971f4
mov byte [ebx], 0x3e
jmp 0x4971f7
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x497208
cmp al, 0x5b
jae 0x497208
sub byte [ebx + 1], 0x41
jmp 0x49723b
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x497219
cmp al, 0x7b
jae 0x497219
sub byte [ebx + 1], 0x47
jmp 0x49723b
cmp byte [ebx + 1], 0x2f
jbe 0x49722b
cmp byte [ebx + 1], 0x3a
jae 0x49722b
add byte [ebx + 1], 4
jmp 0x49723b
cmp byte [ebx + 1], 0x2b
jne 0x497237
mov byte [ebx + 1], 0x3e
jmp 0x49723b
mov byte [ebx + 1], 0x3f
mov al, byte [ebx]
shl eax, 2
xor edx, edx
mov dl, byte [ebx + 1]
shr edx, 4
and dl, 3
or al, dl
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x14]
mov dl, byte [ebp - 0xf]
call fcn.00403ee8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00403fc8
mov eax, dword [ebp - 8]
jmp 0x49751b
cmp byte [ebx + 3], 0x3d
jne 0x497399
mov al, byte [ebx]
cmp al, 0x40
jbe 0x497287
cmp al, 0x5b
jae 0x497287
sub byte [ebx], 0x41
jmp 0x4972b2
cmp byte [ebx], 0x60
jbe 0x497296
cmp byte [ebx], 0x7b
jae 0x497296
sub byte [ebx], 0x47
jmp 0x4972b2
cmp byte [ebx], 0x2f
jbe 0x4972a5
cmp byte [ebx], 0x3a
jae 0x4972a5
add byte [ebx], 4
jmp 0x4972b2
cmp byte [ebx], 0x2b
jne 0x4972af
mov byte [ebx], 0x3e
jmp 0x4972b2
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x4972c3
cmp al, 0x5b
jae 0x4972c3
sub byte [ebx + 1], 0x41
jmp 0x4972f7
cmp byte [ebx + 1], 0x60
jbe 0x4972d5
cmp byte [ebx + 1], 0x7b
jae 0x4972d5
sub byte [ebx + 1], 0x47
jmp 0x4972f7
cmp byte [ebx + 1], 0x2f
jbe 0x4972e7
cmp byte [ebx + 1], 0x3a
jae 0x4972e7
add byte [ebx + 1], 4
jmp 0x4972f7
cmp byte [ebx + 1], 0x2b
jne 0x4972f3
mov byte [ebx + 1], 0x3e
jmp 0x4972f7
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x497308
cmp al, 0x5b
jae 0x497308
sub byte [ebx + 2], 0x41
jmp 0x49733c
cmp byte [ebx + 2], 0x60
jbe 0x49731a
cmp byte [ebx + 2], 0x7b
jae 0x49731a
sub byte [ebx + 2], 0x47
jmp 0x49733c
cmp byte [ebx + 2], 0x2f
jbe 0x49732c
cmp byte [ebx + 2], 0x3a
jae 0x49732c
add byte [ebx + 2], 4
jmp 0x49733c
cmp byte [ebx + 2], 0x2b
jne 0x497338
mov byte [ebx + 2], 0x3e
jmp 0x49733c
mov byte [ebx + 2], 0x3f
mov dl, byte [ebx]
shl edx, 2
mov al, byte [ebx + 1]
xor ecx, ecx
mov cl, al
shr ecx, 4
and cl, 3
or dl, cl
mov byte [ebp - 0xf], dl
shl eax, 4
xor edx, edx
mov dl, byte [ebx + 2]
shr edx, 2
and dl, 0xf
or al, dl
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 0xf]
call fcn.00403ee8
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0xe]
call fcn.00403ee8
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00404080
jmp 0x49751b
mov al, byte [ebx]
cmp al, 0x40
jbe 0x4973a8
cmp al, 0x5b
jae 0x4973a8
sub byte [ebx], 0x41
jmp 0x4973d3
cmp byte [ebx], 0x60
jbe 0x4973b7
cmp byte [ebx], 0x7b
jae 0x4973b7
sub byte [ebx], 0x47
jmp 0x4973d3
cmp byte [ebx], 0x2f
jbe 0x4973c6
cmp byte [ebx], 0x3a
jae 0x4973c6
add byte [ebx], 4
jmp 0x4973d3
cmp byte [ebx], 0x2b
jne 0x4973d0
mov byte [ebx], 0x3e
jmp 0x4973d3
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x4973e4
cmp al, 0x5b
jae 0x4973e4
sub byte [ebx + 1], 0x41
jmp 0x497418
cmp byte [ebx + 1], 0x60
jbe 0x4973f6
cmp byte [ebx + 1], 0x7b
jae 0x4973f6
sub byte [ebx + 1], 0x47
jmp 0x497418
cmp byte [ebx + 1], 0x2f
jbe 0x497408
cmp byte [ebx + 1], 0x3a
jae 0x497408
add byte [ebx + 1], 4
jmp 0x497418
cmp byte [ebx + 1], 0x2b
jne 0x497414
mov byte [ebx + 1], 0x3e
jmp 0x497418
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x497429
cmp al, 0x5b
jae 0x497429
sub byte [ebx + 2], 0x41
jmp 0x49745d
cmp byte [ebx + 2], 0x60
jbe 0x49743b
cmp byte [ebx + 2], 0x7b
jae 0x49743b
sub byte [ebx + 2], 0x47
jmp 0x49745d
cmp byte [ebx + 2], 0x2f
jbe 0x49744d
cmp byte [ebx + 2], 0x3a
jae 0x49744d
add byte [ebx + 2], 4
jmp 0x49745d
cmp byte [ebx + 2], 0x2b
jne 0x497459
mov byte [ebx + 2], 0x3e
jmp 0x49745d
mov byte [ebx + 2], 0x3f
cmp byte [ebx + 3], 0x40
jbe 0x49746f
cmp byte [ebx + 3], 0x5b
jae 0x49746f
sub byte [ebx + 3], 0x41
jmp 0x4974a3
cmp byte [ebx + 3], 0x60
jbe 0x497481
cmp byte [ebx + 3], 0x7b
jae 0x497481
sub byte [ebx + 3], 0x47
jmp 0x4974a3
cmp byte [ebx + 3], 0x2f
jbe 0x497493
cmp byte [ebx + 3], 0x3a
jae 0x497493
add byte [ebx + 3], 4
jmp 0x4974a3
cmp byte [ebx + 3], 0x2b
jne 0x49749f
mov byte [ebx + 3], 0x3e
jmp 0x4974a3
mov byte [ebx + 3], 0x3f
mov al, byte [ebx]
shl eax, 2
xor edx, edx
mov dl, byte [ebx + 1]
shr edx, 4
and dl, 3
or al, dl
mov byte [ebp - 0xf], al
mov al, byte [ebx + 1]
shl eax, 4
xor edx, edx
mov dl, byte [ebx + 2]
shr edx, 2
and dl, 0xf
or al, dl
mov byte [ebp - 0xe], al
mov al, byte [ebx + 2]
shl eax, 6
mov dl, byte [ebx + 3]
and dl, 0x3f
or al, dl
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x20]
mov dl, byte [ebp - 0xf]
call fcn.00403ee8
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov dl, byte [ebp - 0xe]
call fcn.00403ee8
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 0xd]
call fcn.00403ee8
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49753d
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00403d64
ret