Function at 0x46cbf0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46cbf8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x46cee2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004086cc
mov edx, dword [ebp - 0x1c]
mov eax, 0x46cef8
call fcn.00404b50
test eax, eax
jle 0x46cea3
mov ebx, 1
mov edx, dword [ebp - 4]
mov eax, 0x46cf08
call fcn.00404b50
mov esi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404814
mov ecx, eax
sub ecx, esi
inc ecx
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.00404a6c
cmp ebx, 1
jne 0x46cc95
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x46cf08
call fcn.00404b50
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404a6c
jmp 0x46cca7
cmp ebx, 2
jne 0x46cca7
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.0040473c
inc ebx
cmp ebx, 4
jne 0x46cc42
mov edx, 0x46cf14
mov eax, dword [ebp - 8]
call fcn.004088e4
test al, al
je 0x46ce69
mov ebx, 1
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x5f
jne 0x46cce3
lea eax, [ebp - 0x10]
mov edx, 0x46cf20
call fcn.0040481c
jmp 0x46cd85
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x3d
jne 0x46cd6b
mov edx, 0x46cf24
lea eax, [ebp - 0x28]
call fcn.00402f2c
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00402efc
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402f2c
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00402efc
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.004047b8
mov eax, dword [ebp - 0x24]
call fcn.00408d64
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.0040473c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.0040481c
add ebx, 2
jmp 0x46cd85
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
call fcn.0040473c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.0040481c
inc ebx
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x3f
jne 0x46ccc7
mov eax, dword [ebp - 4]
cmp byte [eax + ebx], 0x3d
jne 0x46ccc7
jmp 0x46ce7a
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.0046cbd8
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 1]
call fcn.0046cbd8
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 2]
call fcn.0046cbd8
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 3]
call fcn.0046cbd8
mov byte [ebp - 0x14], al
mov dl, byte [ebp - 0x17]
shl edx, 2
mov al, byte [ebp - 0x16]
xor ecx, ecx
mov cl, al
shr ecx, 4
or dl, cl
mov byte [ebp - 0x13], dl
shl eax, 4
mov dl, byte [ebp - 0x15]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [ebp - 0x12], al
shl edx, 6
xor eax, eax
mov al, byte [ebp - 0x14]
shr eax, 0
or dl, al
mov byte [ebp - 0x11], dl
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404814
mov ecx, eax
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.00404a6c
push dword [ebp - 0x10]
lea eax, [ebp - 0x38]
mov dl, byte [ebp - 0x13]
call fcn.0040473c
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x12]
call fcn.0040473c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
mov dl, byte [ebp - 0x11]
call fcn.0040473c
push dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004048d4
mov eax, dword [ebp - 4]
call fcn.00404814
cmp eax, 4
jge 0x46cda6
mov edx, 0x46cf30
mov eax, dword [ebp - 0xc]
call fcn.004088e4
test al, al
je 0x46ce97
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.0046cf3c
jmp 0x46cead
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.004045b0
jmp 0x46cead
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004045b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cee9
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00404580
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404580
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404580
ret