Function at 0x485e80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x485e88
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 0x48646c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004041b8
xor edx, edx
push ebp
push 0x48643f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00404494
and eax, 0x80000003
jns 0x485ed3
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x485eed
mov ecx, 0x486484
mov dl, 1
mov eax, dword [0x407840]
call fcn.0040c6f8
call fcn.00403b54
mov eax, dword [ebp - 4]
call fcn.00404494
test eax, eax
jns 0x485efc
add eax, 3
sar eax, 2
dec eax
lea edx, [eax + eax*2]
mov eax, dword [ebp - 8]
call fcn.00404820
mov eax, dword [ebp - 4]
call fcn.00404494
mov edi, eax
test edi, edi
jns 0x485f1c
add edi, 3
sar edi, 2
dec edi
test edi, edi
jle 0x4860a2
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.004028d8
mov al, byte [ebx]
cmp al, 0x40
jbe 0x485f54
cmp al, 0x5b
jae 0x485f54
sub byte [ebx], 0x41
jmp 0x485f7e
mov al, byte [ebx]
cmp al, 0x60
jbe 0x485f63
cmp al, 0x7b
jae 0x485f63
sub byte [ebx], 0x47
jmp 0x485f7e
mov al, byte [ebx]
cmp al, 0x2f
jbe 0x485f72
cmp al, 0x3a
jae 0x485f72
add byte [ebx], 4
jmp 0x485f7e
cmp al, 0x2b
jne 0x485f7b
mov byte [ebx], 0x3e
jmp 0x485f7e
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x485f8f
cmp al, 0x5b
jae 0x485f8f
sub byte [ebx + 1], 0x41
jmp 0x485fbf
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x485fa0
cmp al, 0x7b
jae 0x485fa0
sub byte [ebx + 1], 0x47
jmp 0x485fbf
mov al, byte [ebx + 1]
cmp al, 0x2f
jbe 0x485fb1
cmp al, 0x3a
jae 0x485fb1
add byte [ebx + 1], 4
jmp 0x485fbf
cmp al, 0x2b
jne 0x485fbb
mov byte [ebx + 1], 0x3e
jmp 0x485fbf
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x485fd0
cmp al, 0x5b
jae 0x485fd0
sub byte [ebx + 2], 0x41
jmp 0x486000
mov al, byte [ebx + 2]
cmp al, 0x60
jbe 0x485fe1
cmp al, 0x7b
jae 0x485fe1
sub byte [ebx + 2], 0x47
jmp 0x486000
mov al, byte [ebx + 2]
cmp al, 0x2f
jbe 0x485ff2
cmp al, 0x3a
jae 0x485ff2
add byte [ebx + 2], 4
jmp 0x486000
cmp al, 0x2b
jne 0x485ffc
mov byte [ebx + 2], 0x3e
jmp 0x486000
mov byte [ebx + 2], 0x3f
mov al, byte [ebx + 3]
cmp al, 0x40
jbe 0x486011
cmp al, 0x5b
jae 0x486011
sub byte [ebx + 3], 0x41
jmp 0x486041
mov al, byte [ebx + 3]
cmp al, 0x60
jbe 0x486022
cmp al, 0x7b
jae 0x486022
sub byte [ebx + 3], 0x47
jmp 0x486041
mov al, byte [ebx + 3]
cmp al, 0x2f
jbe 0x486033
cmp al, 0x3a
jae 0x486033
add byte [ebx + 3], 4
jmp 0x486041
cmp al, 0x2b
jne 0x48603d
mov byte [ebx + 3], 0x3e
jmp 0x486041
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.004046ec
mov edx, esi
dec edx
lea edx, [edx + edx*2]
lea edx, [eax + edx]
lea eax, [ebp - 0xf]
mov ecx, 3
call fcn.004028d8
inc esi
dec edi
jne 0x485f2d
mov eax, dword [ebp - 4]
call fcn.00404494
test eax, eax
je 0x486435
mov eax, dword [ebp - 4]
call fcn.00404494
mov edx, dword [ebp - 4]
lea eax, [edx + eax - 4]
mov edx, ebx
mov ecx, 4
call fcn.004028d8
cmp byte [ebx + 2], 0x3d
jne 0x486188
mov al, byte [ebx]
cmp al, 0x40
jbe 0x4860e6
cmp al, 0x5b
jae 0x4860e6
sub byte [ebx], 0x41
jmp 0x486111
mov al, byte [ebx]
cmp al, 0x60
jbe 0x4860f5
cmp al, 0x7b
jae 0x4860f5
sub byte [ebx], 0x47
jmp 0x486111
cmp byte [ebx], 0x2f
jbe 0x486104
cmp byte [ebx], 0x3a
jae 0x486104
add byte [ebx], 4
jmp 0x486111
cmp byte [ebx], 0x2b
jne 0x48610e
mov byte [ebx], 0x3e
jmp 0x486111
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x486122
cmp al, 0x5b
jae 0x486122
sub byte [ebx + 1], 0x41
jmp 0x486155
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x486133
cmp al, 0x7b
jae 0x486133
sub byte [ebx + 1], 0x47
jmp 0x486155
cmp byte [ebx + 1], 0x2f
jbe 0x486145
cmp byte [ebx + 1], 0x3a
jae 0x486145
add byte [ebx + 1], 4
jmp 0x486155
cmp byte [ebx + 1], 0x2b
jne 0x486151
mov byte [ebx + 1], 0x3e
jmp 0x486155
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.004043a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040449c
mov eax, dword [ebp - 8]
jmp 0x486435
cmp byte [ebx + 3], 0x3d
jne 0x4862b3
mov al, byte [ebx]
cmp al, 0x40
jbe 0x4861a1
cmp al, 0x5b
jae 0x4861a1
sub byte [ebx], 0x41
jmp 0x4861cc
cmp byte [ebx], 0x60
jbe 0x4861b0
cmp byte [ebx], 0x7b
jae 0x4861b0
sub byte [ebx], 0x47
jmp 0x4861cc
cmp byte [ebx], 0x2f
jbe 0x4861bf
cmp byte [ebx], 0x3a
jae 0x4861bf
add byte [ebx], 4
jmp 0x4861cc
cmp byte [ebx], 0x2b
jne 0x4861c9
mov byte [ebx], 0x3e
jmp 0x4861cc
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x4861dd
cmp al, 0x5b
jae 0x4861dd
sub byte [ebx + 1], 0x41
jmp 0x486211
cmp byte [ebx + 1], 0x60
jbe 0x4861ef
cmp byte [ebx + 1], 0x7b
jae 0x4861ef
sub byte [ebx + 1], 0x47
jmp 0x486211
cmp byte [ebx + 1], 0x2f
jbe 0x486201
cmp byte [ebx + 1], 0x3a
jae 0x486201
add byte [ebx + 1], 4
jmp 0x486211
cmp byte [ebx + 1], 0x2b
jne 0x48620d
mov byte [ebx + 1], 0x3e
jmp 0x486211
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x486222
cmp al, 0x5b
jae 0x486222
sub byte [ebx + 2], 0x41
jmp 0x486256
cmp byte [ebx + 2], 0x60
jbe 0x486234
cmp byte [ebx + 2], 0x7b
jae 0x486234
sub byte [ebx + 2], 0x47
jmp 0x486256
cmp byte [ebx + 2], 0x2f
jbe 0x486246
cmp byte [ebx + 2], 0x3a
jae 0x486246
add byte [ebx + 2], 4
jmp 0x486256
cmp byte [ebx + 2], 0x2b
jne 0x486252
mov byte [ebx + 2], 0x3e
jmp 0x486256
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.004043a0
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0xe]
call fcn.004043a0
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00404554
jmp 0x486435
mov al, byte [ebx]
cmp al, 0x40
jbe 0x4862c2
cmp al, 0x5b
jae 0x4862c2
sub byte [ebx], 0x41
jmp 0x4862ed
cmp byte [ebx], 0x60
jbe 0x4862d1
cmp byte [ebx], 0x7b
jae 0x4862d1
sub byte [ebx], 0x47
jmp 0x4862ed
cmp byte [ebx], 0x2f
jbe 0x4862e0
cmp byte [ebx], 0x3a
jae 0x4862e0
add byte [ebx], 4
jmp 0x4862ed
cmp byte [ebx], 0x2b
jne 0x4862ea
mov byte [ebx], 0x3e
jmp 0x4862ed
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x4862fe
cmp al, 0x5b
jae 0x4862fe
sub byte [ebx + 1], 0x41
jmp 0x486332
cmp byte [ebx + 1], 0x60
jbe 0x486310
cmp byte [ebx + 1], 0x7b
jae 0x486310
sub byte [ebx + 1], 0x47
jmp 0x486332
cmp byte [ebx + 1], 0x2f
jbe 0x486322
cmp byte [ebx + 1], 0x3a
jae 0x486322
add byte [ebx + 1], 4
jmp 0x486332
cmp byte [ebx + 1], 0x2b
jne 0x48632e
mov byte [ebx + 1], 0x3e
jmp 0x486332
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x486343
cmp al, 0x5b
jae 0x486343
sub byte [ebx + 2], 0x41
jmp 0x486377
cmp byte [ebx + 2], 0x60
jbe 0x486355
cmp byte [ebx + 2], 0x7b
jae 0x486355
sub byte [ebx + 2], 0x47
jmp 0x486377
cmp byte [ebx + 2], 0x2f
jbe 0x486367
cmp byte [ebx + 2], 0x3a
jae 0x486367
add byte [ebx + 2], 4
jmp 0x486377
cmp byte [ebx + 2], 0x2b
jne 0x486373
mov byte [ebx + 2], 0x3e
jmp 0x486377
mov byte [ebx + 2], 0x3f
cmp byte [ebx + 3], 0x40
jbe 0x486389
cmp byte [ebx + 3], 0x5b
jae 0x486389
sub byte [ebx + 3], 0x41
jmp 0x4863bd
cmp byte [ebx + 3], 0x60
jbe 0x48639b
cmp byte [ebx + 3], 0x7b
jae 0x48639b
sub byte [ebx + 3], 0x47
jmp 0x4863bd
cmp byte [ebx + 3], 0x2f
jbe 0x4863ad
cmp byte [ebx + 3], 0x3a
jae 0x4863ad
add byte [ebx + 3], 4
jmp 0x4863bd
cmp byte [ebx + 3], 0x2b
jne 0x4863b9
mov byte [ebx + 3], 0x3e
jmp 0x4863bd
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.004043a0
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov dl, byte [ebp - 0xe]
call fcn.004043a0
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 0xd]
call fcn.004043a0
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.00404554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486451
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486473
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004041dc
ret